|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
ServicesInterface - The interface that allows access to Sesame via RMI.
FactoryInterfaceImpl| Method Summary | |
int |
addDataFromUrl(String dataUrl,
String baseURL)
Deprecated. Adds RDF(s) given URL of the RDF(s) document and a base URL. |
String |
branchState(long stateUID)
Deprecated. branch the repository at given state for further operations. |
boolean |
clearRepository()
Deprecated. Clears the repository. |
void |
continueCounterIncrement()
Deprecated. Coninue with the normal increment of the update counter on each modification made in the repository. |
String[][] |
evalRdqlQuery(String query)
Deprecated. Evaluates an RDQL query |
String[][] |
evalRqlQuery(String query)
Deprecated. Evaluates an RQL Query. |
String |
extractRDF(boolean ontology,
boolean instances,
boolean explicit)
Deprecated. Extracts the ontology or/and instances from the repository. |
Vector |
getClasses()
Deprecated. Retrieve a list of the defined classes in the repository |
Vector |
getDirectSubClassOf(String subClass,
String superClass)
Deprecated. Retrieve a list of the direct subclasses of a class |
Vector |
getDirectSubPropertyOf(String subProperty,
String superProperty)
Deprecated. Retrieve a list of the direct subproperties of a property |
Vector |
getDirectType(String anInstance,
String aClass)
Deprecated. Retrieve a list of URIs of an instances about specific class |
Vector |
getExplicitStatements(String subj,
String pred,
String obj,
boolean objIsLiteral)
Deprecated. Retrive a list of the explicit statemnets from the repository. |
Map |
getMetaInfo(String subj,
String pred,
String obj)
Deprecated. |
Vector |
getProperties()
Deprecated. Retrieve a list of the defined properties in the repository |
String |
getRepositoryTitle(String repositoryId)
Deprecated. |
Vector |
getStatements(String subj,
String pred,
String obj,
boolean objIsLiteral)
Deprecated. Retrive a list of the statemnets from the repository. |
Vector |
getSubClassOf(String subClass,
String superClass)
Deprecated. Retrieve a list of the subclasses of a class |
Vector |
getSubPropertyOf(String subProperty,
String superProperty)
Deprecated. Retrieve a list of the subproperties of a property |
Vector |
getType(String anInstance,
String aClass)
Deprecated. Retrieve a list of URIs of an instances about specific class |
Vector |
getUpdateIds()
Deprecated. Retrive list of all Updates of the repository. |
Map |
getUpdateMetaInfo(String updateId)
Deprecated. |
Vector |
getVersionIds()
Deprecated. |
Map |
getVersionMetaInfo(String versionId)
Deprecated. |
Vector |
getVersions()
Deprecated. Retrive list of all labeled states of the repository. |
boolean |
hasExplicitStatement(String subj,
String pred,
String obj,
boolean objIsLiteral)
Deprecated. Query the repository for particular explicit statement |
boolean |
hasStatement(String subj,
String pred,
String obj,
boolean objIsLiteral)
Deprecated. Query the repository for particular statement |
boolean |
isClass(String resource)
Deprecated. Check if an URI is a class |
boolean |
isDirectSubClassOf(String subClass,
String superClass)
Deprecated. Query for direct subsumption of two classes |
boolean |
isDirectSubPropertyOf(String subProperty,
String superProperty)
Deprecated. Query for direct subsumption of two properties. |
boolean |
isDirectType(String anInstance,
String aClass)
Deprecated. Check if an URI is a direct instance of a class |
boolean |
isPausedCounterIncrement()
Deprecated. Check if the update couter ss paused |
boolean |
isProperty(String resource)
Deprecated. Check if an URI is a property |
boolean |
isSubClassOf(String subClass,
String superClass)
Deprecated. Query for subsumption of two classes |
boolean |
isSubPropertyOf(String subProperty,
String superProperty)
Deprecated. Query for subsumption of two properties. |
boolean |
isType(String anInstance,
String aClass)
Deprecated. Check if an URI is an instance of a class |
void |
labelCurrentState(String label)
Deprecated. Create a labeled version of the curent repository state. |
void |
labelState(long stateUID,
String label)
Deprecated. Create a labeled version for a statte of the repository assigning the necessary mata-information about thet operation. |
String[] |
listRepositories()
Deprecated. Lists all the repositories. |
boolean |
login(String userID,
String pass)
Deprecated. Logs in given a user and a password |
void |
pauseCounterIncrement()
Deprecated. Stop the increment of the update counter. |
int |
removeStatements(String subjURI,
String predURI,
String objURI,
boolean bObjectIsLiteral)
Deprecated. Removes statements. |
void |
revertToState(long stateUID)
Deprecated. Restore the repository to previous state removing all statements added after the value of the update counter and revive all remover ones. |
boolean |
selectRepository(String repos)
Deprecated. Selects a repository to work with. |
int |
uploadData(String data,
String baseURL)
Deprecated. Uploads RDF(s) in Sesame. |
void |
workWithState(long stateUID)
Deprecated. Sets the repository to given statete for further read operations. |
| Method Detail |
public int uploadData(String data,
String baseURL)
throws RemoteException
data - the RDF(s) in a XML formbaseURL - the base url for the imported data
RemoteException
public int addDataFromUrl(String dataUrl,
String baseURL)
throws RemoteException
dataUrl - the URL of the RDF(s) to be importedbaseURL - the base url for the imported data,
if it is not specified then the dataUrl is used as a base.
RemoteException
public boolean clearRepository()
throws RemoteException
RemoteException
public int removeStatements(String subjURI,
String predURI,
String objURI,
boolean bObjectIsLiteral)
throws RemoteException
subjURI - the URI of the subjectpredURI - the URI of the predicateobjURI - the URI of the objectbObjectIsLiteral - indicates whether the object is a Literal.
RemoteException
public String[][] evalRqlQuery(String query)
throws RemoteException
query - the query to be evaluated
RemoteException
public String[][] evalRdqlQuery(String query)
throws RemoteException
query - the query to be evaluated
RemoteException
public String extractRDF(boolean ontology,
boolean instances,
boolean explicit)
throws RemoteException
ontology - whether to include the ontology(i.e. schema) in the resultinstances - whether to include the instances in the result.
RemoteException
public String[] listRepositories()
throws RemoteException
RemoteException
public boolean selectRepository(String repos)
throws RemoteException
repos - repository ID
RemoteException
public boolean login(String userID,
String pass)
throws RemoteException
userID - the id of the userpass - the password
RemoteException
public void labelState(long stateUID,
String label)
throws RemoteException
stateUID - the update counetr of a particular repository statelabel - the label to be set for this state
NOTE: This method can throw a security exception if the request is made on
behalf of the user with insufficent rights to create versions
RemoteException
public void labelCurrentState(String label)
throws RemoteException
RemoteException
public void revertToState(long stateUID)
throws RemoteException
stateUID - the update counter of a particular repository state
NOTE: This method can throw an exception if the request is made on
behalf of an user with insufficent rights to revert the repository
RemoteException
public void workWithState(long stateUID)
throws RemoteException
stateUID - the update counter of a particular repository state
RemoteException
public String branchState(long stateUID)
throws RemoteException
stateUID - the update counter of a particular repository state
RemoteException
public Vector getVersions()
throws RemoteException
RemoteException
public Vector getUpdateIds()
throws RemoteException
RemoteException
public void pauseCounterIncrement()
throws RemoteException
RemoteException
public void continueCounterIncrement()
throws RemoteException
RemoteException
public boolean isPausedCounterIncrement()
throws RemoteException
RemoteException
public Vector getVersionIds()
throws RemoteException
RemoteException
public Map getMetaInfo(String subj,
String pred,
String obj)
throws RemoteException
RemoteException
public Map getVersionMetaInfo(String versionId)
throws RemoteException
RemoteException
public Map getUpdateMetaInfo(String updateId)
throws RemoteException
RemoteException
public Vector getClasses()
throws RemoteException
RemoteException
public Vector getType(String anInstance,
String aClass)
throws RemoteException
aClass - Class to explore
RemoteException
public Vector getDirectType(String anInstance,
String aClass)
throws RemoteException
aClass - Class to explore
RemoteException
public Vector getProperties()
throws RemoteException
RemoteException
public Vector getStatements(String subj,
String pred,
String obj,
boolean objIsLiteral)
throws RemoteException
subj - URI of the subject, The null means that the subject does not mather
and the statement will be included regarding on the match of its other
componets(predicate, object, or is it an explicit one)pred - URI of the predicate. Tha same rule for the null value is validobj - URI of the object. Tha same rule for the null value is validobjIsLiteral - indicating the the URI of the object is actually an Literal not an
Resource URI.
RemoteException
public Vector getExplicitStatements(String subj,
String pred,
String obj,
boolean objIsLiteral)
throws RemoteException
subj - URI of the subject, The null means that the subject does not mather
and the statement will be included regarding on the match of its other
componets(predicate, object, or is it an explicit one)pred - URI of the predicate. Tha same rule for the null value is validobj - URI of the object. Tha same rule for the null value is validobjIsLiteral - indicating the the URI of the object is actually an Literal not an
Resource URI.
RemoteException
public boolean hasStatement(String subj,
String pred,
String obj,
boolean objIsLiteral)
throws RemoteException
subj - URI of Subjectpred - URI of Predicateobj - URI of ObjectobjIsLiteral - flag indicationg the object URI is actuallt a Literal
RemoteException
public boolean hasExplicitStatement(String subj,
String pred,
String obj,
boolean objIsLiteral)
throws RemoteException
subj - URI of Subjectpred - URI of Predicateobj - URI of ObjectobjIsLiteral - flag indicationg the object URI is actuallt a Literal
RemoteException
public Vector getSubClassOf(String subClass,
String superClass)
throws RemoteException
subClass - URI of the subclasssuperClass - URI of the superclass
RemoteException
public Vector getDirectSubClassOf(String subClass,
String superClass)
throws RemoteException
subClass - URI of the subclasssuperClass - URI of the superclass
RemoteException
public Vector getSubPropertyOf(String subProperty,
String superProperty)
throws RemoteException
subProperty - URI of the subpropertysuperProperty - URI of the superproperty
RemoteException
public Vector getDirectSubPropertyOf(String subProperty,
String superProperty)
throws RemoteException
subProperty - URI of the subpropertysuperProperty - URI of the superproperty
RemoteException
public boolean isClass(String resource)
throws RemoteException
resource - URI to check
RemoteException
public boolean isProperty(String resource)
throws RemoteException
resource - URI to check
RemoteException
public boolean isType(String anInstance,
String aClass)
throws RemoteException
anInstance - URI of the instance to checkaClass - URI of the class to check for
RemoteException
public boolean isDirectType(String anInstance,
String aClass)
throws RemoteException
anInstance - URI of the instance to checkaClass - URI of the class to check for
RemoteException
public boolean isSubClassOf(String subClass,
String superClass)
throws RemoteException
subClass - URI of the subClasssuperClass - URI of the superClass
RemoteException
public boolean isDirectSubClassOf(String subClass,
String superClass)
throws RemoteException
subClass - URI of the subClasssuperClass - URI of the superClass
RemoteException
public boolean isSubPropertyOf(String subProperty,
String superProperty)
throws RemoteException
subProperty - URI of the subPropertysuperProperty - URI of the superProperty
RemoteException
public boolean isDirectSubPropertyOf(String subProperty,
String superProperty)
throws RemoteException
subProperty - URI of the subPropertysuperProperty - URI of the superProperty
RemoteException
public String getRepositoryTitle(String repositoryId)
throws RemoteException
RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||