Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.change | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.index.local | |
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.engine |
This package contains several fully-functional query engine implementations.
|
org.modeshape.jcr.query.model |
The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
|
org.modeshape.jcr.query.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
org.modeshape.jcr.security |
ModeShape JCR repositories have a pluggable authentication and authorization framework.
|
org.modeshape.jcr.spi.federation |
This package provides a Service Provider Interface (SPI) for connectors to external systems.
|
org.modeshape.jcr.spi.index |
This package contains the interfaces for managing index providers and index definitions.
|
org.modeshape.jcr.spi.index.provider |
This package contains the Service Provider Interface (SPI) for custom index providers, which are components that encapsulate
how ModeShape updates and uses a set of particular indexes.
|
org.modeshape.jcr.xml |
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
CndImporter.context |
static ExecutionContext |
ExecutionContext.DEFAULT_CONTEXT |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ExecutionContext.clone() |
ExecutionContext |
ExecutionContext.with(BinaryStore binaryStore)
Create a new execution context that mirrors this context but that uses the supplied binary store.
|
ExecutionContext |
ExecutionContext.with(Map<String,String> data)
Create a new execution context that mirrors this context but that contains the supplied data.
|
ExecutionContext |
ExecutionContext.with(NamespaceRegistry namespaceRegistry)
Create a new execution context that mirrors this context but that uses the supplied namespace registry.
|
ExecutionContext |
ExecutionContext.with(PropertyFactory propertyFactory)
Create a new execution context that mirrors this context but that uses the supplied
factory . |
protected ExecutionContext |
ExecutionContext.with(ReferenceFactory referenceFactory) |
ExecutionContext |
ExecutionContext.with(SecurityContext securityContext)
Create an
ExecutionContext that is the same as this context, but which uses the supplied security context . |
ExecutionContext |
ExecutionContext.with(String processId)
Create a new execution context that mirrors this context but that contains the supplied process identifier.
|
ExecutionContext |
ExecutionContext.with(String key,
String value)
Create a new execution context that mirrors this context but that contains the supplied key-value pair in the new context's
data.
|
ExecutionContext |
ExecutionContext.with(ThreadPoolFactory threadPoolFactory)
Create a new execution context that mirrors this context but that uses the supplied
thread pool
factory . |
Modifier and Type | Method and Description |
---|---|
protected void |
NodeTypeSchemata.addAllNodesTable(ImmutableSchemata.Builder builder,
ExecutionContext context,
List<org.modeshape.jcr.JcrPropertyDefinition> additionalProperties,
Name[] keyPropertyNames) |
protected void |
NodeTypeSchemata.addView(ImmutableSchemata.Builder builder,
ExecutionContext context,
org.modeshape.jcr.JcrNodeType nodeType) |
void |
NodeTypes.NodeDefinitionSet.determineReasonForMismatch(Name childName,
Name childPrimaryType,
boolean skipProtected,
SiblingCounter siblingCounter,
Name parentPrimaryType,
Set<Name> parentMixinTypes,
Path parentPath,
String workspaceName,
String repositoryName,
ExecutionContext context)
Method that can be called after
NodeTypes.NodeDefinitionSet.findBestDefinitionForChild(Name, Name, boolean, SiblingCounter) returns null
to throw an appropriate exception for why each of the parent's child node definition are not applicable for the
proposed child. |
protected org.modeshape.jcr.JcrPropertyDefinition |
NodeTypeSchemata.pseudoProperty(ExecutionContext context,
Name name,
int propertyType) |
Constructor and Description |
---|
CndImporter(ExecutionContext context)
Create a new importer that will place the content in the supplied destination under the supplied path.
|
ExecutionContext(ExecutionContext context) |
JcrSession(JcrRepository repository,
String workspaceName,
ExecutionContext context,
Map<String,Object> sessionAttributes,
boolean readOnly) |
JcrValueFactory(ExecutionContext context) |
JcrXaSession(JcrRepository repository,
String workspaceName,
ExecutionContext context,
Map<String,Object> sessionAttributes,
boolean readOnly) |
NodeTypes(ExecutionContext context) |
NodeTypes(ExecutionContext context,
Iterable<org.modeshape.jcr.JcrNodeType> nodeTypes,
int version) |
Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
RepositoryCache.context() |
ExecutionContext |
SessionCacheWrapper.getContext() |
ExecutionContext |
SessionCache.getContext()
Get the context for this session.
|
Modifier and Type | Method and Description |
---|---|
SessionCache |
RepositoryCache.createSession(ExecutionContext context,
String workspaceName,
boolean readOnly)
Create a session for the workspace with the given name, using the supplied ExecutionContext for the session.
|
Constructor and Description |
---|
AllPathsCache(NodeCache cache,
NodeCache removedCache,
ExecutionContext context) |
RepositoryCache(ExecutionContext context,
DocumentStore documentStore,
ClusteringService clusteringService,
RepositoryConfiguration configuration,
RepositoryCache.ContentInitializer initializer,
SessionEnvironment sessionContext,
ChangeBus changeBus,
CacheContainer workspaceCacheContainer,
Upgrades upgradeFunctions) |
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
ChangeSetAdapter.context |
Constructor and Description |
---|
ChangeSetAdapter(ExecutionContext context) |
ChangeSetAdapter(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate predicate) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
AbstractSessionCache.getContext() |
Constructor and Description |
---|
AbstractSessionCache.BasicSaveContext(ExecutionContext context) |
AbstractSessionCache(ExecutionContext context,
WorkspaceCache sharedWorkspaceCache,
SessionEnvironment sessionContext) |
DocumentTranslator(ExecutionContext context,
DocumentStore documentStore,
long largeStringSize) |
ReadOnlySessionCache(ExecutionContext context,
WorkspaceCache workspaceCache,
SessionEnvironment sessionContext) |
WorkspaceCache(ExecutionContext context,
String repositoryKey,
String workspaceName,
WorkspaceCache systemWorkspace,
DocumentStore documentStore,
DocumentTranslator translator,
NodeKey rootKey,
ConcurrentMap<NodeKey,CachedNode> cache,
ChangeBus changeBus) |
WritableSessionCache(ExecutionContext context,
WorkspaceCache workspaceCache,
SessionEnvironment sessionContext)
Create a new SessionCache that can be used for making changes to the workspace.
|
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
ManagedLocalIndexBuilder.context |
Modifier and Type | Method and Description |
---|---|
static <T> ManagedLocalIndexBuilder<T> |
ManagedLocalIndexBuilder.create(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier,
ChangeSetAdapter.NodeTypePredicate matcher)
Create a builder for the supplied index definition.
|
static IndexChangeAdapter |
IndexChangeAdapters.forMixinTypes(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:mixinTypes" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forMultiValuedEnumeratedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
org.modeshape.jcr.index.local.LocalEnumeratedIndex index)
Create an
IndexChangeAdapter implementation that handles a multi-valued enumerated property. |
static <T> IndexChangeAdapter |
IndexChangeAdapters.forMultiValuedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
ValueFactory<T> factory,
org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)
Create an
IndexChangeAdapter implementation that handles a multi-valued property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeDepth(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Long> index)
Create an
IndexChangeAdapter implementation that handles the "mode:nodeDepth" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeLocalName(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<String> index)
Create an
IndexChangeAdapter implementation that handles the "mode:localName" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeName(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:name" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodePath(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Path> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:path" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forNodeTypes(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
LocalIndex<String> index)
Create an
IndexChangeAdapter implementation that handles node type information. |
static IndexChangeAdapter |
IndexChangeAdapters.forPrimaryType(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
org.modeshape.jcr.index.local.LocalDuplicateIndex<Name> index)
Create an
IndexChangeAdapter implementation that handles the "jcr:primaryType" property. |
static IndexChangeAdapter |
IndexChangeAdapters.forSingleValuedEnumeratedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
org.modeshape.jcr.index.local.LocalEnumeratedIndex index)
Create an
IndexChangeAdapter implementation that handles a single-valued enumerated property. |
static <T> IndexChangeAdapter |
IndexChangeAdapters.forSingleValuedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
ValueFactory<T> factory,
org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)
Create an
IndexChangeAdapter implementation that handles a single-valued property. |
static <T> IndexChangeAdapter |
IndexChangeAdapters.forUniqueValuedProperty(ExecutionContext context,
ChangeSetAdapter.NodeTypePredicate matcher,
String workspaceName,
Name propertyName,
ValueFactory<T> factory,
org.modeshape.jcr.index.local.LocalUniqueIndex<T> index)
Create an
IndexChangeAdapter implementation that handles a unique-valued property, where every property value is
unique across all nodes. |
void |
LocalIndexProvider.validateProposedIndex(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypeSupplier,
Problems problems) |
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
QueryContext.context |
Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
QueryEngineBuilder.context() |
ExecutionContext |
QueryContext.getExecutionContext()
Get the execution context in which the query is to be evaluated
|
ExecutionContext |
JcrQueryContext.getExecutionContext()
Get the execution context that should be used by the query.
|
Modifier and Type | Method and Description |
---|---|
QueryContext |
QueryEngine.createQueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Map<String,Object> variables)
Create a new context for query execution.
|
QueryEngineBuilder |
QueryEngineBuilder.using(RepositoryConfiguration configuration,
IndexManager indexManager,
ExecutionContext context) |
Constructor and Description |
---|
BufferManager(ExecutionContext context) |
BufferManager(ExecutionContext context,
Supplier<org.mapdb.DB> offheapDbSupplier,
Supplier<org.mapdb.DB> onheapDbSupplier) |
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems,
Map<String,Object> variables)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems,
Map<String,Object> variables,
long id)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager)
Create a new context for query execution.
|
QueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Problems problems)
Create a new context for query execution.
|
Modifier and Type | Method and Description |
---|---|
QueryContext |
ScanningQueryEngine.createQueryContext(ExecutionContext context,
RepositoryCache repositoryCache,
Set<String> workspaceNames,
Map<String,NodeCache> overriddenNodeCachesByWorkspaceName,
Schemata schemata,
RepositoryIndexes indexDefns,
NodeTypes nodeTypes,
BufferManager bufferManager,
PlanHints hints,
Map<String,Object> variables) |
Constructor and Description |
---|
IndexQueryEngine(ExecutionContext context,
String repositoryName,
Planner planner,
Optimizer optimizer,
IndexManager indexManager) |
ScanningQueryEngine(ExecutionContext context,
String repositoryName,
Planner planner,
Optimizer optimizer) |
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
Visitors.ReadableVisitor.context |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
Visitors.ReadableVisitor.getContext() |
Modifier and Type | Method and Description |
---|---|
static String |
Visitors.readable(Object[] tuple,
ExecutionContext context) |
static String |
Visitors.readable(Visitable visitable,
ExecutionContext context)
Using a visitor, obtain the readable string representation of the supplied
object |
Constructor and Description |
---|
Visitors.JcrSql2Writer(ExecutionContext context) |
Visitors.ReadableVisitor(ExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
static ImmutableSchemata.Builder |
ImmutableSchemata.createBuilder(ExecutionContext context,
NodeTypes nodeTypes)
Obtain a new instance for building Schemata objects.
|
Constructor and Description |
---|
ImmutableSchemata.Builder(ExecutionContext context,
NodeTypes nodeTypes) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ServletProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
JaasProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
AuthenticationProviders.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
AuthenticationProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes)
Authenticate the user that is using the supplied credentials.
|
ExecutionContext |
AnonymousProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
AdvancedAuthorizationProvider.Context.getExecutionContext()
Get the execution context in which this session is running.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ServletProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
JaasProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
AuthenticationProviders.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
ExecutionContext |
AuthenticationProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes)
Authenticate the user that is using the supplied credentials.
|
ExecutionContext |
AnonymousProvider.authenticate(Credentials credentials,
String repositoryName,
String workspaceName,
ExecutionContext repositoryContext,
Map<String,Object> sessionAttributes) |
boolean |
AuthorizationProvider.hasPermission(ExecutionContext context,
String repositoryName,
String repositorySourceName,
String workspaceName,
Path absPath,
String... actions)
Determine if the supplied execution context has permission for all of the named actions in the named workspace.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
Connector.getContext()
Get the execution context for this connector instance.
|
Modifier and Type | Method and Description |
---|---|
static ChangeSetListener |
IndexChangeSetListeners.create(ExecutionContext context,
NodeTypes.Supplier nodeTypesSupplier,
IndexDefinition indexDefinition,
IndexChangeSetListeners.MultiColumnIndexOperations operations)
Create a new ChangeSetListener implementation that can update multi-column indexes.
|
static ChangeSetListener |
IndexChangeSetListeners.create(ExecutionContext context,
NodeTypes.Supplier nodeTypesSupplier,
IndexDefinition indexDefinition,
IndexChangeSetListeners.SingleColumnIndexOperations operations)
Create a new ChangeSetListener implementation that can update single-column indexes.
|
Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
IndexProvider.context()
Get the context in which this provider executes.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
IndexProvider.validateProposedIndex(ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier,
Problems problems)
Validate the proposed index definition, and use the supplied problems to report any issues that will prevent this provider
from creating and using an index with the given definition.
|
Constructor and Description |
---|
IndexChangeAdapter(ExecutionContext context,
String workspaceName,
ChangeSetAdapter.NodeTypePredicate predicate) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
NodeImportDestination.getExecutionContext()
Retrieves the execution context of the destination, in which the import will take place and which is used for creating
values via the
ValueFactories and for registering namespaces via the
NamespaceRegistry |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.