Modifier and Type | Method and Description |
---|---|
protected void |
TupleAndGraphQueryEvaluator.evaluateGraphQuery(QueryLanguage queryLn,
String queryString) |
protected void |
TupleAndGraphQueryEvaluator.evaluateTupleQuery(QueryLanguage queryLn,
String queryString) |
protected boolean |
LockRemover.tryToRemoveLock(Repository repo) |
Modifier and Type | Method and Description |
---|---|
void |
SesameHTTPClient.clearNamespaces() |
void |
SesameHTTPClient.deleteRepository(String repositoryID) |
protected BackgroundTupleResult |
HTTPClient.getBackgroundTupleQueryResult(org.apache.commons.httpclient.HttpMethod method)
Parse the response in a background thread.
|
protected boolean |
HTTPClient.getBoolean(org.apache.commons.httpclient.HttpMethodBase method)
Parse the response in this thread using a suitable
BooleanQueryResultParser . |
TupleQueryResult |
SesameHTTPClient.getContextIDs() |
void |
SesameHTTPClient.getContextIDs(TupleQueryResultHandler handler) |
protected ErrorInfo |
HTTPClient.getErrorInfo(org.apache.commons.httpclient.HttpMethod method) |
String |
SesameHTTPClient.getNamespace(String prefix) |
TupleQueryResult |
SesameHTTPClient.getNamespaces() |
void |
SesameHTTPClient.getNamespaces(TupleQueryResultHandler handler) |
protected void |
HTTPClient.getRDF(org.apache.commons.httpclient.HttpMethod method,
RDFHandler handler,
boolean requireContext)
Parse the response in this thread using the provided
RDFHandler . |
protected BackgroundGraphResult |
HTTPClient.getRDFBackground(org.apache.commons.httpclient.HttpMethodBase method,
boolean requireContext)
Parse the response in a background thread.
|
TupleQueryResult |
SesameHTTPClient.getRepositoryList() |
void |
SesameHTTPClient.getRepositoryList(TupleQueryResultHandler handler) |
String |
SesameHTTPClient.getServerProtocol() |
void |
SesameHTTPClient.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
protected void |
HTTPClient.getTupleQueryResult(org.apache.commons.httpclient.HttpMethod method,
TupleQueryResultHandler handler)
Parse the response in this thread using the provided
TupleQueryResultHandler . |
void |
SesameHTTPClient.removeNamespacePrefix(String prefix) |
boolean |
HTTPClient.sendBooleanQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
boolean |
HTTPClient.sendBooleanQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
GraphQueryResult |
HTTPClient.sendGraphQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
void |
HTTPClient.sendGraphQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
RDFHandler handler,
Binding... bindings) |
GraphQueryResult |
HTTPClient.sendGraphQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
void |
HTTPClient.sendGraphQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
RDFHandler handler,
Binding... bindings) |
void |
SesameHTTPClient.sendTransaction(Iterable<? extends TransactionOperation> txn) |
TupleQueryResult |
HTTPClient.sendTupleQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
TupleQueryResult |
HTTPClient.sendTupleQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
void |
HTTPClient.sendTupleQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
TupleQueryResultHandler handler,
Binding... bindings) |
void |
HTTPClient.sendUpdate(QueryLanguage ql,
String update,
String baseURI,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
void |
SesameHTTPClient.setNamespacePrefix(String prefix,
String name) |
long |
SesameHTTPClient.size(Resource... contexts) |
void |
SesameHTTPClient.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
Resource... contexts) |
void |
SesameHTTPClient.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
Resource... contexts) |
protected void |
SesameHTTPClient.upload(org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
Resource... contexts) |
Modifier and Type | Class and Description |
---|---|
class |
UnauthorizedException |
Modifier and Type | Method and Description |
---|---|
void |
TransactionOperation.execute(RepositoryConnection con)
Executes this operation on the supplied connection.
|
void |
SetNamespaceOperation.execute(RepositoryConnection con) |
void |
SPARQLUpdateOperation.execute(RepositoryConnection con) |
void |
RemoveStatementsOperation.execute(RepositoryConnection con) |
void |
RemoveNamespaceOperation.execute(RepositoryConnection con) |
void |
ClearOperation.execute(RepositoryConnection con) |
void |
ClearNamespacesOperation.execute(RepositoryConnection con) |
void |
AddStatementOperation.execute(RepositoryConnection con) |
Modifier and Type | Method and Description |
---|---|
protected RepositoryConnection |
SPARQLFederatedService.getConnection() |
FederatedService |
FederatedServiceManager.getService(String serviceUrl)
Retrieve the
FederatedService registered for serviceUrl. |
void |
SPARQLFederatedService.initialize() |
void |
FederatedService.initialize()
Method to perform any initializations, invoked after construction.
|
void |
SPARQLFederatedService.shutdown() |
void |
FederatedService.shutdown()
Method to perform any shutDown code, invoked at unregistering.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SPARQLUpdateTest.loadDataset(String datasetFile) |
protected void |
ComplexSPARQLQueryTest.loadTestData(String dataFile,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected static String |
SPARQLUpdateConformanceTest.getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL) |
protected static String |
SPARQLQueryTest.getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL) |
Modifier and Type | Class and Description |
---|---|
class |
RepositoryLockedException
Indicates that a Repository cannot be initialised because the configured
persisted location is locked.
|
class |
RepositoryReadOnlyException
Indicates that the current write operation did not succeed because the SAIL
cannot be written to, it can only be read from.
|
class |
UnknownTransactionStateException
A specific subtype of
RepositoryException that indicates the
connection's transaction state can not be determined. |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the
repository.
|
void |
RepositoryConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an InputStream to the repository, optionally to one or
more named contexts.
|
void |
RepositoryConnection.add(Iterable<? extends Statement> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more
named contexts.
|
<E extends Exception> |
RepositoryConnection.add(Iteration<? extends Statement,E> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from a Reader to the repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Adds a statement with the specified subject, predicate and object to this
repository, optionally to one or more named contexts.
|
void |
RepositoryConnection.add(Statement st,
Resource... contexts)
Adds the supplied statement to this repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds the RDF data that can be found at the specified URL to the
repository, optionally to one or more named contexts.
|
<C extends Collection<T>> |
RepositoryResult.addTo(C collection)
Deprecated.
Use
Iterations.addAll(Iteration, Collection) instead. |
List<T> |
RepositoryResult.asList()
Deprecated.
Use
Iterations.asList(Iteration) instead. |
void |
RepositoryConnection.begin()
Begins a transaction requiring
RepositoryConnection.commit() or RepositoryConnection.rollback() to
be called to end the transaction. |
void |
RepositoryConnection.clear(Resource... contexts)
Removes all statements from a specific contexts in the repository.
|
void |
RepositoryConnection.clearNamespaces()
Removes all namespace declarations from the repository.
|
void |
RepositoryConnection.close()
Closes the connection, freeing resources.
|
void |
RepositoryConnection.commit()
Commits the active transaction.
|
void |
RepositoryResult.enableDuplicateFilter()
Switches on duplicate filtering while iterating over objects.
|
void |
RepositoryConnection.export(RDFHandler handler,
Resource... contexts)
Exports all explicit statements in the specified contexts to the supplied
RDFHandler.
|
void |
RepositoryConnection.exportStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts)
Exports all statements with a specific subject, predicate and/or object
from the repository, optionally from the specified contexts.
|
RepositoryConnection |
Repository.getConnection()
Opens a connection to this repository that can be used for querying and
updating the contents of the repository.
|
RepositoryResult<Resource> |
RepositoryConnection.getContextIDs()
Gets all resources that are used as content identifiers.
|
RepositoryConnection |
DelegatingRepositoryConnection.getDelegate() |
String |
RepositoryConnection.getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix, if any.
|
RepositoryResult<Namespace> |
RepositoryConnection.getNamespaces()
Gets all declared namespaces as a RepositoryResult of
Namespace
objects. |
RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
protected void |
RepositoryResult.handleClose() |
boolean |
RepositoryResult.hasNext() |
boolean |
RepositoryConnection.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Checks whether the repository contains statements with a specific subject,
predicate and/or object, optionally in the specified contexts.
|
boolean |
RepositoryConnection.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts)
Checks whether the repository contains the specified statement, optionally
in the specified contexts.
|
void |
Repository.initialize()
Initializes this repository.
|
boolean |
RepositoryConnection.isActive()
Indicates if a transaction is currently active on the connection.
|
boolean |
RepositoryConnection.isAutoCommit()
Deprecated.
since release 2.7.0. Use
RepositoryConnection.isActive() instead. |
boolean |
RepositoryConnection.isEmpty()
Returns true if this repository does not contain any (explicit)
statements.
|
boolean |
RepositoryConnection.isOpen()
Checks whether this connection is open.
|
boolean |
Repository.isWritable()
Checks whether this repository is writable, i.e.
|
T |
RepositoryResult.next() |
BooleanQuery |
RepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query)
Prepares true/false queries.
|
BooleanQuery |
RepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares true/false queries.
|
GraphQuery |
RepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query)
Prepares queries that produce RDF graphs.
|
GraphQuery |
RepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares queries that produce RDF graphs.
|
Query |
RepositoryConnection.prepareQuery(QueryLanguage ql,
String query)
Prepares a query for evaluation on this repository (optional operation).
|
Query |
RepositoryConnection.prepareQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares a query for evaluation on this repository (optional operation).
|
TupleQuery |
RepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query)
Prepares a query that produces sets of value tuples.
|
TupleQuery |
RepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares a query that produces sets of value tuples.
|
Update |
RepositoryConnection.prepareUpdate(QueryLanguage ql,
String update)
Prepares an Update operation.
|
Update |
RepositoryConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI)
Prepares an Update operation.
|
void |
RepositoryResult.remove() |
void |
RepositoryConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts)
Removes the supplied statements from the specified contexts in this
repository.
|
<E extends Exception> |
RepositoryConnection.remove(Iteration<? extends Statement,E> statements,
Resource... contexts)
Removes the supplied statements from a specific context in this
repository, ignoring any context information carried by the statements
themselves.
|
void |
RepositoryConnection.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Removes the statement(s) with the specified subject, predicate and object
from the repository, optionally restricted to the specified contexts.
|
void |
RepositoryConnection.remove(Statement st,
Resource... contexts)
Removes the supplied statement from the specified contexts in the
repository.
|
void |
RepositoryConnection.removeNamespace(String prefix)
Removes a namespace declaration by removing the association between a
prefix and a namespace name.
|
void |
RepositoryConnection.rollback()
Rolls back all updates in the active transaction.
|
void |
RepositoryConnection.setAutoCommit(boolean autoCommit)
Deprecated.
As of release 2.7.0, use
RepositoryConnection.begin() instead. |
void |
RepositoryConnection.setNamespace(String prefix,
String name)
Sets the prefix for a namespace.
|
void |
Repository.shutDown()
Shuts the repository down, releasing any resources that it keeps hold of.
|
long |
RepositoryConnection.size(Resource... contexts)
Returns the number of (explicit) statements that are in the specified
contexts in this repository.
|
void |
RepositoryConnectionTest.testRecoverFromParseError() |
Constructor and Description |
---|
RepositoryResult(CloseableIteration<? extends T,RepositoryException> iter) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionWrapper.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
RepositoryConnectionBase.add(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionBase.add(Iteration<? extends Statement,E> statements,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionBase.add(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Statement st,
Resource... contexts) |
void |
RepositoryConnectionBase.add(Statement st,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
protected void |
RepositoryConnectionWrapper.addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
protected abstract void |
RepositoryConnectionBase.addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
protected void |
RepositoryConnectionBase.addWithoutCommit(Statement st,
Resource... contexts) |
void |
RepositoryConnectionWrapper.begin() |
void |
RepositoryConnectionWrapper.clear(Resource... contexts) |
void |
RepositoryConnectionBase.clear(Resource... contexts) |
void |
RepositoryConnectionWrapper.clearNamespaces() |
void |
RepositoryConnectionWrapper.close() |
void |
RepositoryConnectionBase.close() |
void |
RepositoryConnectionWrapper.commit() |
protected void |
RepositoryConnectionBase.conditionalCommit(boolean condition)
Invokes
RepositoryConnection.commit() if supplied boolean condition is
true . |
protected void |
RepositoryConnectionBase.conditionalRollback(boolean condition)
Invokes
RepositoryConnection.rollback() if supplied boolean condition is
true . |
void |
RepositoryConnectionBase.export(RDFHandler handler,
Resource... contexts) |
protected void |
RepositoryConnectionWrapper.exportStatements(RepositoryResult<Statement> stIter,
RDFHandler handler)
Exports all statements contained in the supplied statement iterator and
all relevant namespace information to the supplied RDFHandler.
|
void |
RepositoryConnectionWrapper.exportStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
RepositoryConnection |
RepositoryWrapper.getConnection() |
RepositoryResult<Resource> |
RepositoryConnectionWrapper.getContextIDs() |
RepositoryConnection |
RepositoryConnectionWrapper.getDelegate() |
String |
RepositoryConnectionWrapper.getNamespace(String prefix) |
RepositoryResult<Namespace> |
RepositoryConnectionWrapper.getNamespaces() |
RepositoryResult<Statement> |
RepositoryConnectionWrapper.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionWrapper.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionBase.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionWrapper.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
boolean |
RepositoryConnectionBase.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
void |
RepositoryWrapper.initialize() |
void |
RepositoryBase.initialize() |
protected abstract void |
RepositoryBase.initializeInternal() |
boolean |
RepositoryConnectionWrapper.isActive() |
boolean |
RepositoryConnectionWrapper.isAutoCommit()
Deprecated.
since release 2.7.0. Use
RepositoryConnectionWrapper.isActive() instead. |
boolean |
RepositoryConnectionBase.isAutoCommit()
Deprecated.
since 2.7.0. Use
RepositoryConnection.isActive() instead. |
protected boolean |
RepositoryConnectionWrapper.isDelegatingAdd()
If false then the following add methods will call
RepositoryConnectionWrapper.addWithoutCommit(Resource, URI, Value, Resource[]) . |
protected boolean |
RepositoryConnectionWrapper.isDelegatingRead()
If false then the following has/export/isEmpty methods will call
RepositoryConnectionWrapper.getStatements(Resource, URI, Value, boolean, Resource[]) . |
protected boolean |
RepositoryConnectionWrapper.isDelegatingRemove()
If false then the following remove methods will call
RepositoryConnectionWrapper.removeWithoutCommit(Resource, URI, Value, Resource[]) . |
boolean |
RepositoryConnectionWrapper.isEmpty() |
boolean |
RepositoryConnectionBase.isEmpty() |
boolean |
RepositoryConnectionWrapper.isOpen() |
boolean |
RepositoryConnectionBase.isOpen() |
boolean |
RepositoryWrapper.isWritable() |
BooleanQuery |
RepositoryConnectionBase.prepareBooleanQuery(QueryLanguage ql,
String query) |
BooleanQuery |
RepositoryConnectionWrapper.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI) |
GraphQuery |
RepositoryConnectionBase.prepareGraphQuery(QueryLanguage ql,
String query) |
GraphQuery |
RepositoryConnectionWrapper.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI) |
Query |
RepositoryConnectionBase.prepareQuery(QueryLanguage ql,
String query) |
Query |
RepositoryConnectionWrapper.prepareQuery(QueryLanguage ql,
String query,
String baseURI) |
TupleQuery |
RepositoryConnectionBase.prepareTupleQuery(QueryLanguage ql,
String query) |
TupleQuery |
RepositoryConnectionWrapper.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI) |
Update |
RepositoryConnectionBase.prepareUpdate(QueryLanguage ql,
String update) |
Update |
RepositoryConnectionWrapper.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
void |
RepositoryConnectionWrapper.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
RepositoryConnectionBase.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionBase.remove(Iteration<? extends Statement,E> statements,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionBase.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Statement st,
Resource... contexts) |
void |
RepositoryConnectionBase.remove(Statement st,
Resource... contexts) |
void |
RepositoryConnectionWrapper.removeNamespace(String prefix) |
protected void |
RepositoryConnectionWrapper.removeWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
protected abstract void |
RepositoryConnectionBase.removeWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
protected void |
RepositoryConnectionBase.removeWithoutCommit(Statement st,
Resource... contexts) |
void |
RepositoryConnectionWrapper.rollback() |
void |
RepositoryConnectionWrapper.setAutoCommit(boolean autoCommit)
Deprecated.
use
RepositoryConnectionWrapper.begin() instead. |
void |
RepositoryConnectionBase.setAutoCommit(boolean autoCommit)
Deprecated.
since 2.7.0. Use
RepositoryConnection.begin() instead. |
void |
RepositoryConnectionWrapper.setNamespace(String prefix,
String name) |
void |
RepositoryWrapper.shutDown() |
void |
RepositoryBase.shutDown() |
protected abstract void |
RepositoryBase.shutDownInternal() |
long |
RepositoryConnectionWrapper.size(Resource... contexts) |
protected boolean |
RepositoryConnectionBase.startLocalTransaction()
Starts a new transaction if one is not already active.
|
Modifier and Type | Method and Description |
---|---|
static Resource |
RepositoryConfigUtil.getContext(RepositoryConnection con,
String repositoryID) |
static RepositoryConfig |
RepositoryConfigUtil.getRepositoryConfig(Repository repository,
String repositoryID) |
static Set<String> |
RepositoryConfigUtil.getRepositoryIDs(Repository repository) |
static boolean |
RepositoryConfigUtil.hasRepositoryConfig(Repository repository,
String repositoryID)
Is configuration information for the specified repository ID present in
the (system) repository?
|
static boolean |
RepositoryConfigUtil.removeRepositoryConfigs(Repository repository,
String... repositoryIDs)
Removes one or more Repository configurations from a Repository.
|
static void |
RepositoryConfigUtil.updateRepositoryConfigs(RepositoryConnection con,
RepositoryConfig... configs)
Update the specified RepositoryConnection with the specified set of
RepositoryConfigs.
|
static void |
RepositoryConfigUtil.updateRepositoryConfigs(Repository repository,
RepositoryConfig... configs)
Update the specified Repository with the specified set of
RepositoryConfigs.
|
Modifier and Type | Method and Description |
---|---|
void |
ContextAwareConnection.add(File file,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
ContextAwareConnection.add(Statement st,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.clear(Resource... contexts) |
void |
ContextAwareConnection.export(RDFHandler handler,
Resource... contexts) |
void |
ContextAwareConnection.exportStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
void |
ContextAwareConnection.exportStatements(Resource subj,
URI pred,
Value obj,
RDFHandler handler,
Resource... contexts)
Exports all statements with a specific subject, predicate and/or object
from the repository, optionally from the specified contexts.
|
ContextAwareConnection |
ContextAwareRepository.getConnection() |
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Gets all statements with a specific subject, predicate and/or object from
the repository.
|
boolean |
ContextAwareConnection.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
ContextAwareConnection.hasStatement(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Checks whether the repository contains statements with a specific subject,
predicate and/or object, optionally in the specified contexts.
|
boolean |
ContextAwareConnection.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
boolean |
ContextAwareConnection.hasStatement(Statement st,
Resource... contexts)
Checks whether the repository contains the specified statement, optionally
in the specified contexts.
|
protected boolean |
ContextAwareConnection.isDelegatingRemove() |
BooleanQuery |
ContextAwareConnection.prepareBooleanQuery(QueryLanguage ql,
String query) |
BooleanQuery |
ContextAwareConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI) |
GraphQuery |
ContextAwareConnection.prepareGraphQuery(QueryLanguage ql,
String query) |
GraphQuery |
ContextAwareConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI) |
GraphQuery |
ContextAwareConnection.prepareGraphQuery(String query) |
Query |
ContextAwareConnection.prepareQuery(QueryLanguage ql,
String query) |
Query |
ContextAwareConnection.prepareQuery(QueryLanguage ql,
String query,
String baseURI) |
Query |
ContextAwareConnection.prepareQuery(String query) |
TupleQuery |
ContextAwareConnection.prepareTupleQuery(QueryLanguage ql,
String query) |
TupleQuery |
ContextAwareConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI) |
TupleQuery |
ContextAwareConnection.prepareTupleQuery(String query) |
Update |
ContextAwareConnection.prepareUpdate(QueryLanguage ql,
String query) |
Update |
ContextAwareConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Update |
ContextAwareConnection.prepareUpdate(String query) |
void |
ContextAwareConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts)
Removes the supplied statements from a specific context in this
repository, ignoring any context information carried by the statements
themselves.
|
void |
ContextAwareConnection.remove(Resource subject,
URI predicate,
Value object,
Resource... contexts)
Removes the statement with the specified subject, predicate and object
from the repository, optionally restricted to the specified contexts.
|
void |
ContextAwareConnection.remove(Statement st,
Resource... contexts)
Removes the supplied statement from the specified contexts in the
repository.
|
protected void |
ContextAwareConnection.removeWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
long |
ContextAwareConnection.size(Resource... contexts)
Returns the number of (explicit) statements that are in the specified
contexts in this repository.
|
Constructor and Description |
---|
ContextAwareConnection(Repository repository) |
ContextAwareConnection(RepositoryConnection connection) |
ContextAwareConnection(Repository repository,
RepositoryConnection connection) |
Modifier and Type | Method and Description |
---|---|
RepositoryConnection |
DatasetRepository.getConnection() |
void |
DatasetRepository.loadDataset(URL url,
URI context,
ParserConfig config) |
BooleanQuery |
DatasetRepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI) |
GraphQuery |
DatasetRepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI) |
Query |
DatasetRepositoryConnection.prepareQuery(QueryLanguage ql,
String query,
String baseURI) |
TupleQuery |
DatasetRepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
void |
NotifyingRepositoryConnectionWrapper.addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
InterceptingRepositoryConnectionWrapper.addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.begin() |
void |
InterceptingRepositoryConnectionWrapper.begin() |
void |
NotifyingRepositoryConnectionWrapper.clear(Resource... contexts) |
void |
InterceptingRepositoryConnectionWrapper.clear(Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.clearNamespaces() |
void |
InterceptingRepositoryConnectionWrapper.clearNamespaces() |
void |
NotifyingRepositoryConnectionWrapper.close() |
void |
InterceptingRepositoryConnectionWrapper.close() |
void |
NotifyingRepositoryConnectionWrapper.commit() |
void |
InterceptingRepositoryConnectionWrapper.commit() |
NotifyingRepositoryConnection |
NotifyingRepositoryWrapper.getConnection() |
InterceptingRepositoryConnection |
InterceptingRepositoryWrapper.getConnection() |
void |
NotifyingRepositoryWrapper.initialize() |
void |
InterceptingRepositoryWrapper.initialize() |
Update |
NotifyingRepositoryConnectionWrapper.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Update |
InterceptingRepositoryConnectionWrapper.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
void |
NotifyingRepositoryConnectionWrapper.removeNamespace(String prefix) |
void |
InterceptingRepositoryConnectionWrapper.removeNamespace(String prefix) |
void |
NotifyingRepositoryConnectionWrapper.removeWithoutCommit(Resource subj,
URI pred,
Value obj,
Resource... ctx) |
void |
InterceptingRepositoryConnectionWrapper.removeWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
NotifyingRepositoryConnectionWrapper.rollback() |
void |
InterceptingRepositoryConnectionWrapper.rollback() |
void |
NotifyingRepositoryConnectionWrapper.setAutoCommit(boolean autoCommit)
Deprecated.
|
void |
InterceptingRepositoryConnectionWrapper.setAutoCommit(boolean autoCommit)
Deprecated.
|
void |
NotifyingRepositoryConnectionWrapper.setNamespace(String prefix,
String name) |
void |
InterceptingRepositoryConnectionWrapper.setNamespace(String prefix,
String name) |
void |
NotifyingRepositoryWrapper.shutDown() |
void |
InterceptingRepositoryWrapper.shutDown() |
Modifier and Type | Method and Description |
---|---|
RepositoryException |
HTTPUpdateExecutionException.getCauseAsRepositoryException() |
RepositoryException |
HTTPQueryEvaluationException.getCauseAsRepositoryException() |
Modifier and Type | Method and Description |
---|---|
RepositoryConnection |
HTTPRepository.getConnection() |
protected void |
HTTPRepository.initializeInternal() |
boolean |
HTTPRepository.isWritable() |
protected void |
HTTPRepository.shutDownInternal() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryManager.addRepositoryConfig(RepositoryConfig config)
Adds or updates the configuration of a repository to the manager's system
repository.
|
protected abstract Repository |
RepositoryManager.createRepository(String id)
Creates and initializes the repository with the specified ID.
|
protected Repository |
RemoteRepositoryManager.createRepository(String id)
Creates and initializes the repository with the specified ID.
|
protected Repository |
LocalRepositoryManager.createRepository(String id) |
protected abstract Repository |
RepositoryManager.createSystemRepository() |
protected Repository |
RemoteRepositoryManager.createSystemRepository() |
protected SystemRepository |
LocalRepositoryManager.createSystemRepository() |
Collection<Repository> |
RepositoryManager.getAllRepositories()
Returns all configured repositories.
|
Collection<RepositoryInfo> |
RepositoryManager.getAllRepositoryInfos() |
abstract Collection<RepositoryInfo> |
RepositoryManager.getAllRepositoryInfos(boolean skipSystemRepo) |
Collection<RepositoryInfo> |
RemoteRepositoryManager.getAllRepositoryInfos(boolean skipSystemRepo) |
List<RepositoryInfo> |
LocalRepositoryManager.getAllRepositoryInfos(boolean skipSystemRepo) |
Collection<RepositoryInfo> |
RepositoryManager.getAllUserRepositoryInfos() |
static RemoteRepositoryManager |
RemoteRepositoryManager.getInstance(String serverURL)
Creates an initialized
RemoteRepositoryManager with the specified
server URL. |
static RemoteRepositoryManager |
RemoteRepositoryManager.getInstance(String serverURL,
String username,
String password)
Creates an initialized
RemoteRepositoryManager with the specified
server URL and credentials. |
String |
RepositoryManager.getNewRepositoryID(String baseName)
Generates an ID for a new repository based on the specified base name.
|
static Repository |
RepositoryProvider.getRepository(String url)
Created a Repository, if not already created, that will be shutdown when
the JVM exits cleanly.
|
Repository |
RepositoryManager.getRepository(String identity)
Gets the repository that is known by the specified ID from this manager.
|
RepositoryConfig |
RepositoryManager.getRepositoryConfig(String repositoryID) |
Set<String> |
RepositoryManager.getRepositoryIDs() |
abstract RepositoryInfo |
RepositoryManager.getRepositoryInfo(String id)
Gets the repository that is known by the specified ID from this manager.
|
RepositoryInfo |
RemoteRepositoryManager.getRepositoryInfo(String id) |
RepositoryInfo |
LocalRepositoryManager.getRepositoryInfo(String id) |
static LocalRepositoryManager |
RepositoryProvider.getRepositoryManager(File dir)
Creates a LocalRepositoryManager, if not already created, that will be
shutdown when the JVM exits cleanly.
|
static RepositoryManager |
RepositoryProvider.getRepositoryManager(String url)
Creates a RepositoryManager, if not already created, that will be shutdown
when the JVM exits cleanly.
|
static RepositoryManager |
RepositoryProvider.getRepositoryManagerOfRepository(String url)
Returns the RepositoryManager that will be used for the given repository
URL.
|
boolean |
RepositoryManager.hasRepositoryConfig(String repositoryID) |
void |
SystemRepository.initialize() |
void |
RepositoryManager.initialize()
Initializes the repository manager.
|
boolean |
RepositoryManager.isSafeToRemove(String repositoryID)
Checks on whether the given repository is referred to by a
ProxyRepository configuration. |
boolean |
RepositoryManager.removeRepository(String repositoryID)
Removes the specified repository by deleting its configuration from the
manager's system repository if such a configuration is present, and
removing any persistent data associated with the repository.
|
boolean |
RemoteRepositoryManager.removeRepository(String repositoryID) |
boolean |
RepositoryManager.removeRepositoryConfig(String repositoryID)
Deprecated.
since 2.6.7. Use
RepositoryManager.removeRepository(String repositoryID)
instead. |
Constructor and Description |
---|
SystemRepository(File systemDir) |
Modifier and Type | Method and Description |
---|---|
void |
TypeFilteringRepositoryManager.addRepositoryConfig(RepositoryConfig config) |
protected Repository |
TypeFilteringRepositoryManager.createRepository(String id) |
protected Repository |
TypeFilteringRepositoryManager.createSystemRepository() |
Collection<RepositoryInfo> |
TypeFilteringRepositoryManager.getAllRepositoryInfos(boolean skipSystemRepo) |
String |
TypeFilteringRepositoryManager.getNewRepositoryID(String baseName) |
Repository |
TypeFilteringRepositoryManager.getRepository(String id) |
RepositoryConfig |
TypeFilteringRepositoryManager.getRepositoryConfig(String repositoryID) |
Set<String> |
TypeFilteringRepositoryManager.getRepositoryIDs() |
RepositoryInfo |
TypeFilteringRepositoryManager.getRepositoryInfo(String id) |
boolean |
TypeFilteringRepositoryManager.hasRepositoryConfig(String repositoryID) |
void |
TypeFilteringRepositoryManager.initialize() |
void |
NotifyingLocalRepositoryManager.initialize() |
protected boolean |
TypeFilteringRepositoryManager.isCorrectType(String repositoryID) |
boolean |
TypeFilteringRepositoryManager.removeRepositoryConfig(String repositoryID)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SailRepositoryConnection.addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
SailRepositoryConnection.begin() |
void |
SailRepositoryConnection.clear(Resource... contexts) |
void |
SailRepositoryConnection.clearNamespaces() |
void |
SailRepositoryConnection.close() |
void |
SailRepositoryConnection.commit() |
void |
SailRepositoryConnection.exportStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
SailRepositoryConnection |
SailRepository.getConnection() |
RepositoryConnection |
ProxyRepository.getConnection() |
RepositoryResult<Resource> |
SailRepositoryConnection.getContextIDs() |
String |
SailRepositoryConnection.getNamespace(String prefix) |
RepositoryResult<Namespace> |
SailRepositoryConnection.getNamespaces() |
RepositoryResult<Statement> |
SailRepositoryConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected void |
SailRepository.initializeInternal() |
protected void |
ProxyRepository.initializeInternal() |
boolean |
SailRepositoryConnection.isEmpty() |
boolean |
SailRepositoryConnection.isOpen() |
boolean |
SailRepository.isWritable() |
boolean |
ProxyRepository.isWritable() |
Update |
SailRepositoryConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
void |
SailRepositoryConnection.removeNamespace(String prefix) |
protected void |
SailRepositoryConnection.removeWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
SailRepositoryConnection.rollback() |
void |
SailRepositoryConnection.setNamespace(String prefix,
String name) |
protected void |
SailRepository.shutDownInternal() |
protected void |
ProxyRepository.shutDownInternal() |
long |
SailRepositoryConnection.size(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
Repository |
RepositoryResolver.getRepository(String memberID) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
SPARQLConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(Statement st,
Resource... contexts) |
void |
SPARQLConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
protected void |
SPARQLConnection.addWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
SPARQLConnection.begin() |
void |
SPARQLConnection.clear(Resource... contexts) |
void |
SPARQLConnection.clearNamespaces() |
void |
SPARQLConnection.commit() |
void |
SPARQLConnection.exportStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
RDFHandler handler,
Resource... contexts) |
RepositoryConnection |
SPARQLRepository.getConnection() |
RepositoryResult<Resource> |
SPARQLConnection.getContextIDs() |
String |
SPARQLConnection.getNamespace(String prefix) |
RepositoryResult<Namespace> |
SPARQLConnection.getNamespaces() |
RepositoryResult<Statement> |
SPARQLConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
SPARQLConnection.hasStatement(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected void |
SPARQLRepository.initializeInternal() |
boolean |
SPARQLConnection.isActive() |
boolean |
SPARQLRepository.isWritable() |
BooleanQuery |
SPARQLConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String base) |
GraphQuery |
SPARQLConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String base) |
Query |
SPARQLConnection.prepareQuery(QueryLanguage ql,
String query,
String base) |
TupleQuery |
SPARQLConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String base) |
Update |
SPARQLConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
void |
SPARQLConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
SPARQLConnection.remove(Statement st,
Resource... contexts) |
void |
SPARQLConnection.removeNamespace(String prefix) |
protected void |
SPARQLConnection.removeWithoutCommit(Resource subject,
URI predicate,
Value object,
Resource... contexts) |
void |
SPARQLConnection.rollback() |
void |
SPARQLConnection.setNamespace(String prefix,
String name) |
protected void |
SPARQLRepository.shutDownInternal() |
long |
SPARQLConnection.size(Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
static Collection<? extends Statement> |
RepositoryUtil.difference(Repository rep1,
Repository rep2)
Compares two models defined by the default context of two repositories and
returns the difference between the first and the second model (that is,
all statements that are present in rep1 but not in rep2).
|
static boolean |
RepositoryUtil.equals(Repository rep1,
Repository rep2)
Compares the models in the default contexts of the two supplied
repositories and returns true if they are equal.
|
static boolean |
RepositoryUtil.isSubset(Repository rep1,
Repository rep2)
Compares the models of the default context of two repositories and returns
true if rep1 is a subset of rep2.
|
Modifier and Type | Method and Description |
---|---|
void |
NQuadsWriterTestCase.testWrite() |
Modifier and Type | Method and Description |
---|---|
void |
RDFXMLWriterTestCase.testWrite() |
Modifier and Type | Method and Description |
---|---|
static void |
CustomGraphQueryInferencerTest.addTests(junit.framework.TestSuite suite,
NotifyingSail store) |
protected void |
CustomGraphQueryInferencerTest.runTest() |
Modifier and Type | Method and Description |
---|---|
void |
OwnedTupleExpr.prepare(QueryLanguage queryLn,
String qry,
Map<String,String> bindings) |
Modifier and Type | Method and Description |
---|---|
void |
PrepareOwnedTupleExpr.meet(Distinct node) |
void |
PrepareOwnedTupleExpr.meet(Join node) |
void |
PrepareOwnedTupleExpr.meet(LeftJoin node) |
void |
FederationJoinOptimizer.meet(LeftJoin node) |
void |
PrepareOwnedTupleExpr.meet(Projection node) |
void |
PrepareOwnedTupleExpr.meet(Reduced node) |
void |
PrepareOwnedTupleExpr.meet(StatementPattern node) |
void |
EmptyPatternOptimizer.meet(StatementPattern node) |
void |
FederationJoinOptimizer.meet(Union node) |
void |
PrepareOwnedTupleExpr.meetMultiJoin(NaryJoin node) |
void |
FederationJoinOptimizer.meetMultiJoin(NaryJoin node) |
protected void |
PrepareOwnedTupleExpr.meetNode(QueryModelNode node) |
void |
PrepareOwnedTupleExpr.meetOther(QueryModelNode node) |
void |
FederationJoinOptimizer.meetOther(QueryModelNode node) |
protected void |
FederationJoinOptimizer.meetUnaryTupleOperator(UnaryTupleOperator node) |
Modifier and Type | Method and Description |
---|---|
protected void |
RemoveServlet.doPost(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
ClearServlet.doPost(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
AddServlet.doPost(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
ContextsServlet.service(TupleResultBuilder builder,
RepositoryConnection con) |
void |
UpdateServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
SummaryServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
RepositoriesServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
RemoveServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
NamespacesServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
InformationServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
DeleteServlet.service(TupleResultBuilder builder,
String xslPath)
Presents a page where the user can choose a repository ID to delete.
|
void |
ClearServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
AddServlet.service(TupleResultBuilder builder,
String xslPath) |
protected void |
CreateServlet.service(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath)
GET requests to this servlet come from the Workbench side bar or from
create.xsl form submissions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
QueryStorage.askExists(HTTPRepository repository,
String queryName,
String userName) |
boolean |
QueryStorage.canChange(URI query,
String currentUser)
Determines whether the user with the given userName is allowed to update
or delete the given query.
|
boolean |
QueryStorage.canRead(URI query,
String currentUser)
Determines whether the user with the given userName is allowed to read the
given query.
|
boolean |
QueryStorage.checkAccess(HTTPRepository repository)
Checks whether the current user/password credentials can really access the
current repository.
|
void |
QueryStorage.deleteQuery(URI query,
String userName)
Delete the given query for the given user.
|
Resource |
WorkbenchRequest.getResource(String name)
Returns a
Resource corresponding to the value of
the given parameter name. |
static QueryStorage |
QueryStorage.getSingletonInstance(AppConfiguration config) |
URI |
WorkbenchRequest.getURI(String name)
Gets the URI referred to by the parameter value.
|
Value |
WorkbenchRequest.getValue(String name)
Gets the
Value referred to by the parameter
value. |
void |
QueryStorage.selectSavedQueries(HTTPRepository repository,
String userName,
TupleResultBuilder builder)
Prepares a query to retrieve the queries accessible to the given user in
the given repository.
|
void |
QueryStorage.updateQuery(URI query,
String userName,
boolean shared,
QueryLanguage queryLanguage,
String queryText,
boolean infer,
int rowsPerPage)
Update the entry for the given query.
|
Constructor and Description |
---|
QueryStorage(AppConfiguration appConfig)
Create a new object for accessing the store of user queries.
|
WorkbenchRequest(Repository repository,
javax.servlet.http.HttpServletRequest request,
Map<String,String> defaults)
Wrap a request with an object aware of the current repository and
application defaults.
|
Copyright © 2001-2016 Aduna. All Rights Reserved.