Package | Description |
---|---|
org.modeshape.connector.filesystem | |
org.modeshape.connector.git | |
org.modeshape.connector.meta.jdbc | |
org.modeshape.jcr | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.change | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.federation | |
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.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.txn | |
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
org.modeshape.jcr.value.binary |
Modifier and Type | Method and Description |
---|---|
String |
FileSystemConnector.newDocumentId(String parentId,
Name newDocumentName,
Name newDocumentPrimaryType) |
Modifier and Type | Field and Description |
---|---|
static Name |
GitLexicon.AUTHOR |
static Name |
GitLexicon.BRANCH |
static Name |
GitLexicon.BRANCHES |
static Name |
GitLexicon.COMMIT |
static Name |
GitLexicon.COMMITS |
static Name |
GitLexicon.COMMITTED |
static Name |
GitLexicon.COMMITTER |
static Name |
GitLexicon.DETAIL |
static Name |
GitLexicon.DETAILED_COMMIT |
static Name |
GitLexicon.DETAILS |
static Name |
GitLexicon.DIFF |
static Name |
GitLexicon.FILE |
static Name |
GitLexicon.FOLDER |
static Name |
GitLexicon.HISTORY
Property names
|
static Name |
GitLexicon.MESSAGE |
static Name |
GitLexicon.OBJECT |
static Name |
GitLexicon.OBJECT_ID |
static Name |
GitLexicon.PARENTS |
static Name |
GitLexicon.RESOURCE |
static Name |
GitLexicon.ROOT |
static Name |
GitLexicon.TAG |
static Name |
GitLexicon.TAGS |
static Name |
GitLexicon.TITLE |
static Name |
GitLexicon.TREE |
static Name |
GitLexicon.TREES |
Modifier and Type | Field and Description |
---|---|
static Name |
JdbcMetadataLexicon.CATALOG |
static Name |
JdbcMetadataLexicon.COLUMN |
static Name |
JdbcMetadataLexicon.COLUMN_SIZE |
static Name |
JdbcMetadataLexicon.DATABASE_MAJOR_VERSION |
static Name |
JdbcMetadataLexicon.DATABASE_MINOR_VERSION |
static Name |
JdbcMetadataLexicon.DATABASE_PRODUCT_NAME |
static Name |
JdbcMetadataLexicon.DATABASE_PRODUCT_VERSION |
static Name |
JdbcMetadataLexicon.DATABASE_ROOT |
static Name |
JdbcMetadataLexicon.DECIMAL_DIGITS |
static Name |
JdbcMetadataLexicon.DEFAULT_VALUE |
static Name |
JdbcMetadataLexicon.DEFERRABILITY |
static Name |
JdbcMetadataLexicon.DELETE_RULE |
static Name |
JdbcMetadataLexicon.DESCRIPTION |
static Name |
JdbcMetadataLexicon.FOREIGN_KEY |
static Name |
JdbcMetadataLexicon.FOREIGN_KEY_CATALOG_NAME |
static Name |
JdbcMetadataLexicon.FOREIGN_KEY_COLUMN_NAME |
static Name |
JdbcMetadataLexicon.FOREIGN_KEY_NAME |
static Name |
JdbcMetadataLexicon.FOREIGN_KEY_SCHEMA_NAME |
static Name |
JdbcMetadataLexicon.FOREIGN_KEY_TABLE_NAME |
static Name |
JdbcMetadataLexicon.FOREIGN_KEYS |
static Name |
JdbcMetadataLexicon.JDBC_DATA_TYPE |
static Name |
JdbcMetadataLexicon.LENGTH |
static Name |
JdbcMetadataLexicon.NULLABLE |
static Name |
JdbcMetadataLexicon.ORDINAL_POSITION |
static Name |
JdbcMetadataLexicon.PRIMARY_KEY_CATALOG_NAME |
static Name |
JdbcMetadataLexicon.PRIMARY_KEY_COLUMN_NAME |
static Name |
JdbcMetadataLexicon.PRIMARY_KEY_NAME |
static Name |
JdbcMetadataLexicon.PRIMARY_KEY_SCHEMA_NAME |
static Name |
JdbcMetadataLexicon.PRIMARY_KEY_TABLE_NAME |
static Name |
JdbcMetadataLexicon.PROCEDURE |
static Name |
JdbcMetadataLexicon.PROCEDURE_RETURN_TYPE |
static Name |
JdbcMetadataLexicon.PROCEDURES |
static Name |
JdbcMetadataLexicon.RADIX |
static Name |
JdbcMetadataLexicon.REFERENCE_GENERATION_STRATEGY_NAME |
static Name |
JdbcMetadataLexicon.SCHEMA |
static Name |
JdbcMetadataLexicon.SCOPE_CATALOG_NAME |
static Name |
JdbcMetadataLexicon.SCOPE_SCHEMA_NAME |
static Name |
JdbcMetadataLexicon.SCOPE_TABLE_NAME |
static Name |
JdbcMetadataLexicon.SELF_REFERENCING_COLUMN_NAME |
static Name |
JdbcMetadataLexicon.SEQUENCE_NR |
static Name |
JdbcMetadataLexicon.SOURCE_JDBC_DATA_TYPE |
static Name |
JdbcMetadataLexicon.TABLE |
static Name |
JdbcMetadataLexicon.TABLE_TYPE |
static Name |
JdbcMetadataLexicon.TABLES |
static Name |
JdbcMetadataLexicon.TYPE_CATALOG_NAME |
static Name |
JdbcMetadataLexicon.TYPE_NAME |
static Name |
JdbcMetadataLexicon.TYPE_SCHEMA_NAME |
static Name |
JdbcMetadataLexicon.UPDATE_RULE |
Modifier and Type | Field and Description |
---|---|
static Name |
ModeShapeLexicon.ACCESS_CONTROLLABLE
ACL related
|
static Name |
ModeShapeLexicon.ACL |
static Name |
ModeShapeLexicon.ACL_COUNT |
static Name |
JcrLexicon.ACTIVITY |
static Name |
JcrLexicon.AUTO_CREATED |
static Name |
JcrLexicon.AVAILABLE_QUERY_OPERATORS |
static Name |
JcrNtLexicon.BASE |
static Name |
JcrLexicon.BASE_VERSION |
static Name |
JcrNtLexicon.CHILD_NODE_DEFINITION |
static Name |
JcrLexicon.CHILD_NODE_DEFINITION |
static Name |
JcrLexicon.CHILD_VERSION_HISTORY |
static Name |
ModeShapeLexicon.COLUMN_TYPE_NAME |
static Name |
JcrLexicon.CONFIGURATION |
static Name |
JcrLexicon.CONTENT |
static Name |
JcrLexicon.COPIED_FROM |
static Name |
JcrMixLexicon.CREATED |
static Name |
JcrLexicon.CREATED |
static Name |
JcrLexicon.CREATED_BY |
static Name |
JcrLexicon.CURRENT_LIFECYCLE_STATE |
static Name |
JcrLexicon.DATA |
static Name |
JcrLexicon.DEFAULT_PRIMARY_TYPE |
static Name |
JcrLexicon.DEFAULT_VALUES |
static Name |
ModeShapeLexicon.DEPTH |
static Name |
JcrLexicon.DESCRIPTION |
static Name |
JcrLexicon.ENCODING |
static Name |
JcrMixLexicon.ETAG
The name for the "mix:etag" mixin.
|
static Name |
JcrLexicon.ETAG |
static Name |
ModeShapeLexicon.EXPIRATION_DATE |
static Name |
ModeShapeLexicon.EXTERNAL_NODE_KEY |
static Name |
ModeShapeLexicon.FEDERATION
Federation related items
|
static Name |
JcrNtLexicon.FILE |
static Name |
JcrNtLexicon.FOLDER |
static Name |
JcrLexicon.FROZEN_MIXIN_TYPES |
static Name |
JcrNtLexicon.FROZEN_NODE |
static Name |
JcrLexicon.FROZEN_NODE |
static Name |
JcrLexicon.FROZEN_PRIMARY_TYPE |
static Name |
JcrLexicon.FROZEN_UUID |
static Name |
ModeShapeLexicon.GENERATED |
static Name |
SystemNamespaceRegistry.GENERATED_PROPERTY_NAME |
static Name |
JcrLexicon.HAS_ORDERABLE_CHILD_NODES |
static Name |
JcrNtLexicon.HIERARCHY_NODE |
static Name |
JcrLexicon.HOLD |
static Name |
ModeShapeLexicon.INDEX |
static Name |
ModeShapeLexicon.INDEX_COLUMN |
static Name |
ModeShapeLexicon.INDEX_PROVIDER |
static Name |
ModeShapeLexicon.INDEXES
Index-related items
|
static Name |
JcrLexicon.IS_ABSTRACT |
static Name |
JcrLexicon.IS_CHECKED_OUT |
static Name |
ModeShapeLexicon.IS_DEEP
Deprecated.
|
static Name |
JcrLexicon.IS_DEEP |
static Name |
JcrLexicon.IS_FULL_TEXT_SEARCHABLE |
static Name |
ModeShapeLexicon.IS_HELD_BY_SESSION |
static Name |
JcrLexicon.IS_MIXIN |
static Name |
JcrLexicon.IS_QUERY_ORDERABLE |
static Name |
JcrLexicon.IS_QUERYABLE |
static Name |
ModeShapeLexicon.IS_SESSION_SCOPED |
static Name |
ModeShapeLexicon.KIND |
static Name |
JcrLexicon.LANGUAGE |
static Name |
JcrMixLexicon.LAST_MODIFIED |
static Name |
JcrLexicon.LAST_MODIFIED |
static Name |
JcrLexicon.LAST_MODIFIED_BY |
static Name |
JcrMixLexicon.LIFECYCLE
The name for the "mix:lifecycle" mixin.
|
static Name |
JcrLexicon.LIFECYCLE_POLICY |
static Name |
JcrNtLexicon.LINKED_FILE |
static Name |
ModeShapeLexicon.LOCALNAME |
static Name |
ModeShapeLexicon.LOCK |
static Name |
JcrLexicon.LOCK_IS_DEEP |
static Name |
JcrLexicon.LOCK_OWNER |
static Name |
ModeShapeLexicon.LOCK_TOKEN |
static Name |
JcrMixLexicon.LOCKABLE |
static Name |
ModeShapeLexicon.LOCKED_KEY
Deprecated.
|
static Name |
ModeShapeLexicon.LOCKING_SESSION |
static Name |
ModeShapeLexicon.LOCKS |
static Name |
JcrMixLexicon.MANAGED_RETENTION
The name for the "mix:managedRetention" mixin.
|
static Name |
JcrLexicon.MANDATORY |
static Name |
JcrLexicon.MERGE_FAILED |
static Name |
JcrLexicon.MIMETYPE |
static Name |
JcrLexicon.MIXIN_TYPES |
static Name |
JcrSvLexicon.MULTIPLE |
static Name |
JcrLexicon.MULTIPLE |
static Name |
JcrSvLexicon.NAME |
static Name |
JcrLexicon.NAME |
static Name |
ModeShapeLexicon.NAMESPACE |
static Name |
ModeShapeLexicon.NAMESPACES |
static Name |
JcrSvLexicon.NODE |
static Name |
JcrNtLexicon.NODE_TYPE |
static Name |
ModeShapeLexicon.NODE_TYPE_NAME |
static Name |
JcrLexicon.NODE_TYPE_NAME |
static Name |
ModeShapeLexicon.NODE_TYPES |
static Name |
JcrLexicon.NODE_TYPES |
static Name |
JcrLexicon.ON_PARENT_VERSION |
static Name |
JcrLexicon.PATH
The "jcr:path" pseudo-column used in queries
|
static Name |
ModeShapeLexicon.PERMISSION |
static Name |
JcrLexicon.PREDECESSORS |
static Name |
JcrLexicon.PRIMARY_ITEM_NAME |
static Name |
JcrLexicon.PRIMARY_TYPE |
static Name |
ModeShapeLexicon.PROJECTED_NODE_KEY |
static Name |
ModeShapeLexicon.PROJECTION |
static Name |
ModeShapeLexicon.PROJECTION_ALIAS |
static Name |
JcrSvLexicon.PROPERTY |
static Name |
JcrNtLexicon.PROPERTY_DEFINITION |
static Name |
JcrLexicon.PROPERTY_DEFINITION |
static Name |
ModeShapeLexicon.PROPERTY_NAME |
static Name |
JcrLexicon.PROTECTED |
static Name |
JcrNtLexicon.QUERY |
static Name |
JcrMixLexicon.REFERENCEABLE |
static Name |
ModeShapeLexicon.REPOSITORY
The name of the node which is used for running 1-time operations
|
static Name |
JcrLexicon.REQUIRED_PRIMARY_TYPES |
static Name |
JcrLexicon.REQUIRED_TYPE |
static Name |
JcrNtLexicon.RESOURCE |
static Name |
JcrLexicon.RETENTION_POLICY |
static Name |
ModeShapeLexicon.ROOT |
static Name |
JcrLexicon.ROOT |
static Name |
JcrLexicon.ROOT_VERSION |
static Name |
JcrLexicon.SAME_NAME_SIBLINGS |
static Name |
JcrLexicon.SCORE
The "jcr:score" pseudo-column used in queries
|
static Name |
ModeShapeLexicon.SESSION_SCOPE
Deprecated.
|
static Name |
ModeShapeLexicon.SHARE
The name of the "mode:share" node type, used as the primary type on nodes that are proxies for the original node.
|
static Name |
JcrNtLexicon.SHARE
The "nt:share" node type name only appears in a serialized XML document exported from a repository, and never
appears in the actual repository content.
|
static Name |
JcrMixLexicon.SHAREABLE
The name for the "mix:shareable" mixin.
|
static Name |
ModeShapeLexicon.SHARED_UUID
The REFERENCE property on the "mode:share" node type.
|
static Name |
JcrLexicon.STATEMENT |
static Name |
JcrLexicon.SUCCESSORS |
static Name |
JcrLexicon.SUPERTYPES |
static Name |
ModeShapeLexicon.SYSTEM |
static Name |
JcrLexicon.SYSTEM |
static Name |
JcrLexicon.TITLE |
static Name |
JcrSvLexicon.TYPE |
static Name |
JcrNtLexicon.UNSTRUCTURED |
static Name |
ModeShapeLexicon.URI |
static Name |
SystemNamespaceRegistry.URI_PROPERTY_NAME |
static Name |
JcrLexicon.UUID |
static Name |
JcrSvLexicon.VALUE |
static Name |
JcrLexicon.VALUE_CONSTRAINTS |
static Name |
JcrNtLexicon.VERSION |
static Name |
JcrNtLexicon.VERSION_HISTORY |
static Name |
JcrLexicon.VERSION_HISTORY |
static Name |
ModeShapeLexicon.VERSION_HISTORY_FOLDER |
static Name |
JcrNtLexicon.VERSION_LABELS |
static Name |
JcrLexicon.VERSION_LABELS |
static Name |
ModeShapeLexicon.VERSION_STORAGE |
static Name |
JcrLexicon.VERSION_STORAGE |
static Name |
JcrMixLexicon.VERSIONABLE |
static Name |
JcrLexicon.VERSIONABLE_UUID |
static Name |
JcrNtLexicon.VERSIONED_CHILD |
static Name |
ModeShapeLexicon.WORKSPACE |
static Name |
JcrLexicon.XMLCHARACTERS |
static Name |
JcrLexicon.XMLTEXT |
Modifier and Type | Method and Description |
---|---|
Name |
NodeTypeExistsException.getNodeType()
Get the name of the existing node type.
|
protected Name |
SystemContent.nextNameForVersionNode(Property predecessors,
ChildReferences historyChildren)
Compute the name for the next version node in the given history.
|
protected Name |
CndImporter.parseName(TokenStream tokens)
Parse the name that is expected to be next on the token stream.
|
protected Name |
CndImporter.parseNodeTypeName(TokenStream tokens)
Parse a node type name that appears next on the token stream.
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
NodeTypes.getAllNodeTypeNames()
Return an immutable snapshot of the names of the node types currently registered in this node type manager.
|
Map<Name,Property> |
Connectors.LocalDocumentStoreExtraProperties.getProperties(String id) |
protected List<Name> |
CndImporter.parseNameList(TokenStream tokens)
Parse a list of names, separated by commas.
|
protected List<Name> |
CndImporter.parseSupertypes(TokenStream tokens)
Parse an optional list of supertypes if they appear next on the token stream.
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<?> |
SystemContent.all(CachedNode node,
Name propertyName) |
boolean |
NodeTypes.disallowsSameNameSiblings(Name primaryType,
Set<Name> mixinTypes) |
protected org.modeshape.jcr.JcrNodeType |
NodeTypes.findTypeInMapOrList(Name typeName,
Collection<org.modeshape.jcr.JcrNodeType> pendingList)
Finds the named type in the given collection of types pending registration if it exists, else returns the type definition
from the repository
|
protected Object |
SystemContent.first(CachedNode node,
Name propertyName) |
protected Object |
SystemContent.first(CachedNode node,
Name propertyName,
Object defaultValue) |
Collection<org.modeshape.jcr.JcrNodeDefinition> |
NodeTypes.getAutoCreatedChildNodeDefinitions(Name nodeType)
Get the auto-created child node definitions for the named node type.
|
Collection<org.modeshape.jcr.JcrPropertyDefinition> |
NodeTypes.getAutoCreatedPropertyDefinitions(Name nodeType)
Get the auto-created property definitions for the named node type.
|
Collection<org.modeshape.jcr.JcrNodeDefinition> |
NodeTypes.getMandatoryChildNodeDefinitions(Name primaryType,
Set<Name> mixinTypes)
Get the mandatory child node definitions for a node with the named primary type and mixin types.
|
Collection<org.modeshape.jcr.JcrPropertyDefinition> |
NodeTypes.getMandatoryPropertyDefinitions(Name primaryType,
Set<Name> mixinTypes)
Get the mandatory property definitions for a node with the named primary type and mixin types.
|
protected org.modeshape.jcr.JcrNodeType |
NodeTypeSchemata.getNodeType(Name nodeTypeName) |
boolean |
NodeTypes.hasMandatoryChildNodeDefinitions(Name primaryType,
Set<Name> mixinTypes)
Determine if the named primary node type or mixin types has at least one mandatory child node definitions declared on it or
any of its supertypes.
|
boolean |
NodeTypes.hasMandatoryPropertyDefinitions(Name primaryType,
Set<Name> mixinTypes)
Determine if the named primary node type or mixin types has at least one mandatory property definitions declared on it or
any of its supertypes.
|
protected MutableCachedNode |
SystemContent.initializeVersionStorage(NodeKey versionableNodeKey,
NodeKey versionHistoryKey,
NodeKey versionKey,
Name primaryTypeName,
Set<Name> mixinTypeNames,
Path versionHistoryPath,
NodeKey originalVersionKey,
DateTime now)
Create and initialize the version history structure for a versionable node with the supplied UUID.
|
boolean |
NodeTypes.isCreated(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:created' mixin type.
|
boolean |
NodeTypes.isETag(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:etag' mixin type.
|
boolean |
NodeTypes.isFullyDefinedType(Name primaryTypeName,
Set<Name> mixinTypeNames)
Determine if the named node type does not appear in any of the other sets.
|
boolean |
NodeTypes.isLastModified(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:lastModified' mixin type.
|
boolean |
NodeTypes.isMixin(Name nodeTypeName)
Determine whether the node type given by the supplied name is a mixin node type.
|
boolean |
NodeTypes.isNtResource(Name primaryType)
Determine if the named primary node type is or subtypes the 'nt:resource' node type.
|
boolean |
NodeTypes.isReferenceable(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:referenceable' mixin type.
|
boolean |
NodeTypes.isVersionable(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:versionable' mixin type.
|
SequencerPathExpression.Matcher |
Sequencers.SequencingConfiguration.matches(String pathToChangedNode,
Name changedPropertyName)
Determine if this sequencer configuration matches the supplied changed node and property, meaning the changes should be
sequenced by this sequencer.
|
protected org.modeshape.jcr.JcrPropertyDefinition |
NodeTypeSchemata.pseudoProperty(ExecutionContext context,
Name name,
int propertyType) |
IndexDefinition |
SystemContent.readIndexDefinition(CachedNode indexDefn,
Name providerName) |
Modifier and Type | Method and Description |
---|---|
boolean |
NodeTypes.disallowsSameNameSiblings(Name primaryType,
Set<Name> mixinTypes) |
Collection<org.modeshape.jcr.JcrNodeDefinition> |
NodeTypes.getMandatoryChildNodeDefinitions(Name primaryType,
Set<Name> mixinTypes)
Get the mandatory child node definitions for a node with the named primary type and mixin types.
|
Collection<org.modeshape.jcr.JcrPropertyDefinition> |
NodeTypes.getMandatoryPropertyDefinitions(Name primaryType,
Set<Name> mixinTypes)
Get the mandatory property definitions for a node with the named primary type and mixin types.
|
boolean |
NodeTypes.hasMandatoryChildNodeDefinitions(Name primaryType,
Set<Name> mixinTypes)
Determine if the named primary node type or mixin types has at least one mandatory child node definitions declared on it or
any of its supertypes.
|
boolean |
NodeTypes.hasMandatoryPropertyDefinitions(Name primaryType,
Set<Name> mixinTypes)
Determine if the named primary node type or mixin types has at least one mandatory property definitions declared on it or
any of its supertypes.
|
protected MutableCachedNode |
SystemContent.initializeVersionStorage(NodeKey versionableNodeKey,
NodeKey versionHistoryKey,
NodeKey versionKey,
Name primaryTypeName,
Set<Name> mixinTypeNames,
Path versionHistoryPath,
NodeKey originalVersionKey,
DateTime now)
Create and initialize the version history structure for a versionable node with the supplied UUID.
|
boolean |
NodeTypes.isCreated(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:created' mixin type.
|
boolean |
NodeTypes.isETag(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:etag' mixin type.
|
boolean |
NodeTypes.isFullyDefinedType(Name primaryTypeName,
Set<Name> mixinTypeNames)
Determine if the named node type does not appear in any of the other sets.
|
boolean |
NodeTypes.isLastModified(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:lastModified' mixin type.
|
boolean |
NodeTypes.isReferenceable(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:referenceable' mixin type.
|
boolean |
NodeTypes.isVersionable(Name primaryType,
Set<Name> mixinTypes)
Determine if at least one of the named primary node type or mixin types is or subtypes the 'mix:versionable' mixin type.
|
protected String[] |
CndImporter.names(Collection<Name> names) |
List<NodeTypeDefinition> |
SystemContent.readNodeTypes(Set<Name> nodeTypesToRefresh)
Read from system storage the node type definitions with the supplied names.
|
void |
Connectors.LocalDocumentStoreExtraProperties.storeProperties(String id,
Map<Name,Property> properties) |
void |
Connectors.LocalDocumentStoreExtraProperties.updateProperties(String id,
Map<Name,Property> properties) |
Constructor and Description |
---|
NodeTypeExistsException(Name nodeType) |
NodeTypeExistsException(Name nodeType,
String message) |
NodeTypeExistsException(Name nodeType,
String message,
Throwable rootCause) |
NodeTypeExistsException(Name nodeType,
Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
Name |
ChildReference.getName() |
Name |
CachedNode.getName(NodeCache cache)
Get the name for this node, without any same-name-sibiling (SNS) index.
|
Name |
CachedNode.getPrimaryType(NodeCache cache)
Get the primary type for this node.
|
protected Name |
RepositoryCache.name(String name) |
Name |
ChildReferences.Changes.renamed(NodeKey key)
Return the new name for the child node with the supplied key.
|
Name |
ChildReferences.NoChanges.renamed(NodeKey key) |
Modifier and Type | Method and Description |
---|---|
Set<Name> |
MutableCachedNode.NodeChanges.addedMixins()
Returns a set with the names of the mixins that have been added.
|
LinkedHashMap<NodeKey,Name> |
MutableCachedNode.NodeChanges.appendedChildren()
Returns the [childKey, childName] pairs of the children that have been appended (at the end).
|
Set<Name> |
MutableCachedNode.NodeChanges.changedPropertyNames()
Returns a set with the names of the properties that have changed.
|
Map<NodeKey,LinkedHashMap<NodeKey,Name>> |
MutableCachedNode.NodeChanges.childrenInsertedBefore()
Returns the [insertBeforeChildKey, [childKey, childName]] structure of the children that been inserted before another
existing child.
|
Set<Name> |
MutableCachedNode.getAddedMixins(SessionCache cache)
Get the set of mixin names that were added to this node but not yet saved.
|
Set<Name> |
CachedNode.getMixinTypes(NodeCache cache)
Get the set of mixin types for this node.
|
Set<Name> |
MutableCachedNode.NodeChanges.removedMixins()
Returns a set with the names of the mixins that have been removed.
|
Set<Name> |
MutableCachedNode.NodeChanges.removedPropertyNames()
Returns a set with the names of the properties that have been removed.
|
Map<NodeKey,Name> |
MutableCachedNode.NodeChanges.renamedChildren()
Returns the [childKey, childName] pairs of the children that have been renamed, where "childName" represents the new
name after the rename.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableCachedNode.addMixin(SessionCache cache,
Name mixinName)
Add the supplied mixin type if not already an explicitly referenced.
|
int |
ChildReferences.Context.consume(Name name,
NodeKey key)
Consume the next child with the supplied name and key.
|
int |
ChildReferences.NoContext.consume(Name name,
NodeKey key) |
int |
ChildReferences.NoSnsIndexesContext.consume(Name name,
NodeKey key) |
int |
ChildReferences.SingleNameContext.consume(Name name,
NodeKey key) |
int |
ChildReferences.BasicContext.consume(Name name,
NodeKey key) |
int |
ChildReferences.WithChanges.consume(Name name,
NodeKey key) |
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Iterable<Property> properties)
Create a new node as a child of this node with the supplied name and properties.
|
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties)
Create a new node as a child of this node with the supplied name and properties.
|
ChildReference |
ChildReferences.getChild(Name name)
Look for the child reference that has the given name and a SNS index of '1'.
|
ChildReference |
ChildReferences.getChild(Name name,
int snsIndex)
Look for the child reference that has the given name and SNS index.
|
ChildReference |
ChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context)
Look for the child reference that has the given name and SNS index.
|
int |
ChildReferences.getChildCount(Name name)
Return the number of nodes that have the supplied name.
|
Property |
CachedNode.getProperty(Name name,
NodeCache cache)
Get the property with the given name.
|
boolean |
CachedNode.hasProperty(Name name,
NodeCache cache)
Determine if the node contains a property with the specified name.
|
int |
ChildReferences.Changes.insertionCount(Name name)
Get the number of child references that were inserted with the given name.
|
int |
ChildReferences.NoChanges.insertionCount(Name name) |
Iterator<ChildReferences.ChildInsertions> |
ChildReferences.Changes.insertions(Name name)
Get the references to the children with the supplied name that were inserted.
|
Iterator<ChildReferences.ChildInsertions> |
ChildReferences.NoChanges.insertions(Name name) |
boolean |
MutableCachedNode.isPropertyModified(SessionCache cache,
Name propertyName)
Return whether the property with the supplied name was modified since the session was last saved.
|
boolean |
MutableCachedNode.isPropertyNew(SessionCache cache,
Name propertyName)
Return whether the property with the supplied name was created since the session was last saved.
|
boolean |
ChildReferences.Changes.isRenamed(Name newName)
Determine whether any of the child references were renamed to the supplied name.
|
boolean |
ChildReferences.NoChanges.isRenamed(Name newName) |
Iterator<ChildReference> |
ChildReferences.iterator(Name name)
Get an iterator over all of the children that have same name matching the supplied value.
|
Iterator<ChildReference> |
ChildReferences.iterator(Name name,
ChildReferences.Context context)
Get an iterator over all of the children that have same name matching the supplied value.
|
boolean |
MutableCachedNode.linkChild(SessionCache cache,
NodeKey childKey,
Name name)
Link the existing node with the supplied key to be appended as a child of this node.
|
void |
MutableCachedNode.moveChild(SessionCache cache,
NodeKey key,
MutableCachedNode newParent,
Name newName)
Remove the node from being a child of this node and append it as a child of the supplied node.
|
void |
SessionEnvironment.Monitor.recordAdd(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator)
Add to the index the information about a node.
|
void |
SessionEnvironment.Monitor.recordUpdate(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties)
Update the index to reflect the new state of the node.
|
void |
MutableCachedNode.removeMixin(SessionCache cache,
Name mixinName)
Remove the supplied mixin type if already an explicitly referenced.
|
void |
MutableCachedNode.removeProperty(SessionCache cache,
Name name)
Remove the property with the given name.
|
void |
MutableCachedNode.renameChild(SessionCache cache,
NodeKey key,
Name newName)
Renames the child node.
|
ChildReference |
ChildReference.with(Name name,
int snsIndex) |
Modifier and Type | Method and Description |
---|---|
void |
SessionEnvironment.Monitor.recordAdd(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator)
Add to the index the information about a node.
|
void |
SessionEnvironment.Monitor.recordUpdate(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties)
Update the index to reflect the new state of the node.
|
Constructor and Description |
---|
ChildReference(NodeKey key,
Name name,
int snsIndex) |
Modifier and Type | Method and Description |
---|---|
Name |
AbstractNodeChange.getPrimaryType()
Returns the primary type of the node
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
AbstractNodeChange.getMixinTypes()
Returns the mixins for this node.
|
Map<Name,Property> |
NodeAdded.getProperties()
Get the immutable map of properties that were added as part of this node.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingChanges.nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes)
Create an event signifying that something about the node (other than the properties or location) changed.
|
void |
RecordingChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
NoOpChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
Changes.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node was created.
|
void |
RecordingChanges.nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath) |
void |
NoOpChanges.nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath) |
void |
Changes.nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath)
Signal that a node was moved from one parent to another, and may have also been renamed.
|
void |
RecordingChanges.nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node was removed.
|
void |
RecordingChanges.nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeRenamed(NodeKey key,
Path path,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node was renamed (but still has the same parent)
|
void |
RecordingChanges.nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath) |
void |
NoOpChanges.nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath) |
void |
Changes.nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath)
Signal that a node was placed into a new location within the same parent.
|
void |
RecordingChanges.nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
void |
NoOpChanges.nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
void |
Changes.nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName)
Signal that a node was successfully sequenced.
|
void |
RecordingChanges.nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause) |
void |
NoOpChanges.nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause) |
void |
Changes.nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause)
Signal that a node was not sequenced successfully.
|
void |
RecordingChanges.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
NoOpChanges.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
Changes.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was added to a node.
|
void |
RecordingChanges.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
void |
NoOpChanges.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
void |
Changes.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty)
Signal that a property was changed on a node.
|
void |
RecordingChanges.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
NoOpChanges.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
Changes.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was removed from a node.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingChanges.nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes)
Create an event signifying that something about the node (other than the properties or location) changed.
|
void |
RecordingChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
RecordingChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
NoOpChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
NoOpChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
Changes.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node was created.
|
void |
Changes.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node was created.
|
void |
RecordingChanges.nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath) |
void |
NoOpChanges.nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath) |
void |
Changes.nodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey newParent,
NodeKey oldParent,
Path newPath,
Path oldPath)
Signal that a node was moved from one parent to another, and may have also been renamed.
|
void |
RecordingChanges.nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node was removed.
|
void |
RecordingChanges.nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeRenamed(NodeKey key,
Path path,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node was renamed (but still has the same parent)
|
void |
RecordingChanges.nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath) |
void |
NoOpChanges.nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath) |
void |
Changes.nodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath)
Signal that a node was placed into a new location within the same parent.
|
void |
RecordingChanges.nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
void |
NoOpChanges.nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
void |
Changes.nodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName)
Signal that a node was successfully sequenced.
|
void |
RecordingChanges.nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause) |
void |
NoOpChanges.nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause) |
void |
Changes.nodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause)
Signal that a node was not sequenced successfully.
|
void |
RecordingChanges.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
NoOpChanges.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
Changes.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was added to a node.
|
void |
RecordingChanges.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
void |
NoOpChanges.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
void |
Changes.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty)
Signal that a property was changed on a node.
|
void |
RecordingChanges.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
NoOpChanges.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
Changes.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was removed from a node.
|
Constructor and Description |
---|
AbstractNodeChange(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
AbstractPropertyChange(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
AbstractSequencingChange(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
NodeAdded(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
NodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
NodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey oldParent,
NodeKey newParent,
Path newPath,
Path oldPath) |
NodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
NodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldSegment,
Name primaryType,
Set<Name> mixinTypes) |
NodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath) |
NodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
NodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause) |
PropertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
PropertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
PropertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
Constructor and Description |
---|
AbstractNodeChange(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
AbstractPropertyChange(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
AbstractSequencingChange(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
NodeAdded(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
NodeAdded(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
NodeChanged(NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
NodeMoved(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey oldParent,
NodeKey newParent,
Path newPath,
Path oldPath) |
NodeRemoved(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes) |
NodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldSegment,
Name primaryType,
Set<Name> mixinTypes) |
NodeReordered(NodeKey key,
Name primaryType,
Set<Name> mixinTypes,
NodeKey parent,
Path newPath,
Path oldPath,
Path reorderedBeforePath) |
NodeSequenced(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
NodeKey outputNodeKey,
Path outputNodePath,
String outputPath,
String userId,
String selectedPath,
String sequencerName) |
NodeSequencingFailure(NodeKey sequencedNodeKey,
Path sequencedNodePath,
Name sequencedNodePrimaryType,
Set<Name> sequencedNodeMixinTypes,
String outputPath,
String userId,
String selectedPath,
String sequencerName,
Throwable cause) |
PropertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
PropertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
PropertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
Modifier and Type | Method and Description |
---|---|
Name |
SessionNode.getName(NodeCache cache) |
Name |
LazyCachedNode.getName(NodeCache cache) |
Name |
DocumentTranslator.getPrimaryType(Document document) |
Name |
SessionNode.getPrimaryType(NodeCache cache) |
Name |
LazyCachedNode.getPrimaryType(NodeCache cache) |
Name |
SessionNode.ChangedChildren.renamed(NodeKey key) |
Modifier and Type | Method and Description |
---|---|
protected ConcurrentMap<Name,Property> |
SessionNode.changedProperties() |
Set<Name> |
SessionNode.MixinChanges.getAdded() |
Set<Name> |
SessionNode.getAddedMixins(SessionCache cache) |
Set<Name> |
DocumentTranslator.getMixinTypes(Document document) |
Set<Name> |
SessionNode.getMixinTypes(NodeCache cache) |
Set<Name> |
LazyCachedNode.getMixinTypes(NodeCache cache) |
Map<NodeKey,Name> |
SessionNode.ChangedChildren.getNewNames()
Get the names for the new nodes, keyed by their key.
|
Set<Name> |
SessionNode.MixinChanges.getRemoved() |
protected Map<Name,Property> |
LazyCachedNode.properties() |
protected Set<Name> |
SessionNode.removedProperties() |
Modifier and Type | Method and Description |
---|---|
void |
SessionNode.MixinChanges.add(Name mixin) |
void |
SessionNode.addMixin(SessionCache cache,
Name mixinName) |
void |
DocumentTranslator.addPropertyValues(EditableDocument document,
Name propertyName,
boolean isMultiple,
Collection<?> values,
Set<BinaryKey> unusedBinaryKeys) |
void |
MutableChildReferences.append(NodeKey key,
Name name) |
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Iterable<Property> properties) |
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties) |
protected Iterator<ChildReference> |
SessionChildReferences.createIterator(Name name,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name) |
ChildReference |
AbstractChildReferences.getChild(Name name) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name,
int snsIndex) |
ChildReference |
AbstractChildReferences.getChild(Name name,
int snsIndex) |
ChildReference |
SessionChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
MutableChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Medium.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.Segmented.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
ChildReference |
ImmutableChildReferences.FederatedReferences.getChild(Name name,
int snsIndex,
ChildReferences.Context context) |
int |
SessionChildReferences.getChildCount(Name name) |
int |
MutableChildReferences.getChildCount(Name name) |
int |
ImmutableChildReferences.EmptyChildReferences.getChildCount(Name name) |
int |
ImmutableChildReferences.Medium.getChildCount(Name name) |
int |
ImmutableChildReferences.Segmented.getChildCount(Name name) |
int |
ImmutableChildReferences.FederatedReferences.getChildCount(Name name) |
Property |
DocumentTranslator.getProperty(Document document,
Name propertyName) |
Property |
SessionNode.getProperty(Name name,
NodeCache cache) |
Property |
LazyCachedNode.getProperty(Name name,
NodeCache cache) |
boolean |
DocumentTranslator.hasProperty(Document document,
Name propertyName) |
boolean |
SessionNode.hasProperty(Name name,
NodeCache cache) |
boolean |
LazyCachedNode.hasProperty(Name name,
NodeCache cache) |
int |
SessionNode.ChangedChildren.insertionCount(Name name) |
Iterator<ChildReferences.ChildInsertions> |
SessionNode.ChangedChildren.insertions(Name name) |
Iterator<ChildReferences.ChildInsertions> |
SessionNode.InsertedChildReferences.insertions(Name name) |
boolean |
SessionNode.isPropertyModified(SessionCache cache,
Name propertyName) |
boolean |
SessionNode.isPropertyNew(SessionCache cache,
Name propertyName) |
protected boolean |
SessionNode.isPropertyRemoved(Name name) |
boolean |
SessionNode.ChangedChildren.isRenamed(Name newName) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(ChildReferences.Context context,
Name name) |
Iterator<ChildReference> |
MutableChildReferences.iterator(Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.Medium.iterator(Name name) |
Iterator<ChildReference> |
ImmutableChildReferences.Segmented.iterator(Name name) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(Name name) |
Iterator<ChildReference> |
SessionChildReferences.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
ImmutableChildReferences.EmptyChildReferences.iterator(Name name,
ChildReferences.Context context) |
Iterator<ChildReference> |
AbstractChildReferences.iterator(Name name,
ChildReferences.Context context) |
boolean |
SessionNode.linkChild(SessionCache cache,
NodeKey childKey,
Name name) |
void |
SessionNode.moveChild(SessionCache cache,
NodeKey key,
MutableCachedNode newParent,
Name newName) |
String |
LocalDocumentStore.newDocumentKey(String parentKey,
Name documentName,
Name documentPrimaryType) |
String |
DocumentStore.newDocumentKey(String parentKey,
Name documentName,
Name documentPrimaryType)
Generates a new key which will be assigned to a new child document when it is being added to its parent.
|
protected Property |
DocumentTranslator.propertyFor(Name propertyName,
Object fieldValue) |
void |
SessionNode.MixinChanges.remove(Name mixin) |
void |
SessionNode.removeMixin(SessionCache cache,
Name mixinName) |
Property |
DocumentTranslator.removeProperty(EditableDocument document,
Name propertyName,
Set<BinaryKey> unusedBinaryKeys) |
void |
SessionNode.removeProperty(SessionCache cache,
Name name) |
void |
DocumentTranslator.removePropertyValues(EditableDocument document,
Name propertyName,
Collection<?> values,
Set<BinaryKey> unusedBinaryKeys) |
void |
SessionNode.renameChild(SessionCache cache,
NodeKey key,
Name newName) |
void |
SessionNode.ChangedChildren.renameTo(NodeKey key,
Name newName)
Rename the child reference with the given key.
|
protected int |
SessionNode.InsertedChildReferences.size(Name name) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentTranslator.getProperties(Document document,
Map<Name,Property> result) |
protected long |
DocumentTranslator.insertChildren(EditableDocument document,
Map<NodeKey,SessionNode.Insertions> insertionsByBeforeKey,
Set<NodeKey> removals,
Map<NodeKey,Name> newNames) |
Constructor and Description |
---|
AbstractChildReferences.ChildReferenceWithNameIterator(Iterator<ChildReference> delegate,
Name name) |
Modifier and Type | Field and Description |
---|---|
protected static Map<Name,Property> |
NoExtraPropertiesStorage.NO_PROPERTIES_MAP |
Modifier and Type | Method and Description |
---|---|
Name |
FederatedDocumentReader.getPrimaryType() |
protected Name |
FederatedDocumentWriter.nameFrom(String name) |
Modifier and Type | Method and Description |
---|---|
Set<Name> |
FederatedDocumentChanges.FederatedPropertyChanges.getAdded() |
Set<Name> |
FederatedDocumentChanges.FederatedMixinChanges.getAdded() |
LinkedHashMap<String,Name> |
FederatedDocumentChanges.FederatedChildrenChanges.getAppended() |
Set<Name> |
FederatedDocumentChanges.FederatedPropertyChanges.getChanged() |
LinkedHashMap<String,Name> |
FederatedDocumentReader.getChildrenMap() |
Map<String,LinkedHashMap<String,Name>> |
FederatedDocumentChanges.FederatedChildrenChanges.getInsertedBeforeAnotherChild() |
Set<Name> |
FederatedDocumentReader.getMixinTypes() |
Map<Name,Property> |
FederatedDocumentReader.getProperties() |
Map<Name,Property> |
NoExtraPropertiesStorage.getProperties(String id) |
Set<Name> |
FederatedDocumentChanges.FederatedPropertyChanges.getRemoved() |
Set<Name> |
FederatedDocumentChanges.FederatedMixinChanges.getRemoved() |
Map<String,Name> |
FederatedDocumentChanges.FederatedChildrenChanges.getRenamed() |
Modifier and Type | Method and Description |
---|---|
DocumentWriter |
FederatedDocumentWriter.addChild(String id,
Name name) |
DocumentWriter |
FederatedDocumentWriter.addMixinType(Name name) |
DocumentWriter |
FederatedDocumentWriter.addProperty(Name name,
Object value) |
DocumentWriter |
FederatedDocumentWriter.addProperty(Name name,
Object[] values) |
DocumentWriter |
FederatedDocumentWriter.addProperty(Name name,
Object firstValue,
Object... additionalValues) |
DocumentWriter |
FederatedDocumentWriter.addPropertyValue(Name name,
Object value) |
Property |
FederatedDocumentReader.getProperty(Name name) |
String |
FederatedDocumentStore.newDocumentKey(String parentKey,
Name documentName,
Name documentPrimaryType) |
void |
ConnectorChangeSetImpl.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
ConnectorChangeSetImpl.nodeMoved(String docId,
Name primaryType,
Set<Name> mixinTypes,
String newParentDocId,
String oldParentDocId,
String newPath,
String oldPath) |
void |
ConnectorChangeSetImpl.nodeRemoved(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes) |
void |
ConnectorChangeSetImpl.nodeReordered(String docId,
Name primaryType,
Set<Name> mixinTypes,
String parentDocId,
String newPath,
String oldNameSegment,
String reorderedBeforeNameSegment) |
void |
ConnectorChangeSetImpl.propertyAdded(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property) |
void |
ConnectorChangeSetImpl.propertyChanged(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property oldProperty,
Property newProperty) |
void |
ConnectorChangeSetImpl.propertyRemoved(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property) |
DocumentWriter |
FederatedDocumentWriter.setPrimaryType(Name name) |
Modifier and Type | Method and Description |
---|---|
DocumentWriter |
FederatedDocumentWriter.addProperties(Map<Name,Property> properties) |
void |
ConnectorChangeSetImpl.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
ConnectorChangeSetImpl.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
ConnectorChangeSetImpl.nodeMoved(String docId,
Name primaryType,
Set<Name> mixinTypes,
String newParentDocId,
String oldParentDocId,
String newPath,
String oldPath) |
void |
ConnectorChangeSetImpl.nodeRemoved(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes) |
void |
ConnectorChangeSetImpl.nodeReordered(String docId,
Name primaryType,
Set<Name> mixinTypes,
String parentDocId,
String newPath,
String oldNameSegment,
String reorderedBeforeNameSegment) |
void |
ConnectorChangeSetImpl.propertyAdded(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property) |
void |
ConnectorChangeSetImpl.propertyChanged(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property oldProperty,
Property newProperty) |
void |
ConnectorChangeSetImpl.propertyRemoved(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property) |
DocumentWriter |
FederatedDocumentWriter.setChildren(LinkedHashMap<String,Name> children) |
protected void |
FederatedDocumentChanges.setChildrenChanges(LinkedHashMap<String,Name> sessionAppendedChildren,
Map<String,Name> sessionRenamedChildren,
Set<String> sessionRemovedChildren,
Map<String,LinkedHashMap<String,Name>> sessionChildrenInsertedBeforeAnotherChild) |
protected void |
FederatedDocumentChanges.setChildrenChanges(LinkedHashMap<String,Name> sessionAppendedChildren,
Map<String,Name> sessionRenamedChildren,
Set<String> sessionRemovedChildren,
Map<String,LinkedHashMap<String,Name>> sessionChildrenInsertedBeforeAnotherChild) |
protected void |
FederatedDocumentChanges.setChildrenChanges(LinkedHashMap<String,Name> sessionAppendedChildren,
Map<String,Name> sessionRenamedChildren,
Set<String> sessionRemovedChildren,
Map<String,LinkedHashMap<String,Name>> sessionChildrenInsertedBeforeAnotherChild) |
protected void |
FederatedDocumentChanges.setMixinChanges(Set<Name> addedMixins,
Set<Name> removedMixins) |
protected void |
FederatedDocumentChanges.setMixinChanges(Set<Name> addedMixins,
Set<Name> removedMixins) |
DocumentWriter |
FederatedDocumentWriter.setProperties(Map<Name,Property> properties) |
protected void |
FederatedDocumentChanges.setPropertyChanges(Set<Name> sessionChangedProperties,
Set<Name> sessionRemovedProperties) |
protected void |
FederatedDocumentChanges.setPropertyChanges(Set<Name> sessionChangedProperties,
Set<Name> sessionRemovedProperties) |
void |
NoExtraPropertiesStorage.storeProperties(String id,
Map<Name,Property> properties) |
void |
NoExtraPropertiesStorage.updateProperties(String id,
Map<Name,Property> properties) |
Modifier and Type | Method and Description |
---|---|
Name |
JcrQueryContext.getName(CachedNode node)
Get the internal
Name of the supplied cached node. |
Modifier and Type | Method and Description |
---|---|
void |
CompositeIndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder> |
QueryBuilder.RightHandSide.cast(Name literal)
Define the right-hand side of a comparison.
|
QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder> |
QueryBuilder.UpperBoundary.cast(Name literal)
Define the upper boundary value of a range.
|
QueryBuilder.CastAs<QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>> |
QueryBuilder.LowerBoundary.cast(Name literal)
Define the lower boundary value of a range.
|
static RowExtractors.ExtractFromRow |
RowExtractors.extractFullText(int indexInRow,
NodeCache cache,
Name propertyName,
TypeSystem types,
BinaryStore binaries)
Obtain a new
RowExtractors.ExtractFromRow instance that will extract the full text for a single property of a node. |
static RowExtractors.ExtractFromRow |
RowExtractors.extractPropertyValue(Name propertyName,
int indexInRow,
NodeCache cache,
TypeSystem.TypeFactory<?> desiredType)
Create an extractor that extracts the property value from the node at the given position in the row.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.RightHandSide.literal(Name literal)
Define the right-hand side of a comparison.
|
QueryBuilder.ConstraintBuilder |
QueryBuilder.UpperBoundary.literal(Name literal)
Define the upper boundary value of a range.
|
QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary> |
QueryBuilder.LowerBoundary.literal(Name literal)
Define the lower boundary value of a range.
|
Node |
JcrQueryContext.storeQuery(String absolutePath,
Name nodeType,
String language,
String statement)
Store the query at the given location.
|
void |
CompositeIndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
Modifier and Type | Method and Description |
---|---|
void |
CompositeIndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
void |
CompositeIndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
Modifier and Type | Field and Description |
---|---|
protected static Set<Name> |
ScanningQueryEngine.PSEUDO_COLUMN_NAMES |
Modifier and Type | Method and Description |
---|---|
void |
NoOpQueryIndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
void |
NoOpQueryIndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
Modifier and Type | Method and Description |
---|---|
void |
NoOpQueryIndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
void |
NoOpQueryIndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
Modifier and Type | Method and Description |
---|---|
abstract TypeSystem.TypeFactory<Name> |
TypeSystem.getNameFactory()
Get the type factory for name objects.
|
Modifier and Type | Method and Description |
---|---|
protected Visitors.ReadableVisitor |
Visitors.ReadableVisitor.append(Name name) |
Modifier and Type | Field and Description |
---|---|
static Map<Name,Property> |
ExtraPropertiesStore.NO_PROPERTIES |
Modifier and Type | Method and Description |
---|---|
Name |
DocumentReader.getPrimaryType()
Returns name of the primary type of the underlying document.
|
protected Name |
Connector.nameFrom(String nameString)
Helper method that creates a
Name object from a string, using no decoding. |
protected Name |
Connector.nameFrom(String namespaceUri,
String localName)
Create a name from the given namespace URI and local name.
|
protected Name |
Connector.nameFrom(String namespaceUri,
String localName,
TextDecoder decoder)
Create a name from the given namespace URI and local name.
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
DocumentChanges.PropertyChanges.getAdded()
Returns the set of names of the added properties
|
Set<Name> |
DocumentChanges.MixinChanges.getAdded()
Returns the set of names of the mixins that have been added.
|
LinkedHashMap<String,Name> |
DocumentChanges.ChildrenChanges.getAppended()
Returns the (childId, childName) map of children that have been appended to underlying document.
|
Set<Name> |
DocumentChanges.PropertyChanges.getChanged()
Returns the set of name of the changed properties (added + modified)
|
LinkedHashMap<String,Name> |
DocumentReader.getChildrenMap()
Returns an ordered map of (childId, childName) the underlying document has.
|
Map<String,LinkedHashMap<String,Name>> |
DocumentChanges.ChildrenChanges.getInsertedBeforeAnotherChild()
Returns the (insertedBeforeChildId, (childId, childName)) map of the children that have been inserted before an
existing child due to a reordering operation.
|
Set<Name> |
DocumentReader.getMixinTypes()
Returns a set with the names of the primary types of the underlying document.
|
Map<Name,Property> |
DocumentReader.getProperties()
Returns all the properties of the underlying document.
|
Map<Name,Property> |
ExtraPropertiesStore.getProperties(String id)
Retrieve the extra properties that were stored for the node with the supplied ID.
|
Set<Name> |
DocumentChanges.PropertyChanges.getRemoved()
Returns the set of names of the removed properties
|
Set<Name> |
DocumentChanges.MixinChanges.getRemoved()
Returns the set of names of the mixins that have been removed.
|
Map<String,Name> |
DocumentChanges.ChildrenChanges.getRenamed()
Returns the (childId, newChildName) map of children that have been renamed.
|
Modifier and Type | Method and Description |
---|---|
PageWriter |
PageWriter.addChild(String id,
Name name)
Add a child with the given id and name to the underlying document.
|
DocumentWriter |
DocumentWriter.addChild(String id,
Name name) |
DocumentWriter |
DocumentWriter.addMixinType(Name name)
Adds a mixin type to the underlying document.
|
DocumentWriter |
DocumentWriter.addProperty(Name name,
Object value)
Adds a property with the given name and value to the underlying document's properties.
|
DocumentWriter |
DocumentWriter.addProperty(Name name,
Object[] values)
Adds a multi-value property with the given name to the underlying document's properties.
|
DocumentWriter |
DocumentWriter.addProperty(Name name,
Object firstValue,
Object... additionalValues)
Adds a multi-value property with the given name to the underlying document's properties.
|
DocumentWriter |
DocumentWriter.addPropertyValue(Name name,
Object value)
Adds an additional value to an existing property with the given name.
|
Connector.ExtraProperties |
Connector.ExtraProperties.except(Name... names) |
Property |
DocumentReader.getProperty(Name name)
Returns the property which has the given name, or null if there is no such property.
|
String |
ReadOnlyConnector.newDocumentId(String parentId,
Name newDocumentName,
Name newDocumentPrimaryType) |
abstract String |
Connector.newDocumentId(String parentId,
Name newDocumentName,
Name newDocumentPrimaryType)
Generates an identifier which will be assigned when a new document (aka. child) is created under an existing document
(aka.parent).
|
void |
ConnectorChangeSet.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node resource was created.
|
void |
ConnectorChangeSet.nodeMoved(String docId,
Name primaryType,
Set<Name> mixinTypes,
String newParentDocId,
String oldParentDocId,
String newPath,
String oldPath)
Signal that a node resource (and all descendants) was moved from one parent to another.
|
void |
ConnectorChangeSet.nodeRemoved(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node resource (and all descendants) was removed.
|
void |
ConnectorChangeSet.nodeReordered(String docId,
Name primaryType,
Set<Name> mixinTypes,
String parentDocId,
String newPath,
String oldNameSegment,
String reorderedBeforeNameSegment)
Signal that a node resource (and all descendants) was placed into a new location within the same parent.
|
void |
ConnectorChangeSet.propertyAdded(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property)
Signal that a property was added to a node resource.
|
void |
ConnectorChangeSet.propertyChanged(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property oldProperty,
Property newProperty)
Signal that a property resource was changed on a node resource.
|
void |
ConnectorChangeSet.propertyRemoved(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property)
Signal that a property was removed from a node resource.
|
Connector.ExtraProperties |
Connector.ExtraProperties.remove(Name propertyName) |
DocumentWriter |
DocumentWriter.setPrimaryType(Name name)
Sets the primary type of the underlying document.
|
Modifier and Type | Method and Description |
---|---|
Connector.ExtraProperties |
Connector.ExtraProperties.addAll(Map<Name,Property> properties) |
DocumentWriter |
DocumentWriter.addProperties(Map<Name,Property> properties)
Adds a map of properties to the the underlying document's properties.
|
void |
ConnectorChangeSet.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node resource was created.
|
void |
ConnectorChangeSet.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node resource was created.
|
void |
ConnectorChangeSet.nodeMoved(String docId,
Name primaryType,
Set<Name> mixinTypes,
String newParentDocId,
String oldParentDocId,
String newPath,
String oldPath)
Signal that a node resource (and all descendants) was moved from one parent to another.
|
void |
ConnectorChangeSet.nodeRemoved(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node resource (and all descendants) was removed.
|
void |
ConnectorChangeSet.nodeReordered(String docId,
Name primaryType,
Set<Name> mixinTypes,
String parentDocId,
String newPath,
String oldNameSegment,
String reorderedBeforeNameSegment)
Signal that a node resource (and all descendants) was placed into a new location within the same parent.
|
void |
ConnectorChangeSet.propertyAdded(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property)
Signal that a property was added to a node resource.
|
void |
ConnectorChangeSet.propertyChanged(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property oldProperty,
Property newProperty)
Signal that a property resource was changed on a node resource.
|
void |
ConnectorChangeSet.propertyRemoved(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property)
Signal that a property was removed from a node resource.
|
PageWriter |
PageWriter.setChildren(LinkedHashMap<String,Name> children)
Set an ordered of (childId, childName) for the underlying document.
|
DocumentWriter |
DocumentWriter.setChildren(LinkedHashMap<String,Name> children) |
DocumentWriter |
DocumentWriter.setProperties(Map<Name,Property> properties)
Replaces the underlying document's properties with the one from the given map.
|
void |
ExtraPropertiesStore.storeProperties(String id,
Map<Name,Property> properties)
Store the supplied extra properties for the node with the supplied ID.
|
void |
ExtraPropertiesStore.updateProperties(String id,
Map<Name,Property> properties)
Update the supplied extra properties for the node with the supplied ID.
|
Modifier and Type | Method and Description |
---|---|
Name |
IndexDefinition.getNodeTypeName()
Get the name of the node type for which this index applies.
|
Name |
IndexColumnDefinitionTemplate.getPropertyName()
Get the name of the property for which this index column applies.
|
Name |
IndexColumnDefinition.getPropertyName()
Get the name of the property for which this index column applies.
|
Modifier and Type | Method and Description |
---|---|
Map<Name,Property> |
IndexDefinition.getProperties()
Get the index properties keyed by their name.
|
Modifier and Type | Method and Description |
---|---|
Property |
IndexDefinition.getProperty(Name propertyName)
Get the index property with the given name.
|
IndexDefinitionTemplate |
IndexDefinitionTemplate.setNodeTypeName(Name name)
Set the name of the node type for which this index applies.
|
IndexColumnDefinitionTemplate |
IndexColumnDefinitionTemplate.setPropertyTypeName(Name name)
Set the name of the property for which this index column applies.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx)
Add to the index the information about a node.
|
void |
IndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx)
Update the index to reflect the new state of the node.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx)
Add to the index the information about a node.
|
void |
IndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx)
Update the index to reflect the new state of the node.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronizedTransactions.SynchronizedMonitor.recordAdd(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator) |
void |
SynchronizedTransactions.SynchronizedMonitor.recordUpdate(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties) |
Modifier and Type | Method and Description |
---|---|
void |
SynchronizedTransactions.SynchronizedMonitor.recordAdd(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator) |
void |
SynchronizedTransactions.SynchronizedMonitor.recordUpdate(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties) |
Modifier and Type | Field and Description |
---|---|
static Name |
Path.PARENT_NAME
Singleton instance of the name referencing a parent, provided as a convenience.
|
static Name |
Path.ROOT_NAME
Singleton instance of the root name.
|
static Name |
Path.SELF_NAME
Singleton instance of the name referencing a self, provided as a convenience.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Name> |
ValueComparators.NAME_COMPARATOR
A comparator of name values.
|
Modifier and Type | Method and Description |
---|---|
Name |
NameFactory.create(String namespaceUri,
String localName)
Create a name from the given namespace URI and local name.
|
Name |
NameFactory.create(String namespaceUri,
String localName,
TextDecoder decoder)
Create a name from the given namespace URI and local name.
|
Name |
Property.getName()
Get the name of the property.
|
Name |
Path.Segment.getName()
Get the name component of this segment.
|
Modifier and Type | Method and Description |
---|---|
TypeSystem.TypeFactory<Name> |
ValueTypeSystem.getNameFactory() |
Modifier and Type | Method and Description |
---|---|
int |
ValueComparators.NameComparator.compare(Name o1,
Name o2) |
T |
ValueFactory.create(Name value)
Create a value from a name.
|
Property |
PropertyFactory.create(Name name)
Create an empty multi-valued property with the supplied name.
|
T[] |
ValueFactory.create(Name[] values)
Create an array of values from an array of names.
|
Property |
PropertyFactory.create(Name name,
Iterable<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Iterator<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Object value)
Create a single-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Object[] values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Path value)
Create a single-valued property with the supplied name and
Path value. |
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Iterable<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Iterator<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Object firstValue)
Create a single-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Object[] values)
Create a multi-valued property with the supplied name and values
|
Path |
PathFactory.create(Path parentPath,
Name... segmentNames)
Create a path by appending the supplied names to the parent path.
|
Path |
PathFactory.create(Path parentPath,
Name segmentName,
int index)
Create a path by appending the supplied names to the parent path.
|
Path |
PathFactory.createAbsolutePath(Name... segmentNames)
Create an absolute path with the supplied segment names, in order.
|
Path |
PathFactory.createRelativePath(Name... segmentNames)
Create a relative path with the supplied segment names, in order.
|
Path.Segment |
PathFactory.createSegment(Name segmentName)
Create a path segment given the supplied segment name.
|
Path.Segment |
PathFactory.createSegment(Name segmentName,
int index)
Create a path segment given the supplied segment name and index.
|
boolean |
Path.endsWith(Name nameOfLastSegment)
Determine if the path's
Path.getLastSegment() has the supplied name and no SNS index . |
boolean |
Path.endsWith(Name nameOfLastSegment,
int snsIndex)
Determine if the path's
Path.getLastSegment() has the supplied name and SNS index . |
Modifier and Type | Class and Description |
---|---|
class |
BasicName
A basic implementation of
Name . |
Modifier and Type | Method and Description |
---|---|
Name |
NameValueFactory.create(BigDecimal value) |
Name |
NameValueFactory.create(BinaryValue value) |
Name |
NameValueFactory.create(boolean value) |
Name |
NameValueFactory.create(byte[] value) |
Name |
NameValueFactory.create(Calendar value) |
Name |
NameValueFactory.create(Date value) |
Name |
NameValueFactory.create(DateTime value) |
Name |
NameValueFactory.create(double value) |
Name |
NameValueFactory.create(float value) |
Name |
NameValueFactory.create(InputStream stream) |
Name |
NameValueFactory.create(int value) |
Name |
NameValueFactory.create(long value) |
Name |
NameValueFactory.create(Name value) |
Name |
NameValueFactory.create(NodeKey value) |
Name |
NameValueFactory.create(Path.Segment segment) |
Name |
NameValueFactory.create(Path value) |
Name |
NameValueFactory.create(Reference value) |
Name |
NameValueFactory.create(String value) |
Name |
NameValueFactory.create(String namespaceUri,
String localName) |
Name |
NameValueFactory.create(String namespaceUri,
String localName,
TextDecoder decoder) |
Name |
NameValueFactory.create(String value,
TextDecoder decoder) |
Name |
NameValueFactory.create(URI value) |
Name |
NameValueFactory.create(UUID value) |
Name[] |
NameValueFactory.createEmptyArray(int length) |
Name |
BasicProperty.getName() |
Name |
BasicPathSegment.getName() |
Modifier and Type | Method and Description |
---|---|
protected ValueFactory<Name> |
PathValueFactory.getNameValueFactory() |
Modifier and Type | Method and Description |
---|---|
int |
BasicName.compareTo(Name that) |
URI |
UriValueFactory.create(Name value) |
String |
StringValueFactory.create(Name value) |
Reference |
ReferenceValueFactory.create(Name value) |
Path |
PathValueFactory.create(Name value) |
Object |
ObjectValueFactory.create(Name value) |
Name |
NameValueFactory.create(Name value) |
Long |
LongValueFactory.create(Name value) |
DateTime |
JodaDateTimeValueFactory.create(Name value) |
Double |
DoubleValueFactory.create(Name value) |
BigDecimal |
DecimalValueFactory.create(Name value) |
Boolean |
BooleanValueFactory.create(Name value) |
Property |
BasicPropertyFactory.create(Name name) |
T[] |
AbstractValueFactory.create(Name[] values) |
Property |
BasicPropertyFactory.create(Name name,
Iterable<?> values) |
Property |
BasicPropertyFactory.create(Name name,
Iterator<?> values) |
Property |
BasicPropertyFactory.create(Name name,
Object value) |
Property |
BasicPropertyFactory.create(Name name,
Object[] values) |
Property |
BasicPropertyFactory.create(Name name,
Path value) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Iterable<?> values) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Iterator<?> values) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Object firstValue) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Object[] values) |
Path |
PathValueFactory.create(Path parentPath,
Name... segmentNames) |
Path |
PathValueFactory.create(Path parentPath,
Name segmentName,
int index) |
Path |
PathValueFactory.createAbsolutePath(Name... segmentNames) |
Path |
PathValueFactory.createRelativePath(Name... segmentNames) |
Path.Segment |
PathValueFactory.createSegment(Name segmentName) |
Path.Segment |
PathValueFactory.createSegment(Name segmentName,
int index) |
boolean |
RootPath.endsWith(Name nameOfLastSegment) |
boolean |
IdentifierPath.endsWith(Name nameOfLastSegment) |
boolean |
AbstractPath.endsWith(Name nameOfLastSegment) |
boolean |
RootPath.endsWith(Name nameOfLastSegment,
int snsIndex) |
boolean |
IdentifierPath.endsWith(Name nameOfLastSegment,
int snsIndex) |
boolean |
AbstractPath.endsWith(Name nameOfLastSegment,
int snsIndex) |
Constructor and Description |
---|
BasicEmptyProperty(Name name)
Create a property with no values.
|
BasicMultiValueProperty(Name name,
List<Object> values)
Create a property with 2 or more values.
|
BasicMultiValueProperty(Name name,
Object... values)
Create a property with 2 or more values.
|
BasicPathSegment(Name name) |
BasicPathSegment(Name name,
int index) |
BasicProperty(Name name) |
BasicSingleValueProperty(Name name,
Object value)
Create a property with a single value
|
IdentifierPathSegment(Name name) |
Modifier and Type | Method and Description |
---|---|
BinaryValue |
BinaryStoreValueFactory.create(Name value) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.