|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.ModelServiceApi
public class ModelServiceApi
API for the Model Service, which is intended to be wrapped by a Web Service or other transport and run as a server. The Model Service provides 'query' and 'update' (insert, update and delete) methods to the repository, a 'reset' method which clears the repository then populates it with the RDF passed to it and a 'replicate' method which returns the changes (deltas) to repository data since a user last replicated.
| Field Summary | |
|---|---|
static java.lang.String |
HASH_ALGORITHM
Hashing algorithm for passwords |
| Constructor Summary | |
|---|---|
ModelServiceApi(java.util.Properties properties)
Create a new ModelServiceApi with given configuration properties |
|
| Method Summary | |
|---|---|
void |
addInferredObject(java.lang.Long authenticatedUserId,
org.openrdf.model.URI prop,
org.openrdf.model.URI object,
org.openrdf.model.URI inferredObject)
Add an inferred object |
void |
addInferredObject(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI prop,
org.openrdf.model.URI object,
org.openrdf.model.URI inferredObject)
Add an inferred object |
void |
addInferredProperty(java.lang.Long authenticatedUserId,
org.openrdf.model.URI prop,
org.openrdf.model.URI inferredProperty)
Add an inferred property |
void |
addInferredProperty(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI prop,
org.openrdf.model.URI inferredProperty)
Add an inferred property |
java.lang.Long |
authenticate(java.lang.String username,
java.lang.String password)
Authenticate the username and password, and return user's ID |
java.lang.Long |
authenticate(java.lang.String username,
java.lang.String password,
RepositoryConnection connection)
Authenticate the username and password, and return user's ID |
org.openrdf.model.URI |
authenticateUser(java.lang.Long authenticatedUserId,
java.lang.String userName,
java.lang.String password)
Authenticate a username and password with server |
org.openrdf.model.URI |
authenticateUser(java.lang.String systemUser,
java.lang.String systemPassword,
java.lang.String userName,
java.lang.String password)
Authenticate a username and password with server |
void |
clearUserCacheForUser(java.lang.String username)
Clear cache about given user's password and membership in admins |
void |
close()
Close the service |
java.util.Collection<org.openrdf.model.Statement> |
findStatements(java.lang.Long authenticatedUserId,
org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource context,
boolean inference)
Find the set of statements that match the statement pattern |
void |
findStatements(java.lang.String username,
java.lang.String password,
org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource context,
java.io.OutputStream outputStream,
boolean inference)
Find the set of statements that match the statement pattern |
IAuthenticationProvider |
getAuthenticationProvider()
Get the authenticationProvider |
boolean |
getIsStarted()
Determine if the service is started |
org.openrdf.model.URI |
getMetadataGraphUri(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
Get the URI of the graph's metadata graph |
org.openrdf.model.URI |
getMetadataGraphUri(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
Get the URI of the graph's metadata graph |
INamedGraphWithMetaData |
getNamedGraphRevision(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri,
long revision)
Get the contents of a NamedGraph at a given revision |
boolean |
getNamedGraphRevision(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri,
long revision,
java.io.OutputStream resultStream)
Get the contents of a NamedGraph at a given revision |
long |
getNumberOfStoredNamedGraphs()
Get the number of stored graphs in the repository |
long |
getNumberOfStoredStatements()
Get the number of stored statements in the repository |
RepositoryConnectionPool |
getRepositoryConnectionPool()
Get the ContainerConnectionPool for this ModelServiceApi |
boolean |
getResetDatabaseEnabled()
Get if the server allows resets |
java.util.concurrent.locks.ReadWriteLock |
getResetLock()
Get the resetLock |
java.util.Set<org.openrdf.model.URI> |
getRolesForGraph(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
Get the set of roles that have permission to read the statements in this graph. |
java.util.Set<org.openrdf.model.URI> |
getRolesForGraph(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
Get the set of roles that have permission to read the statements in this graph. |
java.util.Set<org.openrdf.model.URI> |
getRolesForUser(java.lang.Long authenticatedUserId,
org.openrdf.model.URI userId)
Get the set of roles to which a user belongs. |
java.util.Set<org.openrdf.model.URI> |
getRolesForUser(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI userId)
Get the set of roles to which a user belongs. |
org.openrdf.model.URI |
getServerURI()
Get the URI for the server |
java.lang.String |
getServerURIString()
Get the server's URI |
long |
getSize(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
Return the number of triples in graph |
long |
getSize(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
Return the number of statements in the graph |
java.lang.String[] |
getStoredNamedGraphs()
Get the set of stored named graphs |
java.util.Set<org.openrdf.model.URI> |
getStoredNamedGraphs(java.lang.Long authenticatedUserId)
Get the set of NamedGraphs stored on the server that the user has permission to see |
java.util.Set<org.openrdf.model.URI> |
getStoredNamedGraphs(java.lang.String username,
java.lang.String password)
Get the set of NamedGraphs stored on the server that the user has permission to see |
boolean |
getUseHardReset()
Get if the server uses hard resets to clear database tables |
org.openrdf.model.URI |
getUserId(java.lang.String username)
Get the user's URI in the system |
org.openrdf.model.URI |
getUserId(java.lang.String username,
RepositoryConnection connection)
Get the user's URI in the system |
java.util.Set<org.openrdf.model.URI> |
getUsersForGraph(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
Get a set of users that have permission to read the statements in this graph Note:Only users in the sysAdmin role can call this method |
java.util.Set<org.openrdf.model.URI> |
getUsersForGraph(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
Get a set of users that have permission to read the statements in this graph Note:Only users in the sysAdmin role can call this method |
org.openrdf.model.URI |
getUserUri(java.lang.Long authenticatedUserId,
java.lang.String userId)
Get the URI for the given userId |
org.openrdf.model.URI |
getUserUri(java.lang.String systemUser,
java.lang.String systemPassword,
java.lang.String userId)
Get the URI for the given userId |
boolean |
isSystemUser(java.lang.Long authenticatedUserId,
RepositoryConnection repositoryConnection)
Is the given user a member of the sysAdmin role |
boolean |
isSystemUser(org.openrdf.model.URI userId,
RepositoryConnection repositoryConnection)
Is the given user a member of the sysAdmin role |
QueryResult |
query(java.lang.Long authenticatedUserId,
java.util.Set<org.openrdf.model.URI> defaultNamedGraphs,
java.util.Set<org.openrdf.model.URI> graphs,
java.lang.String queryString,
org.openrdf.model.URI baseUri)
Run query on server |
int |
query(java.lang.String username,
java.lang.String password,
java.util.Set<org.openrdf.model.URI> defaultNamedGraphs,
java.util.Set<org.openrdf.model.URI> graphs,
java.lang.String queryString,
org.openrdf.model.URI baseUri,
java.io.OutputStream outputStream)
Run query on server |
java.util.Collection<org.openrdf.model.Statement> |
queryIndex(java.lang.Long authenticatedUserId,
java.lang.String queryString,
int startIndex,
int numResults)
Run a query on the text indexer |
java.util.Collection<org.openrdf.model.Statement> |
queryIndex(java.lang.String username,
java.lang.String password,
java.lang.String queryString,
int startIndex,
int numResults)
Run a query on the text indexer |
void |
registerMBean(javax.management.MBeanServer mbServer,
javax.management.ObjectName parentObjectName)
Register the service with the server's jmx server |
java.lang.Long |
replicate(java.lang.Long authenticatedUserId,
java.util.Set<ITracker> trackers,
java.util.Set<ITracker> newTrackers,
java.lang.Long marker,
IRepositoryHandler handler)
For a given set of selector trackers serialized in RDF, finds statements that have been added and deleted since the time specified by the given marker and sends the additions and deletions to the IBocaHandler and returns the timestamp of the last transaction included in this replication |
java.lang.Long |
replicate(java.lang.String username,
java.lang.String password,
java.util.Set<ITracker> trackers,
java.util.Set<ITracker> newTrackers,
java.lang.Long marker,
java.io.OutputStream resultStream)
For a given set of selector trackers serialized in RDF, finds statements that have been added and deleted since the time specified by the given marker and writes the additions and deletions to outputstream and the timestamp of the last transaction included in this replication |
void |
reset(java.lang.Long authenticatedUserId,
java.util.Collection<org.openrdf.model.Statement> statements)
Removes all existing RDF from the repository and replaces it with the RDF in the graph |
void |
reset(java.lang.String username,
java.lang.String password,
java.io.InputStream stream)
Removes all existing RDF from the repository and replaces it with the RDF in the stream. |
void |
resetDatabase()
Removes all existing RDF from the repository and replaces it with the default data |
java.lang.Long |
runAsUser(org.openrdf.model.URI username,
java.lang.Long serviceId,
RepositoryConnection repositoryConnection)
Run server operations as a given user. |
void |
setResetDatabaseEnabled(boolean resetEnabled)
Set whether the server allows resets |
void |
setUseHardReset(boolean hardReset)
Set whether or not the server uses hard resets to clear database tables |
void |
start()
Start the service |
void |
stop()
Stop the service |
UpdateResults |
update(java.lang.Long authenticatedUserId,
ITransaction[] transactions)
Update the server with changes |
UpdateResults |
update(java.lang.String username,
java.lang.String password,
java.io.InputStream stream,
boolean returnResults,
java.io.OutputStream outputStream)
Update the server with changes |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HASH_ALGORITHM
| Constructor Detail |
|---|
public ModelServiceApi(java.util.Properties properties)
throws AnzoException
properties - Configuration properties
AnzoException| Method Detail |
|---|
public void registerMBean(javax.management.MBeanServer mbServer,
javax.management.ObjectName parentObjectName)
IServerService
registerMBean in interface IServerServicembServer - the jmx serverparentObjectName - the name under which this object will be registeredpublic void start()
IServerService
start in interface IServerServicestart in interface IServerServiceMBeanpublic void stop()
IServerService
stop in interface IServerServicestop in interface IServerServiceMBean
public void close()
throws AnzoException
IServerService
close in interface IServerServiceAnzoException
public boolean getIsStarted()
throws AnzoException
IServerService
getIsStarted in interface IServerServicegetIsStarted in interface IServerServiceMBeanAnzoException
public void reset(java.lang.String username,
java.lang.String password,
java.io.InputStream stream)
throws AnzoException
username - Username of user trying to execute resetpassword - Password of user trying to execute resetstream - Stream containing new system graph contents
AnzoException
AnzoException
public void reset(java.lang.Long authenticatedUserId,
java.util.Collection<org.openrdf.model.Statement> statements)
throws AnzoException
authenticatedUserId - ID of authenticated userstatements - New contents for system graph
AnzoException
AnzoExceptionpublic void resetDatabase()
resetDatabase in interface ModelServiceApiMBean
public long getSize(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
authenticatedUserId - id of authenticated user for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public long getSize(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
username - User for this sessionpassword - Password for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public java.util.Set<org.openrdf.model.URI> getUsersForGraph(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
username - User for this sessionpassword - Password for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public java.util.Set<org.openrdf.model.URI> getUsersForGraph(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public java.util.Set<org.openrdf.model.URI> getRolesForUser(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI userId)
throws AnzoException
username - User for this sessionpassword - Password for this sessionuserId - URI of user
AnzoException
public java.util.Set<org.openrdf.model.URI> getRolesForUser(java.lang.Long authenticatedUserId,
org.openrdf.model.URI userId)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionuserId - URI of user
AnzoException
public java.util.Set<org.openrdf.model.URI> getRolesForGraph(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
username - User for this sessionpassword - Password for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public java.util.Set<org.openrdf.model.URI> getRolesForGraph(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionnamedGraphUri - URI of NamedGraph
AnzoException
public org.openrdf.model.URI authenticateUser(java.lang.String systemUser,
java.lang.String systemPassword,
java.lang.String userName,
java.lang.String password)
throws AnzoException
systemUser - Username of user running authentication callsystemPassword - Password of user running authentication calluserName - Username to authenticatepassword - Password to authenticate
AnzoException
public org.openrdf.model.URI authenticateUser(java.lang.Long authenticatedUserId,
java.lang.String userName,
java.lang.String password)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionuserName - Username to authenticatepassword - Password to authenticate
AnzoException
public org.openrdf.model.URI getUserUri(java.lang.String systemUser,
java.lang.String systemPassword,
java.lang.String userId)
throws AnzoException
systemUser - Username of user running authentication callsystemPassword - Password of user running authentication calluserId - userId to find
AnzoException
public org.openrdf.model.URI getUserUri(java.lang.Long authenticatedUserId,
java.lang.String userId)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionuserId - userId to find
AnzoException
public java.util.Set<org.openrdf.model.URI> getStoredNamedGraphs(java.lang.String username,
java.lang.String password)
throws AnzoException
username - User for this sessionpassword - Password for this session
AnzoException
public java.util.Set<org.openrdf.model.URI> getStoredNamedGraphs(java.lang.Long authenticatedUserId)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this session
AnzoException
public org.openrdf.model.URI getMetadataGraphUri(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public org.openrdf.model.URI getMetadataGraphUri(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri)
throws AnzoException
username - User for this sessionpassword - Password for this sessionnamedGraphUri - URI of namedgraph
AnzoException
public UpdateResults update(java.lang.String username,
java.lang.String password,
java.io.InputStream stream,
boolean returnResults,
java.io.OutputStream outputStream)
throws AnzoException
username - User for this sessionpassword - Password for this sessionstream - Stream containing changesreturnResults - Return results of update to calleroutputStream - Outputstream to which results are written
AnzoException
public UpdateResults update(java.lang.Long authenticatedUserId,
ITransaction[] transactions)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessiontransactions - Set of ITransactions to commit on server
AnzoException
public java.util.Collection<org.openrdf.model.Statement> findStatements(java.lang.Long authenticatedUserId,
org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource context,
boolean inference)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionsubj - Subject resource to match, or wildcard if nullpred - Predicate uri to match, or wildcard if nullobj - Object value to match, or wildcard if nullcontext - Context values to match, or wildcard if nullinference - should results include inferred statements
AnzoException
public void findStatements(java.lang.String username,
java.lang.String password,
org.openrdf.model.Resource subj,
org.openrdf.model.URI pred,
org.openrdf.model.Value obj,
org.openrdf.model.Resource context,
java.io.OutputStream outputStream,
boolean inference)
throws AnzoException
username - User for this sessionpassword - Password for this sessionsubj - Subject resource to match, or wildcard if nullpred - Predicate uri to match, or wildcard if nullobj - Object value to match, or wildcard if nullcontext - Context values to match, or wildcard if nulloutputStream - outputStream to which results are writteninference - should results include inferred statements *
AnzoException
public int query(java.lang.String username,
java.lang.String password,
java.util.Set<org.openrdf.model.URI> defaultNamedGraphs,
java.util.Set<org.openrdf.model.URI> graphs,
java.lang.String queryString,
org.openrdf.model.URI baseUri,
java.io.OutputStream outputStream)
throws AnzoException
username - User for this sessionpassword - Password for this sessiondefaultNamedGraphs - Set of NamedGraph URIs that make up the dataset's default setgraphs - Set of NamedGraph URIs that make up dataset's NamedGraph setqueryString - Query string to executebaseUri - Base URI for resolving relative URIs in the query. May be null.outputStream - outputStream to which results are written
AnzoException
public QueryResult query(java.lang.Long authenticatedUserId,
java.util.Set<org.openrdf.model.URI> defaultNamedGraphs,
java.util.Set<org.openrdf.model.URI> graphs,
java.lang.String queryString,
org.openrdf.model.URI baseUri)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessiondefaultNamedGraphs - Set of NamedGraph URIs that make up the dataset's default setgraphs - Set of NamedGraph URIs that make up dataset's NamedGraph setqueryString - Query string to executebaseUri - Base URI for resolving relative URIs in the query. May be null.
AnzoException
public java.lang.Long replicate(java.lang.String username,
java.lang.String password,
java.util.Set<ITracker> trackers,
java.util.Set<ITracker> newTrackers,
java.lang.Long marker,
java.io.OutputStream resultStream)
throws AnzoException
username - User for this sessionpassword - Password for this sessiontrackers - Set of existing selector trackers.newTrackers - Set of new selector trackers.marker - Time of last replicationresultStream - OutputStream to which results are written
AnzoException
public java.lang.Long replicate(java.lang.Long authenticatedUserId,
java.util.Set<ITracker> trackers,
java.util.Set<ITracker> newTrackers,
java.lang.Long marker,
IRepositoryHandler handler)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessiontrackers - Set of existing selector trackers.newTrackers - Set of new selector trackers.marker - Time of last replicationhandler - IBocaHandler to handle results of replication
AnzoException
public java.util.Collection<org.openrdf.model.Statement> queryIndex(java.lang.String username,
java.lang.String password,
java.lang.String queryString,
int startIndex,
int numResults)
throws AnzoException
username - User for this sessionpassword - Password for this sessionqueryString - String containing query textstartIndex - offset into query results to returnnumResults - the number of query results to return
AnzoException
public java.util.Collection<org.openrdf.model.Statement> queryIndex(java.lang.Long authenticatedUserId,
java.lang.String queryString,
int startIndex,
int numResults)
throws AnzoException
authenticatedUserId - Userid of authenticated user for this sessionqueryString - String containing query textstartIndex - offset into query results to returnnumResults - the number of query results to return
AnzoException
public java.lang.Long authenticate(java.lang.String username,
java.lang.String password)
username - User for this sessionpassword - Password for this session
public java.lang.Long authenticate(java.lang.String username,
java.lang.String password,
RepositoryConnection connection)
username - User for this sessionpassword - Password for this sessionconnection - RepositoryConnection to run query against
public org.openrdf.model.URI getUserId(java.lang.String username)
username - The user's ID
public org.openrdf.model.URI getUserId(java.lang.String username,
RepositoryConnection connection)
username - The user's IDconnection - RepositoryConnection to run query against
public java.lang.Long runAsUser(org.openrdf.model.URI username,
java.lang.Long serviceId,
RepositoryConnection repositoryConnection)
throws AnzoException
username - User to run service asserviceId - userid of the authenticated user for this sessionrepositoryConnection - RepositoryConnection to run queries against
AnzoException
public boolean isSystemUser(org.openrdf.model.URI userId,
RepositoryConnection repositoryConnection)
throws AnzoException
userId - User to verify membership in sysadmin rolerepositoryConnection - RepositoryConnection to run queries against
AnzoException
public boolean isSystemUser(java.lang.Long authenticatedUserId,
RepositoryConnection repositoryConnection)
throws AnzoException
authenticatedUserId - verify the ids membership in sysadmin rolerepositoryConnection - RepositoryConnection to run queries against
AnzoException
public INamedGraphWithMetaData getNamedGraphRevision(java.lang.Long authenticatedUserId,
org.openrdf.model.URI namedGraphUri,
long revision)
throws AnzoException
authenticatedUserId - userId of authenticated user for this sessionnamedGraphUri - URI of namedgraphNoderevision - Revision of NamedGraph to retrieve
AnzoException
public boolean getNamedGraphRevision(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI namedGraphUri,
long revision,
java.io.OutputStream resultStream)
throws AnzoException
username - User for this sessionpassword - Password for this sessionnamedGraphUri - URI of namedgraphrevision - Revision of NamedGraph to retrieveresultStream - Outputstream to which results are written
AnzoException
public void addInferredObject(java.lang.Long authenticatedUserId,
org.openrdf.model.URI prop,
org.openrdf.model.URI object,
org.openrdf.model.URI inferredObject)
throws AnzoException
authenticatedUserId - authenticated user idprop - property to addobject - object to addinferredObject - inferred object to add
AnzoException
public void addInferredObject(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI prop,
org.openrdf.model.URI object,
org.openrdf.model.URI inferredObject)
throws AnzoException
username - User for this sessionpassword - Password for this sessionprop - property to addobject - object to addinferredObject - inferred object to add
AnzoException
public void addInferredProperty(java.lang.Long authenticatedUserId,
org.openrdf.model.URI prop,
org.openrdf.model.URI inferredProperty)
throws AnzoException
authenticatedUserId - authenticated user idprop - property to addinferredProperty - inferred property to add
AnzoException
public void addInferredProperty(java.lang.String username,
java.lang.String password,
org.openrdf.model.URI prop,
org.openrdf.model.URI inferredProperty)
throws AnzoException
username - User for this sessionpassword - Password for this sessionprop - property to addinferredProperty - inferred property to add
AnzoExceptionpublic RepositoryConnectionPool getRepositoryConnectionPool()
public void clearUserCacheForUser(java.lang.String username)
username - User for this sessionpublic java.lang.String[] getStoredNamedGraphs()
ModelServiceApiMBean
getStoredNamedGraphs in interface ModelServiceApiMBeanpublic long getNumberOfStoredNamedGraphs()
ModelServiceApiMBean
getNumberOfStoredNamedGraphs in interface ModelServiceApiMBeanpublic long getNumberOfStoredStatements()
ModelServiceApiMBean
getNumberOfStoredStatements in interface ModelServiceApiMBeanpublic org.openrdf.model.URI getServerURI()
public java.lang.String getServerURIString()
ModelServiceApiMBean
getServerURIString in interface ModelServiceApiMBeanpublic boolean getResetDatabaseEnabled()
getResetDatabaseEnabled in interface ModelServiceApiMBeanpublic void setResetDatabaseEnabled(boolean resetEnabled)
setResetDatabaseEnabled in interface ModelServiceApiMBeanresetEnabled - whether the server allows resetspublic boolean getUseHardReset()
getUseHardReset in interface ModelServiceApiMBeanpublic void setUseHardReset(boolean hardReset)
setUseHardReset in interface ModelServiceApiMBeanhardReset - whether or not the server uses hard resets to clear database tablespublic IAuthenticationProvider getAuthenticationProvider()
public java.util.concurrent.locks.ReadWriteLock getResetLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||