Modifier and Type | Method and Description |
---|---|
Name |
CachingHierarchyManager.getName(ItemId id)
Returns the name of the specified item.
|
Name |
HierarchyManager.getName(ItemId id)
Returns the name of the specified item.
|
Name |
HierarchyManagerImpl.getName(ItemId itemId)
Returns the name of the specified item.
|
Name |
HierarchyManager.getName(NodeId id,
NodeId parentId)
Returns the name of the specified item, with the given parent id.
|
Name |
HierarchyManagerImpl.getName(NodeId id,
NodeId parentId)
Returns the name of the specified item, with the given parent id.
|
Name |
NodeImpl.getPrimaryNodeTypeName()
Returns the name of the primary node type as exposed on the node state
without retrieving the node type.
|
abstract Name |
ItemImpl.getQName()
|
Name |
NodeImpl.getQName() |
Name |
PropertyImpl.getQName()
|
protected Name |
ItemImpl.getQName(String name)
Utility method that converts the given string into a qualified JCR name.
|
Name |
SessionImpl.getQName(String name) |
Modifier and Type | Method and Description |
---|---|
Set<Name> |
NodeImpl.getMixinTypeNames()
Returns the
Name s of this node's mixin types. |
Modifier and Type | Method and Description |
---|---|
void |
NodeImpl.addMixin(Name mixinName)
|
NodeImpl |
NodeImpl.addNode(Name nodeName,
Name nodeTypeName,
NodeId id)
Same as
except that
this method takes Name arguments instead of
String s and has an additional uuid argument. |
protected NodeImpl |
ProtectedItemModifier.addNode(NodeImpl parentImpl,
Name name,
Name ntName) |
protected NodeImpl |
ProtectedItemModifier.addNode(NodeImpl parentImpl,
Name name,
Name ntName,
NodeId nodeId) |
void |
BatchedItemOperations.checkAddNode(NodeState parentState,
Name nodeName,
Name nodeTypeName,
int options)
Checks if adding a child node called
nodeName of node type
nodeTypeName to the given parent node is allowed in the
current context. |
NodeImpl |
NodeImpl.clone(NodeImpl src,
Name name)
Create a child node that is a clone of a shareable node.
|
NodeId |
BatchedItemOperations.clone(NodeState srcState,
NodeState destParentState,
Name destName)
Implementation of
BatchedItemOperations.clone(Path, Path) that has already determined
the affected NodeState s. |
protected NodeImpl |
NodeImpl.createChildNode(Name name,
NodeTypeImpl nodeType,
NodeId id) |
protected PropertyImpl |
NodeImpl.createChildProperty(Name name,
int type,
PropertyDefinitionImpl def)
Creates a new property with the given name and
type hint and
property definition. |
NodeState |
BatchedItemOperations.createNodeState(NodeState parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id)
Creates a new node.
|
NodeState |
BatchedItemOperations.createNodeState(NodeState parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id)
Creates a new node.
|
NodeState |
BatchedItemOperations.createNodeState(NodeState parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id,
QNodeDefinition def)
Creates a new node based on the given definition.
|
NodeState |
BatchedItemOperations.createNodeState(NodeState parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id,
QNodeDefinition def)
Creates a new node based on the given definition.
|
PropertyState |
BatchedItemOperations.createPropertyState(NodeState parent,
Name propName,
int type,
int numValues)
Creates a new property.
|
PropertyState |
BatchedItemOperations.createPropertyState(NodeState parent,
Name propName,
int type,
QPropertyDefinition def)
Creates a new property based on the given definition.
|
QNodeDefinition |
ItemValidator.findApplicableNodeDefinition(Name name,
Name nodeTypeName,
NodeState parentState)
Helper method that finds the applicable definition for a child node with
the given name and node type in the parent node's node type and
mixin types.
|
QPropertyDefinition |
ItemValidator.findApplicablePropertyDefinition(Name name,
int type,
boolean multiValued,
NodeState parentState)
Helper method that finds the applicable definition for a property with
the given name, type and multiValued characteristic in the parent node's
node type and mixin types.
|
QPropertyDefinition |
ItemValidator.findApplicablePropertyDefinition(Name name,
int type,
NodeState parentState)
Helper method that finds the applicable definition for a property with
the given name, type in the parent node's node type and mixin types.
|
protected NodeDefinitionImpl |
NodeImpl.getApplicableChildNodeDefinition(Name nodeName,
Name nodeTypeName)
Returns the applicable child node definition for a child node with the
specified name and node type.
|
protected PropertyDefinitionImpl |
NodeImpl.getApplicablePropertyDefinition(Name propertyName,
int type,
boolean multiValued,
boolean exactTypeMatch)
Returns the applicable property definition for a property with the
specified name and type.
|
protected ChildNodeEntry |
HierarchyManagerImpl.getChildNodeEntry(NodeState parent,
Name name,
int index)
Returns the
ChildNodeEntry of parent with the
specified name and index or null
if there's no such entry. |
protected ChildNodeEntry |
ZombieHierarchyManager.getChildNodeEntry(NodeState parent,
Name name,
int index)
Returns the
ChildNodeEntry of parent with the
specified name and index or null
if there's no such entry. |
String |
SessionImpl.getJCRName(Name name) |
NodeImpl |
NodeImpl.getNode(Name name)
Returns the child node of
this node with the specified
name . |
NodeImpl |
NodeImpl.getNode(Name name,
int index)
Returns the child node of
this node with the specified
name . |
protected PropertyImpl |
NodeImpl.getOrCreateProperty(Name name,
int type,
boolean multiValued,
boolean exactTypeMatch,
BitSet status) |
PropertyImpl |
NodeImpl.getProperty(Name name)
Returns the property of
this node with the specified
name . |
boolean |
NodeImpl.hasNode(Name name)
Indicates whether a child node with the specified
name exists. |
boolean |
NodeImpl.hasNode(Name name,
int index)
Indicates whether a child node with the specified
name exists. |
boolean |
NodeImpl.hasProperty(Name name)
Indicates whether a property with the specified
name exists. |
protected Property |
NodeImpl.internalSetProperty(Name name,
InternalValue value)
Sets the internal value of a property without checking any constraints.
|
protected Property |
NodeImpl.internalSetProperty(Name name,
InternalValue[] values)
Sets the internal value of a property without checking any constraints.
|
protected Property |
NodeImpl.internalSetProperty(Name name,
InternalValue[] values,
int type)
Sets the internal value of a property without checking any constraints.
|
boolean |
NodeImpl.isNodeType(Name ntName)
|
void |
CachingHierarchyManager.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
CachingHierarchyManager.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
protected void |
NodeImpl.removeChildProperty(Name propName) |
void |
NodeImpl.removeMixin(Name mixinName)
|
protected void |
NodeImpl.renameChildNode(Name oldName,
int index,
NodeId id,
Name newName)
Deprecated.
use #renameChildNode(NodeId, Name, boolean)
|
protected void |
NodeImpl.renameChildNode(NodeId id,
Name newName,
boolean replace) |
NodeImpl |
NodeImpl.replaceChildNode(NodeId id,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames)
Replaces the child node with the specified
id
by a new child node with the same id and specified nodeName ,
nodeTypeName and mixinNames . |
NodeImpl |
NodeImpl.replaceChildNode(NodeId id,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames)
Replaces the child node with the specified
id
by a new child node with the same id and specified nodeName ,
nodeTypeName and mixinNames . |
PropertyImpl |
NodeImpl.setProperty(Name name,
Value value)
Same as
except that
this method takes a Name name argument instead of a
String . |
PropertyImpl |
NodeImpl.setProperty(Name name,
Value[] values,
int type)
Same as
except
that this method takes a Name name argument instead of a
String . |
protected PropertyImpl |
NodeImpl.setProperty(Name name,
Value[] values,
int type,
boolean enforceType)
Implementation for
setProperty() using a Value
array. |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value value) |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value[] values) |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value[] values,
int type) |
protected Property |
ProtectedItemModifier.setProperty(NodeImpl parentImpl,
Name name,
Value value,
boolean ignorePermissions) |
void |
PropertyImpl.setValue(Name name)
|
void |
PropertyImpl.setValue(Name[] names)
Same as
except that
this method takes an array of Name instead of
String values. |
Modifier and Type | Method and Description |
---|---|
void |
NodeTypeEventListener.externalUnregistered(Collection<Name> ntNames)
Called when one or more node types have been externally unregistered.
|
void |
NodeTypeEventChannel.unregistered(Collection<Name> ntNames)
Called when one or more node types have been unregistered.
|
Modifier and Type | Method and Description |
---|---|
Name |
PropertyId.getName()
Returns the
Name of the property. |
Constructor and Description |
---|
PropertyId(NodeId parentId,
Name propName)
Creates a property identifier instance for the identified property.
|
Modifier and Type | Method and Description |
---|---|
Name |
AbstractRecord.readQName()
Read a
Name frmo the underlying stream. |
Name |
Record.readQName()
Read a
Name frmo the underlying stream. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRecord.writeQName(Name name)
Write a
Name to the underlying stream. |
void |
ReadRecord.writeQName(Name name) |
void |
Record.writeQName(Name name)
Write a
Name to the underlying stream. |
Modifier and Type | Method and Description |
---|---|
Name[] |
EffectiveNodeType.getAllNodeTypes() |
Name[] |
EffectiveNodeType.getInheritedNodeTypes() |
Name[] |
EffectiveNodeType.getMergedNodeTypes() |
Name[] |
EffectiveNodeTypeCache.Key.getNames()
Returns the node type names of this key.
|
Name |
EffectiveNodeType.getPrimaryItemName() |
Name |
NodeTypeImpl.getQName()
Returns the
Name of this node type. |
Name[] |
NodeTypeRegistry.getRegisteredNodeTypes()
Returns the names of all registered node types.
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
NodeTypeRegistry.getDependentNodeTypes(Name nodeTypeName)
Returns the names of those registered node types that have
dependencies on the given node type.
|
Modifier and Type | Method and Description |
---|---|
void |
EffectiveNodeType.checkAddNodeConstraints(Name name) |
void |
EffectiveNodeType.checkAddNodeConstraints(Name name,
Name nodeTypeName,
NodeTypeRegistry ntReg) |
protected void |
NodeTypeRegistry.checkForReferencesInContent(Name nodeTypeName)
Checks whether there is existing content that directly or indirectly
refers to the specified node type.
|
void |
EffectiveNodeType.checkRemoveItemConstraints(Name name) |
void |
EffectiveNodeType.checkRemoveNodeConstraints(Name name) |
void |
EffectiveNodeType.checkRemovePropertyConstraints(Name name) |
boolean |
NodeTypeDefStore.contains(Name name) |
QNodeTypeDefinition |
NodeTypeDefStore.get(Name name) |
QNodeDefinition |
EffectiveNodeType.getApplicableChildNodeDef(Name name,
Name nodeTypeName,
NodeTypeRegistry ntReg)
Returns the applicable child node definition for a child node with the
specified name and node type.
|
QPropertyDefinition |
EffectiveNodeType.getApplicablePropertyDef(Name name,
int type)
Returns the applicable property definition for a property with the
specified name and type.
|
QPropertyDefinition |
EffectiveNodeType.getApplicablePropertyDef(Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
Set<Name> |
NodeTypeRegistry.getDependentNodeTypes(Name nodeTypeName)
Returns the names of those registered node types that have
dependencies on the given node type.
|
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(Name ntName) |
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(Name primary,
Set<Name> mixins)
Returns the effective node type of a node with the given primary
and mixin types.
|
EffectiveNodeTypeCache.Key |
BitSetENTCacheImpl.getKey(Name[] ntNames)
Returns a key for an effective node type that consists of the given
node type names.
|
EffectiveNodeTypeCache.Key |
EffectiveNodeTypeCache.getKey(Name[] ntNames)
Returns a key for an effective node type that consists of the given
node type names.
|
EffectiveNodeTypeCache.Key |
EffectiveNodeTypeCacheImpl.getKey(Name[] ntNames)
Returns a key for an effective node type that consists of the given
node type names.
|
QItemDefinition[] |
EffectiveNodeType.getNamedItemDefs(Name name) |
QNodeDefinition[] |
EffectiveNodeType.getNamedNodeDefs(Name name) |
QPropertyDefinition[] |
EffectiveNodeType.getNamedPropDefs(Name name) |
NodeTypeImpl |
NodeTypeManagerImpl.getNodeType(Name name) |
QNodeTypeDefinition |
NodeTypeRegistry.getNodeTypeDef(Name nodeTypeName)
Returns the node type definition of the node type with the given name.
|
boolean |
EffectiveNodeType.hasNamedItemDef(Name name) |
boolean |
EffectiveNodeType.includesNodeType(Name nodeTypeName)
Determines whether this effective node type representation includes
(either through inheritance or aggregation) the given node type.
|
boolean |
EffectiveNodeType.includesNodeTypes(Name[] nodeTypeNames)
Determines whether this effective node type representation includes
(either through inheritance or aggregation) all of the given node types.
|
void |
BitSetENTCacheImpl.invalidate(Name name)
Removes all effective node types that are aggregated with the node type
of the given name.
|
void |
EffectiveNodeTypeCache.invalidate(Name name)
Removes all effective node types that are aggregated with the node type
of the given name.
|
void |
EffectiveNodeTypeCacheImpl.invalidate(Name name)
Removes all effective node types that are aggregated with the node type
of the given name.
|
boolean |
NodeTypeRegistry.isBuiltIn(Name nodeTypeName) |
boolean |
NodeTypeImpl.isDerivedFrom(Name nodeTypeName)
Checks if this node type is directly or indirectly derived from the
specified node type.
|
boolean |
NodeTypeImpl.isNodeType(Name nodeTypeName)
Test if this nodetype equals or is directly or indirectly derived from
the node type with the specified
nodeTypeName , without
checking of a node type of that name really exists. |
boolean |
NodeTypeRegistry.isRegistered(Name nodeTypeName) |
void |
NodeTypeManagerImpl.nodeTypeRegistered(Name ntName)
Called when a node type has been registered.
|
void |
NodeTypeRegistryListener.nodeTypeRegistered(Name ntName)
Called when a node type has been registered.
|
void |
NodeTypeManagerImpl.nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered.
|
void |
NodeTypeRegistryListener.nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered.
|
boolean |
NodeTypeDefStore.remove(Name name) |
void |
NodeTypeRegistry.unregisterNodeType(Name ntName)
Unregisters the specified node type.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeTypeRegistry.externalUnregistered(Collection<Name> ntNames)
Called when one or more node types have been externally unregistered.
|
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(Name primary,
Set<Name> mixins)
Returns the effective node type of a node with the given primary
and mixin types.
|
EffectiveNodeType |
NodeTypeRegistry.getEffectiveNodeType(Set<Name> mixins)
Returns the effective node type representation of the given node types.
|
void |
NodeTypeManagerImpl.nodeTypesUnregistered(Collection<Name> names)
Called when a set of node types has been unregistered.
|
void |
NodeTypeRegistryListener.nodeTypesUnregistered(Collection<Name> names)
Called when a set of node types has been unregistered.
|
void |
NodeTypeRegistry.unregisterNodeTypes(Set<Name> ntNames)
Same as
except
that a set of node types is unregistered instead of just one. |
Modifier and Type | Method and Description |
---|---|
void |
VirtualNodeTypeStateManager.nodeTypeRegistered(Name ntName)
Called when a node type has been registered.
|
void |
VirtualNodeTypeStateManager.nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered.
|
void |
VirtualNodeTypeStateProvider.onNodeTypeAdded(Name ntName) |
void |
VirtualNodeTypeStateProvider.onNodeTypeModified(Name ntName) |
Modifier and Type | Method and Description |
---|---|
void |
VirtualNodeTypeStateManager.nodeTypesUnregistered(Collection<Name> names)
Called when a set of node types has been unregistered.
|
void |
VirtualNodeTypeStateProvider.onNodeTypesRemoved(Collection<Name> names) |
Modifier and Type | Method and Description |
---|---|
Name |
EventState.getNodeType()
Returns the node type of the parent node associated with this event.
|
Name |
EventImpl.getPrimaryNodeTypeName() |
Modifier and Type | Method and Description |
---|---|
Set<Name> |
EventState.getMixinNames()
Returns a set of
Name s which are the names of the mixins
assigned to the parent node associated with this event. |
Set<Name> |
EventImpl.getMixinTypeNames() |
Modifier and Type | Method and Description |
---|---|
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.nodeMoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeMovedWithInfo(NodeId parentId,
Path destPath,
NodeId childId,
Path srcPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeReordered(NodeId parentId,
Path parentPath,
NodeId childId,
Path destChildPath,
Path srcChildPath,
Path beforeChildPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
Modifier and Type | Method and Description |
---|---|
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeAdded(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.NODE_ADDED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.childNodeRemoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.NODE_REMOVED . |
static EventState |
EventState.nodeMoved(NodeId parentId,
Path parentPath,
NodeId childId,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeMovedWithInfo(NodeId parentId,
Path destPath,
NodeId childId,
Path srcPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.nodeReordered(NodeId parentId,
Path parentPath,
NodeId childId,
Path destChildPath,
Path srcChildPath,
Path beforeChildPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
NODE_MOVED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyAdded(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_ADDED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyChanged(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_CHANGED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
static EventState |
EventState.propertyRemoved(NodeId parentId,
Path parentPath,
Path childPath,
Name nodeType,
Set<Name> mixins,
Session session,
boolean external)
Creates a new
Event of type
Event.PROPERTY_REMOVED . |
Modifier and Type | Method and Description |
---|---|
protected static String |
InMemPersistenceManager.buildBlobFilePath(String parentUUID,
Name propName,
int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Name |
NodePropBundle.ChildNodeEntry.getName()
Returns the name.
|
Name |
NodePropBundle.PropertyEntry.getName()
Returns the property name
|
Name |
NodePropBundle.getNodeTypeName()
Returns the nodetype name of this bundle
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
NodePropBundle.getMixinTypeNames()
Returns the mixin type names of this bundle.
|
Set<Name> |
NodePropBundle.getPropertyNames()
Returns a set of the property names.
|
Map<Name,List<NodeId>> |
NodeInfo.getReferences() |
Modifier and Type | Method and Description |
---|---|
void |
NodePropBundle.addChildNodeEntry(Name name,
NodeId id)
Adds a child node entry.
|
NodePropBundle.PropertyEntry |
NodePropBundle.getPropertyEntry(Name name)
Returns the property entry with the given name.
|
boolean |
NodePropBundle.hasProperty(Name name)
Checks if this bundle has a property
|
void |
NodePropBundle.removeProperty(Name name,
BLOBStore blobStore)
Removes the proprty with the given name from this bundle.
|
void |
NodePropBundle.setNodeTypeName(Name nodeTypeName)
Sets the node type name
|
Modifier and Type | Method and Description |
---|---|
void |
NodePropBundle.setMixinTypeNames(Set<Name> mixinTypeNames)
Sets the mixin type names
|
Constructor and Description |
---|
ChildNodeEntry(Name name,
NodeId id)
Creates a new entry with the given name and id
|
Modifier and Type | Method and Description |
---|---|
PropertyTypeRegistry.TypeMapping[] |
PropertyTypeRegistry.getPropertyTypes(Name propName)
Returns an array of type mappings for a given property name
propName . |
void |
PropertyTypeRegistry.nodeTypeRegistered(Name ntName) |
void |
PropertyTypeRegistry.nodeTypeReRegistered(Name ntName) |
Modifier and Type | Method and Description |
---|---|
void |
PropertyTypeRegistry.nodeTypesUnregistered(Collection<Name> names) |
Modifier and Type | Field and Description |
---|---|
static Name |
QueryImpl.DEFAULT_SELECTOR_NAME
The default selector name 's'.
|
static Name |
ExcerptProvider.REP_EXCERPT
Name of the rep:excerpt function.
|
Modifier and Type | Field and Description |
---|---|
static Collection<Name> |
SearchIndex.VALID_SYSTEM_INDEX_NODE_TYPE_NAMES
Valid node type names under /jcr:system.
|
Modifier and Type | Method and Description |
---|---|
Name |
NameQuery.getName() |
Name |
Ordering.getSelectorName() |
Name[] |
FilterMultiColumnQueryHits.getSelectorNames() |
Name[] |
MultiColumnQueryHits.getSelectorNames() |
Name[] |
QueryHitsAdapter.getSelectorNames() |
Modifier and Type | Method and Description |
---|---|
static MultiColumnQuery |
MultiColumnQueryAdapter.adapt(org.apache.lucene.search.Query query,
Name selectorName)
Adapts the given
query . |
protected void |
NodeIndexer.addMVPName(org.apache.lucene.document.Document doc,
Name name)
Adds a
FieldNames.MVP field to doc with the resolved
name using the internal search index namespace mapping. |
protected void |
NodeIndexer.addNameValue(org.apache.lucene.document.Document doc,
String fieldName,
Name internalValue)
Adds the name value to the document as the named field.
|
protected void |
NodeIndexer.addPropertyName(org.apache.lucene.document.Document doc,
Name name)
Adds the property name to the lucene _:PROPERTIES_SET field.
|
protected void |
NodeIndexer.addValue(org.apache.lucene.document.Document doc,
InternalValue value,
Name name)
Adds a value to the lucene Document.
|
protected void |
NodeIndexer.addValueProperty(org.apache.lucene.document.Document doc,
InternalValue value,
Name name,
String fieldName)
Adds a property related value to the lucene Document.
|
protected ColumnImpl |
QueryImpl.columnForName(Name propertyName)
Returns a column for the given property name and the default selector
name.
|
MultiColumnQueryHits |
JackrabbitIndexSearcher.execute(org.apache.lucene.search.Query query,
org.apache.lucene.search.Sort sort,
long resultFetchHint,
Name selectorName)
Executes the query and returns the hits that match the query.
|
protected float |
NodeIndexer.getPropertyBoost(Name propertyName)
Returns the boost value for the given property name.
|
float |
IndexingConfiguration.getPropertyBoost(NodeState state,
Name propertyName)
Returns the boost value for the given property name.
|
float |
IndexingConfigurationImpl.getPropertyBoost(NodeState state,
Name propertyName)
Returns the boost value for the given property name.
|
protected InternalValue |
NodeIndexer.getValue(Name name)
Utility method that extracts the first value of the named property
of the current node.
|
protected boolean |
NodeIndexer.isIncludedInNodeIndex(Name propertyName)
Returns
true if the property with the given name should also
be added to the node scope index. |
boolean |
IndexingConfiguration.isIncludedInNodeScopeIndex(NodeState state,
Name propertyName)
Returns
true if the property with the given name should be
included in the node scope fulltext index. |
boolean |
IndexingConfigurationImpl.isIncludedInNodeScopeIndex(NodeState state,
Name propertyName)
Returns
true if the property with the given name should be
included in the node scope fulltext index. |
protected boolean |
NodeIndexer.isIndexed(Name propertyName)
Returns
true if the property with the given name should
be indexed. |
boolean |
IndexingConfiguration.isIndexed(NodeState state,
Name propertyName)
Returns
true if the property with the given name is indexed
according to this configuration. |
boolean |
IndexingConfigurationImpl.isIndexed(NodeState state,
Name propertyName)
Returns
true if the property with the given name is fulltext
indexed according to this configuration. |
void |
IndexingConfigurationImpl.nodeTypeRegistered(Name ntName) |
void |
IndexingConfigurationImpl.nodeTypeReRegistered(Name ntName) |
String |
AbstractNamespaceMappings.translateName(Name qName)
Translates a name from a session local namespace mapping into a search
index private namespace mapping.
|
String |
NamespaceMappings.translateName(Name name)
Translates a name from a session local namespace mapping into a search
index private namespace mapping.
|
protected boolean |
NodeIndexer.useInExcerpt(Name propertyName)
Returns
true if the content of the property with the given
name should the used to create an excerpt. |
boolean |
IndexingConfiguration.useInExcerpt(NodeState state,
Name propertyName)
Returns
true if the content of the property with the given
name should show up in an excerpt. |
boolean |
IndexingConfigurationImpl.useInExcerpt(NodeState state,
Name propertyName)
Returns
true if the content of the property with the given
name should show up in an excerpt. |
Modifier and Type | Method and Description |
---|---|
void |
IndexingConfigurationImpl.nodeTypesUnregistered(Collection<Name> names) |
Constructor and Description |
---|
NameQuery(Name nodeName,
IndexFormatVersion version,
NamespaceMappings nsMappings)
Creates a new
NameQuery . |
NameRangeQuery(Name lowerName,
Name upperName,
boolean inclusive,
IndexFormatVersion version,
NamespaceMappings nsMappings,
org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a new NameRangeQuery.
|
QueryHitsAdapter(QueryHits hits,
Name selectorName)
Creates a new adapter for
hits . |
Modifier and Type | Method and Description |
---|---|
boolean |
AndConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
ChildNodeConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
ComparisonConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
Constraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
DescendantNodeConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
NotConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
OrConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
QueryConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
boolean |
SameNodeConstraint.evaluate(ScoreNode[] row,
Name[] selectorNames,
EvaluationContext context)
Evaluates this constraint for the given row.
|
protected int |
SelectorBasedConstraint.getSelectorIndex(Name[] names)
Returns the selector index of this constraint.
|
Modifier and Type | Field and Description |
---|---|
protected Name[] |
Join.selectorNames
The selector names.
|
Modifier and Type | Method and Description |
---|---|
Name[] |
AbstractCondition.getInnerSelectorNames() |
Name[] |
Condition.getInnerSelectorNames() |
Name[] |
Join.getSelectorNames() |
Modifier and Type | Method and Description |
---|---|
protected static int |
AbstractCondition.getIndex(MultiColumnQueryHits source,
Name selectorName)
Returns the index of the selector with the given
selectorName
within the given source . |
protected static int |
Join.getIndex(MultiColumnQueryHits source,
Name selectorName)
Returns the index of the selector with the given
selectorName
within the given source . |
protected static MultiColumnQueryHits |
Join.getSourceWithName(Name selectorName,
MultiColumnQueryHits left,
MultiColumnQueryHits right) |
Constructor and Description |
---|
AncestorNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
org.apache.lucene.index.IndexReader reader,
HierarchyResolver resolver)
Creates a new ancestor node join condition.
|
AncestorPathNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
Path relPath,
HierarchyManager hmgr)
Creates an ancestor path node join.
|
DescendantNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
org.apache.lucene.index.IndexReader reader,
HierarchyResolver resolver)
Creates a new descendant node join condition.
|
DescendantPathNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
Path relPath,
HierarchyManager hmgr)
Creates a new descendant path node join condition.
|
EquiJoin(MultiColumnQueryHits inner,
int innerScoreNodeIndex,
NamespaceMappings nsMappings,
org.apache.lucene.index.IndexReader reader,
Name innerProperty,
Name outerProperty)
Creates a new equi join condition.
|
SameNodeJoin(MultiColumnQueryHits inner,
Name innerSelectorName,
org.apache.lucene.index.IndexReader reader)
Creates a new same node join.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AccessManager.isGranted(Path parentPath,
Name childName,
int permissions)
Determines whether the specified
permissions are granted
on an item represented by the combination of the given
parentPath and childName (i.e. |
boolean |
DefaultAccessManager.isGranted(Path parentPath,
Name childName,
int permissions) |
boolean |
SimpleJBossAccessManager.isGranted(Path parentPath,
Name childName,
int permissions) |
Modifier and Type | Field and Description |
---|---|
static Name |
AccessControlConstants.N_ACCESSCONTROL
PrincipalBased-ACL:
Name of the root-node of all access-control-nodes that store the
privileges for individual principals.
|
static Name |
AccessControlConstants.N_POLICY
Default name for a node of type rep:Policy.
|
static Name |
AccessControlConstants.N_REPO_POLICY
Name name for a node of type rep:Policy storing repository level privileges.
|
static Name |
AccessControlConstants.NT_REP_ACCESS_CONTROL
rep:AccessControl nodetype
|
static Name |
AccessControlConstants.NT_REP_ACCESS_CONTROLLABLE
rep:AccessControllable nodetype
|
static Name |
AccessControlConstants.NT_REP_ACE
rep:ACE nodetype
|
static Name |
AccessControlConstants.NT_REP_ACL
rep:ACL nodetype
|
static Name |
AccessControlConstants.NT_REP_DENY_ACE
rep:DenyACE nodetype
|
static Name |
AccessControlConstants.NT_REP_GRANT_ACE
rep:GrantACE nodetype
|
static Name |
AccessControlConstants.NT_REP_PRINCIPAL_ACCESS_CONTROL
rep:PrincipalAccessControl nodetype
|
static Name |
AccessControlConstants.NT_REP_REPO_ACCESS_CONTROLLABLE
rep:RepoAccessControllable nodetype
|
static Name |
AccessControlConstants.P_GLOB
rep:glob property name used to restrict the number of child nodes
or properties that are affected by an ACL inherited from a parent node.
|
static Name |
AccessControlConstants.P_PRINCIPAL_NAME
rep:principalName property name
|
static Name |
AccessControlConstants.P_PRIVILEGES
rep:privileges property name
|
static Name |
PrivilegeRegistry.REP_PRIVILEGE_MANAGEMENT_NAME |
static Name |
PrivilegeRegistry.REP_WRITE_NAME |
Modifier and Type | Method and Description |
---|---|
Map<Name,Value> |
AccessControlEntryImpl.getRestrictions()
Returns the restrictions defined for this entry.
|
Modifier and Type | Method and Description |
---|---|
PrivilegeBits |
PrivilegeManagerImpl.getBits(Name... privilegeNames) |
Value |
AccessControlEntryImpl.getRestriction(Name restrictionName) |
Modifier and Type | Method and Description |
---|---|
void |
PrivilegeManagerImpl.privilegesRegistered(Set<Name> privilegeNames) |
Modifier and Type | Method and Description |
---|---|
protected static Name |
ACLEditor.getUniqueNodeName(Node node,
String name)
Create a unique valid name for the Permission nodes to be save.
|
Modifier and Type | Method and Description |
---|---|
protected static Name |
ACLEditor.getUniqueNodeName(Node node,
String name)
Create a unique valid name for the Permission nodes to be save.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleAccessManager.isGranted(Path parentPath,
Name childName,
int permissions) |
Modifier and Type | Method and Description |
---|---|
Name |
SessionContext.getQName(String name) |
Modifier and Type | Method and Description |
---|---|
static void |
NodeNameNormalizer.check(Name name) |
String |
SessionContext.getJCRName(Name name) |
Modifier and Type | Method and Description |
---|---|
Name |
ChildNodeEntry.getName() |
Name |
PropertyState.getName()
Returns the name of this property.
|
Name |
NodeState.getNodeTypeName()
Returns the name of this node's node type.
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
NodeState.getAddedPropertyNames()
Returns a set of
Name s denoting those properties that
do not exist in the overlayed node state but have been added to
this node state. |
Set<Name> |
NodeState.getMixinTypeNames()
Returns the names of this node's mixin types.
|
Set<Name> |
NodeState.getPropertyNames()
Returns the names of this node's properties as a set of
QNames objects. |
Set<Name> |
NodeState.getRemovedPropertyNames()
Returns a set of
Name s denoting those properties that
exist in the overlayed node state but have been removed from
this node state. |
Modifier and Type | Method and Description |
---|---|
ChildNodeEntry |
NodeState.addChildNodeEntry(Name nodeName,
NodeId id)
Adds a new
ChildNodeEntry . |
void |
NodeState.addPropertyName(Name propName)
Adds a property name entry.
|
PropertyState |
LocalItemStateManager.createNew(Name propName,
NodeId parentId)
Creates a
PropertyState instance representing new,
i.e. |
PropertyState |
SessionItemStateManager.createNew(Name propName,
NodeId parentId)
Creates a
PropertyState instance representing new,
i.e. |
PropertyState |
UpdatableItemStateManager.createNew(Name propName,
NodeId parentId)
Creates a
PropertyState instance representing new,
i.e. |
NodeState |
LocalItemStateManager.createNew(NodeId id,
Name nodeTypeName,
NodeId parentId)
Creates a
NodeState instance representing new,
i.e. |
NodeState |
SessionItemStateManager.createNew(NodeId id,
Name nodeTypeName,
NodeId parentId)
Creates a
NodeState instance representing new,
i.e. |
NodeState |
UpdatableItemStateManager.createNew(NodeId id,
Name nodeTypeName,
NodeId parentId)
Creates a
NodeState instance representing new,
i.e. |
NodeState |
SessionItemStateManager.createTransientNodeState(NodeId id,
Name nodeTypeName,
NodeId parentId,
int initialStatus) |
PropertyState |
SessionItemStateManager.createTransientPropertyState(NodeId parentId,
Name propName,
int initialStatus) |
List<ChildNodeEntry> |
NodeState.getChildNodeEntries(Name nodeName)
Returns a list of
ChildNodeEntry s with the specified name. |
ChildNodeEntry |
NodeState.getChildNodeEntry(Name nodeName,
int index)
Returns the
ChildNodeEntry with the specified name and index
or null if there's no matching entry. |
boolean |
NodeState.hasChildNodeEntry(Name name)
Determines if there is a
ChildNodeEntry with the
specified name . |
boolean |
NodeState.hasChildNodeEntry(Name name,
int index)
Determines if there is a
ChildNodeEntry with the
specified name and index . |
boolean |
NodeState.hasPropertyName(Name propName)
Determines if there is a property entry with the specified
Name . |
void |
LocalItemStateManager.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
NodeStateListener.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
SessionItemStateManager.nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added
|
void |
LocalItemStateManager.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
void |
NodeStateListener.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
void |
SessionItemStateManager.nodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been removed
|
void |
StateChangeDispatcher.notifyNodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Notify listeners about changes to some state.
|
void |
StateChangeDispatcher.notifyNodeRemoved(NodeState state,
Name name,
int index,
NodeId id)
Notify listeners about changes to some state.
|
boolean |
NodeState.removeChildNodeEntry(Name nodeName,
int index)
Removes a
ChildNodeEntry . |
boolean |
NodeState.removePropertyName(Name propName)
Removes a property name entry.
|
boolean |
NodeState.renameChildNodeEntry(Name oldName,
int index,
Name newName)
Renames a
ChildNodeEntry by removing the old entry and
appending the new entry to the end of the list. |
boolean |
NodeState.renameChildNodeEntry(NodeId id,
Name newName)
Renames a
ChildNodeEntry by removing the old entry and
appending the new entry to the end of the list. |
boolean |
NodeState.replaceChildNodeEntry(NodeId oldId,
Name newName,
NodeId newId)
Replaces the
ChildNodeEntry identified by oldId
with a new entry. |
void |
NodeState.setNodeTypeName(Name nodeTypeName)
Set the node type name.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeState.setMixinTypeNames(Set<Name> names)
Sets the names of this node's mixin types.
|
void |
NodeState.setPropertyNames(Set<Name> propNames)
Sets the set of
Name objects denoting the
properties of this node. |
Constructor and Description |
---|
NodeState(NodeId id,
Name nodeTypeName,
NodeId parentId,
int initialStatus,
boolean isTransient)
Constructs a new node state that is not connected.
|
Modifier and Type | Method and Description |
---|---|
static InternalValue |
InternalValue.create(Name value) |
QValue |
InternalValueFactory.create(Name value) |
static InternalValue[] |
InternalValue.create(Name[] values) |
Modifier and Type | Method and Description |
---|---|
Name |
InternalFrozenNode.getFrozenPrimaryType()
Returns the name of frozen primary type.
|
Name |
LabelVersionSelector.getLabel()
Returns the label hint
|
Name[] |
InternalVersion.getLabels()
returns the labels that are assigned to this version
|
Name |
InternalFreeze.getName()
returns the name of the node.
|
Name |
InternalVersion.getName()
Returns the name of this version.
|
Name |
NodeStateEx.getName()
returns the name of this node
|
Name[] |
InternalVersionHistory.getVersionLabels()
Returns a name array of all version labels that exist in this
version history
|
Name[] |
InternalVersionHistory.getVersionNames()
Returns a name array of all version names that exist in this version history.
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
InternalFrozenNode.getFrozenMixinTypes()
Returns the list of names of the frozen mixin types.
|
Modifier and Type | Method and Description |
---|---|
NodeStateEx |
NodeStateEx.addNode(Name nodeName,
Name nodeTypeName,
NodeId id)
Adds a new child node with the given name
|
NodeStateEx |
NodeStateEx.addNode(Name nodeName,
Name nodeTypeName,
NodeId id,
boolean referenceable)
Adds a new child node with the given name
|
VirtualNodeState |
InternalXAVersionManager.createNodeState(VirtualNodeState parent,
Name name,
NodeId id,
Name nodeTypeName)
Creates a new virtual node state
|
VirtualPropertyState |
InternalXAVersionManager.createPropertyState(VirtualNodeState parent,
Name name,
int type,
boolean multiValued)
Creats a new virtual property state
|
InternalFreeze |
InternalFrozenNode.getFrozenChildNode(Name name,
int idx)
Returns the frozen child node or
null |
NodeStateEx |
NodeStateEx.getNode(Name name,
int index)
retrieves the child node with the given name and 1-base index or
null if the node does not exist. |
InternalValue |
NodeStateEx.getPropertyValue(Name name)
Returns the value of the given property or
null |
InternalValue[] |
NodeStateEx.getPropertyValues(Name name)
Returns the values of the given property or
null |
InternalVersion |
InternalVersionHistory.getVersion(Name versionName)
Equivalent to
VersionHistory.getVersion(java.lang.String) . |
InternalVersion |
InternalVersionHistory.getVersionByLabel(Name label)
Equivalent to
VersionHistory.getVersionByLabel(java.lang.String)
but returns null if the version does not exists. |
boolean |
InternalFrozenNode.hasFrozenChildNode(Name name,
int idx)
Checks if this frozen node had the indicated child node.
|
boolean |
InternalVersion.hasLabel(Name label)
Checks, if this version has the given label associated
|
boolean |
NodeStateEx.hasNode(Name name)
checks if the given child node exists.
|
boolean |
NodeStateEx.hasProperty(Name name)
Checks if the given property exists
|
boolean |
InternalVersionHistory.hasVersion(Name versionName)
Checks if the version with the given name exists in this version history.
|
protected void |
InternalXAVersionManager.internalRemoveVersion(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history,
Name name)
Removes the specified version from the history
|
NodeStateEx |
NodeStateEx.moveFrom(NodeStateEx src,
Name name,
boolean createShare)
Moves the source node to this node using the given name.
|
boolean |
NodeStateEx.removeNode(Name name)
removes the (first) child node with the given name.
|
boolean |
NodeStateEx.removeNode(Name name,
int index)
removes the child node with the given name and 1-based index
|
boolean |
NodeStateEx.removeProperty(Name name)
removes the property with the given name
|
void |
InternalVersionManager.removeVersion(Session session,
InternalVersionHistory history,
Name versionName)
Removes the specified version from the given version history.
|
void |
InternalVersionManagerImpl.removeVersion(Session session,
InternalVersionHistory history,
Name name)
Removes the specified version from the given version history.
|
void |
InternalXAVersionManager.removeVersion(Session session,
InternalVersionHistory history,
Name versionName)
Removes the specified version from the given version history.
|
protected void |
VersionManagerImplRestore.restore(NodeStateEx state,
Name versionName,
boolean removeExisting) |
protected NodeId |
VersionManagerImplConfig.restore(NodeStateEx parent,
Name name,
InternalBaseline baseline)
Restores the versions recorded in the given baseline below the specified
path.
|
protected void |
VersionManagerImplRestore.restore(NodeStateEx parent,
Name name,
InternalVersion v,
boolean removeExisting)
Restores the
version below the parent node
using the indicated name |
protected void |
VersionManagerImplRestore.restoreByLabel(NodeStateEx state,
Name versionLabel,
boolean removeExisting) |
static InternalVersion |
LabelVersionSelector.selectByLabel(InternalVersionHistory history,
Name label)
Selects a version by label
|
void |
LabelVersionSelector.setLabel(Name label)
Sets the label hint
|
void |
NodeStateEx.setPropertyValue(Name name,
InternalValue value)
Sets the property value
|
void |
NodeStateEx.setPropertyValues(Name name,
int type,
InternalValue[] values)
Sets the property values
|
PropertyState |
NodeStateEx.setPropertyValues(Name name,
int type,
InternalValue[] values,
boolean multiple)
Sets the property values
|
protected InternalVersion |
InternalXAVersionManager.setVersionLabel(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history,
Name version,
Name label,
boolean move)
Set version label on the specified version.
|
InternalVersion |
InternalVersionManager.setVersionLabel(Session session,
InternalVersionHistory history,
Name version,
Name label,
boolean move)
Sets the version
label to the given version . |
InternalVersion |
InternalVersionManagerImpl.setVersionLabel(Session session,
InternalVersionHistory history,
Name version,
Name label,
boolean move)
Sets the version
label to the given version . |
InternalVersion |
InternalXAVersionManager.setVersionLabel(Session session,
InternalVersionHistory history,
Name version,
Name label,
boolean move)
Sets the version
label to the given version . |
Modifier and Type | Method and Description |
---|---|
void |
NodeStateEx.setMixins(Set<Name> mixinTypeNames)
Sets the given mixin types
|
Constructor and Description |
---|
LabelVersionSelector(Name label)
Creates a
LabelVersionSelector that will try to select a
version with the given label. |
NodeStateEx(UpdatableItemStateManager stateMgr,
NodeTypeRegistry ntReg,
NodeState nodeState,
Name name)
Creates a new persistent node
|
Modifier and Type | Method and Description |
---|---|
VirtualNodeState |
AbstractVISProvider.createNodeState(VirtualNodeState parent,
Name name,
NodeId id,
Name nodeTypeName)
Creates a new virtual node state
|
VirtualNodeState |
VirtualItemStateProvider.createNodeState(VirtualNodeState parent,
Name name,
NodeId id,
Name nodeTypeName)
Creates a new virtual node state
|
VirtualPropertyState |
AbstractVISProvider.createPropertyState(VirtualNodeState parent,
Name name,
int type,
boolean multiValued)
Creats a new virtual property state
|
VirtualPropertyState |
VirtualItemStateProvider.createPropertyState(VirtualNodeState parent,
Name name,
int type,
boolean multiValued)
Creats a new virtual property state
|
protected QNodeDefinition |
AbstractVISProvider.getApplicableChildNodeDef(NodeState parent,
Name nodeName,
Name nodeTypeName)
Retrieves the node definition for the given constraints.
|
protected QPropertyDefinition |
AbstractVISProvider.getApplicablePropertyDef(NodeState parent,
Name propertyName,
int type,
boolean multiValued)
retrieves the property definition for the given constraints
|
protected VirtualPropertyState |
VirtualNodeState.getOrCreatePropertyState(Name name,
int type,
boolean multiValued)
Retrieves or creates a new property state as child property of this node
|
VirtualPropertyState |
VirtualNodeState.getProperty(Name name)
returns the property state of the given name
|
InternalValue |
VirtualNodeState.getPropertyValue(Name name)
Returns the value of the given property or
null |
InternalValue[] |
VirtualNodeState.getPropertyValues(Name name)
Returns the values of the given property of
null |
InternalValue[] |
VirtualValueProvider.getVirtualValues(Name propName)
Returns the values for the given name
|
void |
VirtualNodeState.setMixinNodeTypes(Name[] mixins)
sets the mixing node type and adds the respective property
|
void |
VirtualNodeState.setPropertyValue(Name name,
InternalValue value)
Sets the property value
|
void |
VirtualNodeState.setPropertyValues(Name name,
int type,
InternalValue[] values)
Sets the property values
|
void |
VirtualNodeState.setPropertyValues(Name name,
int type,
InternalValue[] values,
boolean multiple)
Sets the property values
|
Constructor and Description |
---|
VirtualNodeState(AbstractVISProvider stateMgr,
NodeId parentId,
NodeId id,
Name nodeTypeName,
Name[] mixins)
creates a new virtual node state
|
VirtualNodeState(AbstractVISProvider stateMgr,
NodeId parentId,
NodeId id,
Name nodeTypeName,
Name[] mixins)
creates a new virtual node state
|
Modifier and Type | Method and Description |
---|---|
Name[] |
NodeInfo.getMixinNames()
Returns the names of the mixin types of the node being imported.
|
Name |
NodeInfo.getName()
Returns the name of the node being imported.
|
Name |
PropInfo.getName() |
Name |
NodeInfo.getNodeTypeName()
Returns the name of the primary type of the node being imported.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SessionImporter.checkPermission(NodeImpl parent,
Name nodeName)
make sure the editing session is allowed create nodes with a
specified node type (and ev.
|
protected NodeImpl |
SessionImporter.createNode(NodeImpl parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id) |
protected NodeImpl |
SessionImporter.createNode(NodeImpl parent,
Name nodeName,
Name nodeTypeName,
Name[] mixinNames,
NodeId id) |
Constructor and Description |
---|
NodeInfo(Name name,
Name nodeTypeName,
Name[] mixinNames,
NodeId id)
Creates a node information instance.
|
NodeInfo(Name name,
Name nodeTypeName,
Name[] mixinNames,
NodeId id)
Creates a node information instance.
|
PropInfo(Name name,
int type,
TextValue[] values)
Creates a property information instance.
|
PropInfo(Name name,
int type,
TextValue[] values,
PropInfo.MultipleStatus multipleStatus)
Creates a property information instance.
|
Modifier and Type | Method and Description |
---|---|
EventFilter |
WorkspaceManager.createEventFilter(int eventTypes,
Path path,
boolean isDeep,
String[] uuids,
Name[] nodeTypes,
boolean noLocal)
Creates an event filter based on the parameters available in
ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean) . |
protected Node |
NodeImpl.getNode(Name nodeName,
int index) |
protected Property |
NodeImpl.getProperty(Name qName) |
Modifier and Type | Method and Description |
---|---|
Name |
HierarchyEntry.getName() |
Modifier and Type | Method and Description |
---|---|
Collection<Name> |
ChildPropertyEntries.getPropertyNames()
Returns an unmodifiable collection containing all existing property names.
|
Collection<Name> |
ChildPropertyEntriesImpl.getPropertyNames() |
Modifier and Type | Method and Description |
---|---|
NodeEntry |
NodeEntry.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition)
Adds a new, transient child
NodeEntry |
NodeEntry |
NodeEntryImpl.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition) |
PropertyEntry |
NodeEntry.addNewPropertyEntry(Name propName,
QPropertyDefinition definition,
QValue[] values,
int propertyType)
Add a new, transient
PropertyEntry to this NodeEntry
and return the PropertyState associated with the new entry. |
PropertyEntry |
NodeEntryImpl.addNewPropertyEntry(Name propName,
QPropertyDefinition definition,
QValue[] values,
int propertyType) |
boolean |
ChildPropertyEntries.contains(Name propertyName)
Returns true if a property entry with the given name exists.
|
boolean |
ChildPropertyEntriesImpl.contains(Name propertyName) |
NodeEntry |
EntryFactory.createNodeEntry(NodeEntry parent,
Name qName,
String uniqueId) |
PropertyEntry |
EntryFactory.createPropertyEntry(NodeEntry parent,
Name qName) |
List<NodeEntry> |
ChildNodeEntries.get(Name nodeName)
Returns a
List of NodeEntry s for the
given nodeName . |
PropertyEntry |
ChildPropertyEntries.get(Name propertyName)
Return the PropertyEntry with the given
Name or
null . |
PropertyEntry |
ChildPropertyEntriesImpl.get(Name propertyName) |
NodeEntry |
ChildNodeEntries.get(Name nodeName,
int index)
Returns the
NodeEntry with the given
nodeName and index . |
NodeEntry |
ChildNodeEntries.get(Name nodeName,
String uniqueID)
Return the
NodeEntry that matches the given nodeName and
uniqueID or null if no matching entry can be found. |
List<NodeEntry> |
NodeEntry.getNodeEntries(Name nodeName)
Returns a unmodifiable List of
NodeEntry s with the
specified name. |
List<NodeEntry> |
NodeEntryImpl.getNodeEntries(Name nodeName) |
NodeEntry |
NodeEntry.getNodeEntry(Name nodeName,
int index)
Returns the valid
NodeEntry with the specified name
and index or null if there's no matching entry. |
NodeEntry |
NodeEntryImpl.getNodeEntry(Name nodeName,
int index) |
NodeEntry |
NodeEntry.getNodeEntry(Name nodeName,
int index,
boolean loadIfNotFound)
Returns the valid
NodeEntry with the specified name
and index or null if there's no matching entry. |
NodeEntry |
NodeEntryImpl.getNodeEntry(Name nodeName,
int index,
boolean loadIfNotFound) |
NodeEntry |
NodeEntry.getOrAddNodeEntry(Name nodeName,
int index,
String uniqueID)
Adds a child NodeEntry to this entry if it not yet present with this
node entry.
|
NodeEntry |
NodeEntryImpl.getOrAddNodeEntry(Name nodeName,
int index,
String uniqueID) |
PropertyEntry |
NodeEntry.getOrAddPropertyEntry(Name propName)
Add an existing
PropertyEntry with the given name if it is
not yet contained in this NodeEntry . |
PropertyEntry |
NodeEntryImpl.getOrAddPropertyEntry(Name propName) |
PropertyEntry |
NodeEntry.getPropertyEntry(Name propName)
Returns the valid
PropertyEntry with the specified name
or null if no matching entry exists. |
PropertyEntry |
NodeEntryImpl.getPropertyEntry(Name propName) |
PropertyEntry |
NodeEntry.getPropertyEntry(Name propName,
boolean loadIfNotFound)
Returns the valid
PropertyEntry with the specified name
or null if no matching entry exists. |
PropertyEntry |
NodeEntryImpl.getPropertyEntry(Name propName,
boolean loadIfNotFound)
Ignores the
loadIfNotFound flag due to the fact, that
NodeInfo.getPropertyIds() returns the
complete list of property names currently available. |
boolean |
NodeEntry.hasNodeEntry(Name nodeName)
Determines if there is a valid
NodeEntry with the
specified nodeName . |
boolean |
NodeEntryImpl.hasNodeEntry(Name nodeName) |
boolean |
NodeEntry.hasNodeEntry(Name nodeName,
int index)
Determines if there is a valid
NodeEntry with the
specified name and index . |
boolean |
NodeEntryImpl.hasNodeEntry(Name nodeName,
int index) |
boolean |
NodeEntry.hasPropertyEntry(Name propName)
Determines if there is a property entry with the specified
Name . |
boolean |
NodeEntryImpl.hasPropertyEntry(Name propName) |
NodeEntry |
NodeEntry.move(Name newName,
NodeEntry newParent,
boolean transientMove)
Moves this
NodeEntry as new child entry of the
NodeEntry identified by newParent and/or renames
it to newName . |
NodeEntry |
NodeEntryImpl.move(Name newName,
NodeEntry newParent,
boolean transientMove) |
Modifier and Type | Method and Description |
---|---|
void |
NodeEntry.setPropertyEntries(Collection<Name> propNames)
Adds property entries for the given
Name s. |
void |
NodeEntryImpl.setPropertyEntries(Collection<Name> propNames) |
Modifier and Type | Method and Description |
---|---|
Name[] |
EffectiveNodeType.getAllNodeTypes() |
Name[] |
EffectiveNodeTypeImpl.getAllNodeTypes() |
Name[] |
EffectiveNodeType.getInheritedNodeTypes() |
Name[] |
EffectiveNodeTypeImpl.getInheritedNodeTypes() |
Name[] |
EffectiveNodeType.getMergedNodeTypes() |
Name[] |
EffectiveNodeTypeImpl.getMergedNodeTypes() |
Name[] |
EffectiveNodeTypeCache.Key.getNames()
Returns the node type names of this key.
|
Name[] |
NodeTypeRegistry.getRegisteredNodeTypes()
Returns the names of all registered node types.
|
Name[] |
NodeTypeRegistryImpl.getRegisteredNodeTypes() |
Modifier and Type | Method and Description |
---|---|
void |
EffectiveNodeType.checkAddNodeConstraints(Name name,
ItemDefinitionProvider definitionProvider) |
void |
EffectiveNodeTypeImpl.checkAddNodeConstraints(Name name,
ItemDefinitionProvider definitionProvider) |
void |
EffectiveNodeType.checkAddNodeConstraints(Name name,
QNodeTypeDefinition nodeTypeDefinition,
ItemDefinitionProvider definitionProvider) |
void |
EffectiveNodeTypeImpl.checkAddNodeConstraints(Name name,
QNodeTypeDefinition nodeTypeDefinition,
ItemDefinitionProvider definitionProvider) |
void |
EffectiveNodeType.checkRemoveItemConstraints(Name name)
Deprecated.
|
void |
EffectiveNodeTypeImpl.checkRemoveItemConstraints(Name name) |
Iterator<QNodeTypeDefinition> |
NodeTypeCache.getDefinitions(NodeTypeStorage storage,
Name[] nodeTypeNames)
Returns the
QNodeTypeDefinition s for the given node type
names. |
EffectiveNodeType |
EffectiveNodeTypeProvider.getEffectiveNodeType(Name ntName)
Build the
EffectiveNodeType from the given
NodeType name. |
EffectiveNodeType |
NodeTypeRegistryImpl.getEffectiveNodeType(Name ntName) |
EffectiveNodeType |
EffectiveNodeTypeProvider.getEffectiveNodeType(Name[] ntNames)
Build the
EffectiveNodeType from the given array of
NodeType names. |
EffectiveNodeType |
NodeTypeRegistryImpl.getEffectiveNodeType(Name[] ntNames) |
EffectiveNodeType |
EffectiveNodeTypeProvider.getEffectiveNodeType(Name[] ntNames,
Map<Name,QNodeTypeDefinition> ntdMap) |
EffectiveNodeType |
NodeTypeRegistryImpl.getEffectiveNodeType(Name[] ntNames,
Map<Name,QNodeTypeDefinition> ntdMap) |
EffectiveNodeTypeCache.Key |
EffectiveNodeTypeCache.getKey(Name[] ntNames)
Returns a key for an effective node type that consists of the given
node type names.
|
QNodeDefinition[] |
EffectiveNodeType.getNamedQNodeDefinitions(Name name) |
QNodeDefinition[] |
EffectiveNodeTypeImpl.getNamedQNodeDefinitions(Name name) |
QPropertyDefinition[] |
EffectiveNodeType.getNamedQPropertyDefinitions(Name name) |
QPropertyDefinition[] |
EffectiveNodeTypeImpl.getNamedQPropertyDefinitions(Name name) |
NodeTypeImpl |
NodeTypeManagerImpl.getNodeType(Name name) |
QNodeTypeDefinition |
NodeTypeDefinitionProvider.getNodeTypeDefinition(Name ntName) |
QNodeTypeDefinition |
NodeTypeManagerImpl.getNodeTypeDefinition(Name ntName) |
QNodeTypeDefinition |
NodeTypeRegistry.getNodeTypeDefinition(Name nodeTypeName)
Returns the node type definition of the node type with the given name.
|
QNodeTypeDefinition |
NodeTypeRegistryImpl.getNodeTypeDefinition(Name nodeTypeName) |
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(EffectiveNodeType ent,
Name name,
Name nodeTypeName)
Returns the applicable child node definition for a child node with the
specified name and node type.
|
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(EffectiveNodeType ent,
Name name,
Name nodeTypeName) |
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName)
Returns the applicable child node definition for a child node with the
specified name and node type.
|
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName)
Returns the applicable child node definition for a child node with the
specified name and node type.
|
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName) |
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName) |
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId)
Returns the
QNodeDefinition for the specified node state. |
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId)
Returns the
QNodeDefinition for the specified node state. |
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId) |
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type)
Returns the applicable property definition for a property with the
specified name and type.
|
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type)
Returns the applicable property definition for a property with the
specified name and type.
|
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type) |
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued) |
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId)
Returns the
QPropertyDefinition for the specified parameters. |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId)
Returns the
QPropertyDefinition for the specified parameters. |
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId) |
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name ntName,
Name propName,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name ntName,
Name propName,
int type,
boolean multiValued) |
boolean |
NodeTypeManagerImpl.hasNodeType(Name nodeTypeName) |
boolean |
EffectiveNodeType.hasRemoveNodeConstraint(Name nodeName)
Returns
true if a single node definition matching the
specified nodeName is either mandatory or protected. |
boolean |
EffectiveNodeTypeImpl.hasRemoveNodeConstraint(Name nodeName) |
boolean |
EffectiveNodeType.hasRemovePropertyConstraint(Name propertyName)
Returns
true if a single property definition matching the
specified propertyName is either mandatory or protected. |
boolean |
EffectiveNodeTypeImpl.hasRemovePropertyConstraint(Name propertyName) |
boolean |
EffectiveNodeType.includesNodeType(Name nodeTypeName)
Determines whether this effective node type representation includes
(either through inheritance or aggregation) the given node type.
|
boolean |
EffectiveNodeTypeImpl.includesNodeType(Name nodeTypeName) |
boolean |
EffectiveNodeType.includesNodeTypes(Name[] nodeTypeNames)
Determines whether this effective node type representation includes
(either through inheritance or aggregation) all of the given node types.
|
boolean |
EffectiveNodeTypeImpl.includesNodeTypes(Name[] nodeTypeNames) |
void |
EffectiveNodeTypeCache.invalidate(Name name)
Removes all effective node types that are aggregated with the node type
of the given name.
|
boolean |
NodeTypeImpl.isNodeType(Name nodeTypeName)
Test if this nodetype equals or is directly or indirectly derived from
the node type with the specified
nodeTypeName , without
checking of a node type of that name really exists. |
boolean |
NodeTypeRegistry.isRegistered(Name ntName) |
boolean |
NodeTypeRegistryImpl.isRegistered(Name nodeTypeName) |
void |
NodeTypeManagerImpl.nodeTypeRegistered(Name ntName)
Called when a node type has been registered.
|
void |
NodeTypeRegistryListener.nodeTypeRegistered(Name ntName)
Called when a node type has been registered.
|
void |
NodeTypeManagerImpl.nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered.
|
void |
NodeTypeRegistryListener.nodeTypeReRegistered(Name ntName)
Called when a node type has been re-registered.
|
void |
NodeTypeManagerImpl.nodeTypeUnregistered(Name ntName)
Called when a node type has been deregistered.
|
void |
NodeTypeRegistryListener.nodeTypeUnregistered(Name ntName)
Called when a node type has been deregistered.
|
boolean |
EffectiveNodeType.supportsMixin(Name mixin)
Determines whether this effective node type supports adding
the specified mixin.
|
boolean |
EffectiveNodeTypeImpl.supportsMixin(Name mixin) |
void |
NodeTypeCache.unregisterNodeTypes(NodeTypeStorage storage,
Name[] nodeTypeNames) |
Modifier and Type | Method and Description |
---|---|
EffectiveNodeType |
EffectiveNodeTypeProvider.getEffectiveNodeType(Name[] ntNames,
Map<Name,QNodeTypeDefinition> ntdMap) |
EffectiveNodeType |
NodeTypeRegistryImpl.getEffectiveNodeType(Name[] ntNames,
Map<Name,QNodeTypeDefinition> ntdMap) |
EffectiveNodeType |
EffectiveNodeTypeProvider.getEffectiveNodeType(QNodeTypeDefinition ntd,
Map<Name,QNodeTypeDefinition> ntdMap)
Builds an effective node type representation from the given node type
definition.
|
EffectiveNodeType |
NodeTypeRegistryImpl.getEffectiveNodeType(QNodeTypeDefinition ntd,
Map<Name,QNodeTypeDefinition> ntdMap) |
void |
NodeTypeRegistry.unregisterNodeTypes(Collection<Name> nodeTypeNames)
Unregisters a collection of node types.
|
void |
NodeTypeRegistryImpl.unregisterNodeTypes(Collection<Name> nodeTypeNames) |
Modifier and Type | Method and Description |
---|---|
Name |
AbstractCopy.getDestinationName() |
Name |
Move.getDestinationName() |
Name |
AddLabel.getLabel() |
Name |
RemoveLabel.getLabel() |
Name[] |
SetMixin.getMixinNames() |
Name |
AddNode.getNodeName() |
Name |
AddNode.getNodeTypeName() |
Name |
SetPrimaryType.getPrimaryTypeName() |
Name |
AddProperty.getPropertyName() |
Modifier and Type | Method and Description |
---|---|
Operation |
SetTree.addChildNode(NodeState parentState,
Name nodeName,
Name nodeTypeName,
String uuid)
Add a child node operation to this
setTree instance. |
Operation |
SetTree.addChildProperty(NodeState parentState,
Name propName,
int propertyType,
QValue[] values,
QPropertyDefinition definition)
Add a child property operation to this
setTree instance. |
static Operation |
SetPrimaryType.create(NodeState nodeState,
Name primaryTypeName) |
static Operation |
SetMixin.create(NodeState nodeState,
Name[] mixinNames) |
static Operation |
AddProperty.create(NodeState parentState,
Name propName,
int propertyType,
QPropertyDefinition def,
QValue[] values) |
static Operation |
AddNode.create(NodeState parentState,
Name nodeName,
Name nodeTypeName,
String uuid) |
static Operation |
RemoveLabel.create(NodeState versionHistoryState,
NodeState versionState,
Name label) |
static Operation |
AddLabel.create(NodeState versionHistoryState,
NodeState versionState,
Name label,
boolean moveLabel) |
static SetTree |
SetTree.create(UpdatableItemStateManager itemStateMgr,
NodeState parent,
Name nodeName,
Name nodeTypeName,
String uuid) |
Modifier and Type | Field and Description |
---|---|
static Name |
AccessControlConstants.N_POLICY
Default name for a node of type rep:Policy.
|
static Name |
AccessControlConstants.N_REP_PRINCIPAL_NAME
rep:principalName
|
static Name |
AccessControlConstants.N_REP_PRIVILEGES
rep:privileges
|
static Name |
AccessControlConstants.N_REPO_POLICY
Name for a node of type 'rep:repoPolicy'.
|
static Name |
AccessControlConstants.NT_REP_ACCESS_CONTROLLABLE
rep:AccessControllable nodetype
|
static Name |
AccessControlConstants.NT_REP_ACL |
static Name |
AccessControlConstants.NT_REP_DENY_ACE |
static Name |
AccessControlConstants.NT_REP_GRANT_ACE |
static Name |
AccessControlConstants.NT_REP_REPO_ACCESS_CONTROLLABLE
rep:RepoAccessControllable node type.
|
static Name |
AccessControlConstants.P_GLOB
rep:glob property name used to restrict the number of child nodes
or properties that are affected by an ACL inherited from a parent node.
|
Modifier and Type | Method and Description |
---|---|
Name[] |
NodeState.getAllNodeTypeNames()
TODO: clarify usage
In case the status of the given node state is not
Status.EXISTING
the transiently added mixin types are taken into account as well. |
Name[] |
NodeState.getMixinTypeNames()
Returns the names of this node's mixin types.
|
Name |
ItemState.getName()
Utility method:
Returns the name of this state.
|
Name |
NodeState.getNodeTypeName()
Returns the name of this node's node type.
|
Name[] |
NodeState.getNodeTypeNames()
Return all nodetype names that are defined to this
NodeState
including the primary nodetype and the mixins. |
Modifier and Type | Method and Description |
---|---|
void |
ItemStateValidator.checkAddNode(NodeState parentState,
Name nodeName,
Name nodeTypeName,
int options)
Checks if adding a child node called
nodeName of node type
nodeTypeName to the given parent node is allowed in the
current context. |
void |
ItemStateValidator.checkAddProperty(NodeState parentState,
Name propertyName,
QPropertyDefinition definition,
int options) |
NodeState |
TransientISFactory.createNewNodeState(NodeEntry entry,
Name nodetypeName,
QNodeDefinition definition) |
NodeState |
TransientItemStateFactory.createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name . |
NodeState |
NodeState.getChildNodeState(Name nodeName,
int index)
Utility
Returns the child
NodeState with the specified name
and index. |
Iterator<PropertyId> |
NodeState.getNodeReferences(Name propertyName,
boolean weak)
Returns the identifiers of all reference properties that point to
this node.
|
Iterator<PropertyId> |
ItemStateFactory.getNodeReferences(NodeState nodeState,
Name propertyName,
boolean weak)
Returns the identifiers of all reference properties that point to
the given node.
|
Iterator<PropertyId> |
TransientISFactory.getNodeReferences(NodeState nodeState,
Name propertyName,
boolean weak) |
Iterator<PropertyId> |
WorkspaceItemStateFactory.getNodeReferences(NodeState nodeState,
Name propertyName,
boolean weak) |
PropertyState |
NodeState.getPropertyState(Name propertyName)
Utility method that returns the property state with the given name or
throws an
ItemNotFoundException if no matching, valid
property could be found. |
boolean |
NodeState.hasChildNodeEntry(Name name,
int index)
Utility
Determines if there is a valid
NodeEntry with the
specified name and index . |
boolean |
NodeState.hasPropertyName(Name propName)
Utility
|
void |
NodeState.setMixinTypeNames(Name[] mixinTypeNames)
Used by NodeEntryImpl and NodeState only
|
Constructor and Description |
---|
NodeState(NodeEntry entry,
Name nodeTypeName,
Name[] mixinTypeNames,
ItemStateFactory isf,
QNodeDefinition definition,
ItemDefinitionProvider definitionProvider)
Constructs a NEW NodeState
|
NodeState(NodeEntry entry,
Name nodeTypeName,
Name[] mixinTypeNames,
ItemStateFactory isf,
QNodeDefinition definition,
ItemDefinitionProvider definitionProvider)
Constructs a NEW NodeState
|
Modifier and Type | Method and Description |
---|---|
static Name[] |
StateUtility.getMixinNames(PropertyState ps) |
static Name |
StateUtility.getPrimaryTypeName(PropertyState ps) |
Modifier and Type | Method and Description |
---|---|
static boolean |
StateUtility.isUuidOrMixin(Name propName) |
static String |
LogUtil.saveGetJCRName(Name qName,
NameResolver nameResolver)
Failsafe conversion of a
Name to a JCR name for use in
error messages etc. |
Modifier and Type | Method and Description |
---|---|
void |
VersionManager.addVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel,
boolean moveLabel) |
void |
VersionManagerImpl.addVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel,
boolean moveLabel) |
void |
VersionManager.removeVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel) |
void |
VersionManagerImpl.removeVersionLabel(NodeState versionHistoryState,
NodeState versionState,
Name qLabel) |
Modifier and Type | Method and Description |
---|---|
Name[] |
Importer.NodeInfo.getMixinNames() |
Name |
Importer.NodeInfo.getName() |
Name |
Importer.PropInfo.getName() |
Name |
Importer.NodeInfo.getNodeTypeName() |
Constructor and Description |
---|
NodeInfo(Name name,
Name nodeTypeName,
Name[] mixinNames,
String uuid) |
NodeInfo(Name name,
Name nodeTypeName,
Name[] mixinNames,
String uuid) |
PropInfo(Name name,
int type,
Importer.TextValue[] values) |
Modifier and Type | Field and Description |
---|---|
static Name[] |
Name.EMPTY_ARRAY
Empty array of
Name |
Modifier and Type | Method and Description |
---|---|
Name |
NameFactory.create(String nameString)
Returns a
Name holding the value of the specified
string. |
Name |
NameFactory.create(String namespaceURI,
String localName)
Returns a
Name with the given namespace URI and
local part and validates the given parameters. |
Name |
QItemDefinition.getDeclaringNodeType()
Gets the name of the declaring node type.
|
Name |
QNodeDefinition.getDefaultPrimaryType()
Returns the name of the default primary type.
|
Name[] |
NodeInfo.getMixins() |
Name[] |
Event.getMixinTypeNames() |
Name |
ChildInfo.getName()
Returns the name of the child
Node . |
Name |
Path.getName()
Returns the name of the last path element, or
null
for an identifier. |
Name |
Path.Element.getName()
Returns the name of this path element.
|
Name |
PrivilegeDefinition.getName() |
Name |
PropertyId.getName()
Returns the
Name of the property identified by this id. |
Name |
QItemDefinition.getName()
Gets the name of the child item.
|
Name |
QNodeTypeDefinition.getName()
Returns the name of the node type being defined or
null if not set. |
Name |
QValue.getName()
Returns a
Name representation of this value. |
Name |
Tree.getName() |
Name |
NodeInfo.getNodetype() |
Name |
QNodeTypeDefinition.getPrimaryItemName()
Returns the name of the primary item (one of the child items of the
node's of this node type) or
null if not set. |
Name |
Event.getPrimaryNodeTypeName() |
Name |
Tree.getPrimaryTypeName() |
Name[] |
RepositoryService.getPrivilegeNames(SessionInfo sessionInfo,
NodeId id)
TODO
|
Name[] |
QNodeDefinition.getRequiredPrimaryTypes()
Returns the array of names of the required primary types.
|
Name[] |
QNodeTypeDefinition.getSupertypes()
Returns an array containing the names of the supertypes.
|
Name[] |
QNodeTypeDefinition.getSupportedMixinTypes()
Returns an array containing the names of additional mixin types
supported on this node type.
|
Modifier and Type | Method and Description |
---|---|
Set<Name> |
PrivilegeDefinition.getDeclaredAggregateNames() |
Collection<Name> |
QNodeTypeDefinition.getDependencies()
Returns a collection of node type
Name s that are being
referenced by this node type definition (e.g. |
Map<Name,QValue> |
Event.getInfo()
Returns the information map associated with this event.
|
Modifier and Type | Method and Description |
---|---|
Tree |
Tree.addChild(Name childName,
Name primaryTypeName,
String uniqueId) |
void |
Batch.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Add a new node to the persistent layer.
|
void |
Tree.addProperty(NodeId parentId,
Name propertyName,
int propertyType,
QValue value) |
void |
Tree.addProperty(NodeId parentId,
Name propertyName,
int propertyType,
QValue[] values) |
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Add a new property to the persistent layer.
|
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Add a new multi-valued property to the persistent layer.
|
void |
RepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
Add the given version label in the persistent layer.
|
void |
RepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
void |
RepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
Path |
PathFactory.create(Name name)
Creates a relative path based on a
Name . |
QValue |
QValueFactory.create(Name value)
Create a new
QValue with type PropertyType.NAME . |
Path |
PathFactory.create(Name name,
int index)
Creates a relative path based on a
Name and a normalized index. |
Path |
PathFactory.create(Path parent,
Name name,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name. |
Path |
PathFactory.create(Path parent,
Name name,
int index,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name and normalized index. |
Path.Element |
PathFactory.createElement(Name name)
Creates a path element from the given
name . |
Path.Element |
PathFactory.createElement(Name name,
int index)
Same as
PathFactory.createElement(Name) except that an explicit index can be
specified. |
EventFilter |
RepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
Creates an event filter.
|
PropertyId |
IdFactory.createPropertyId(NodeId parentId,
Name propertyName)
Creates a new
PropertyId from the given parent id and
property name. |
Tree |
RepositoryService.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId)
Creates a new
Tree that can be populated and later on be applied
to the specified Batch by calling #setTree . |
Iterator<QNodeTypeDefinition> |
RepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve
QNodeTypeDefinition s for the given names. |
Iterator<PropertyId> |
RepositoryService.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences)
Returns the
Id s of the properties that are referencing
the node identified by the given nodeId . |
void |
Batch.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Move the node identified by the given
srcNodeId to the
new parent identified by destParentNodeId and change its
name to destName . |
void |
RepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Moves the node identified by the given
srcNodeId (and its
entire subtree) to the new location defined by destParentNodeId
and a new name (destName ). |
void |
RepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
Remove the given version label in the persistent layer.
|
void |
Batch.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Modify the set of mixin node types present on the node identified by the
given id.
|
void |
Batch.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName)
Change the primary type of the node identified by the given
nodeId . |
void |
RepositoryService.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames)
Unregisters the node types with the specified
names . |
Modifier and Type | Method and Description |
---|---|
Name |
QItemDefinitionImpl.getDeclaringNodeType()
Gets the name of the declaring node type.
|
Name |
QNodeDefinitionImpl.getDefaultPrimaryType()
Returns the name of the default primary type.
|
Name[] |
NodeInfoImpl.getMixins() |
Name[] |
EventImpl.getMixinTypeNames() |
Name |
ChildInfoImpl.getName()
Returns the name of the child
Node . |
Name |
QItemDefinitionImpl.getName()
Gets the name of the child item.
|
Name |
QNodeTypeDefinitionImpl.getName()
Returns the name of the node type being defined or
null if not set. |
Name |
NodeInfoImpl.getNodetype() |
Name |
QNodeTypeDefinitionImpl.getPrimaryItemName()
Returns the name of the primary item (one of the child items of the
node's of this node type) or
null if not set. |
Name |
AdditionalEventInfo.getPrimaryNodeTypeName() |
Name |
EventImpl.getPrimaryNodeTypeName() |
Name[] |
QNodeDefinitionImpl.getRequiredPrimaryTypes()
Returns the array of names of the required primary types.
|
Name[] |
QNodeTypeDefinitionImpl.getSupertypes()
Returns an array containing the names of the supertypes.
|
Name[] |
QNodeTypeDefinitionImpl.getSupportedMixinTypes()
Returns an array containing the names of additional mixin types
supported on this node type.
|
Modifier and Type | Method and Description |
---|---|
Collection<Name> |
QNodeTypeDefinitionImpl.getDependencies()
Returns a collection of node type
Name s that are being
referenced by this node type definition (e.g. |
Map<Name,QValue> |
EventImpl.getInfo()
Returns the information map associated with this event.
|
Set<Name> |
AdditionalEventInfo.getMixinTypeNames() |
Set<Name> |
EventFilterImpl.getNodeTypeNames() |
Modifier and Type | Method and Description |
---|---|
ItemInfoBuilder.NodeInfoBuilder |
ItemInfoBuilder.NodeInfoBuilder.addMixin(Name name)
Add a mixin type
|
void |
SerializableBatch.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid) |
void |
SerializableBatch.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
void |
SerializableBatch.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
ItemInfoBuilder.PropertyInfoBuilder |
ItemInfoBuilder.PropertyInfoBuilder.addValue(Name value)
Add a
PropertyType.NAME value to this property. |
void |
AbstractRepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel) |
void |
AbstractRepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting) |
void |
AbstractRepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
EventFilter |
AbstractRepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal) |
Tree |
AbstractRepositoryService.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
Iterator<QNodeTypeDefinition> |
AbstractRepositoryService.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
This default implementation first calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then gathers the QNodeTypeDefinition s
with the given nodetypeNames . |
void |
SerializableBatch.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
void |
AbstractRepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
static ItemInfoBuilder.NodeInfoBuilder |
ItemInfoBuilder.nodeInfoBuilder(Name name,
ItemInfoBuilder.Listener listener)
Return a
ItemInfoBuilder.NodeInfoBuilder for a node with a given name . |
void |
AbstractRepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label) |
void |
SerializableBatch.setMixins(NodeId nodeId,
Name[] mixinNodeTypeIds) |
ItemInfoBuilder.NodeInfoBuilder |
ItemInfoBuilder.NodeInfoBuilder.setName(Name name)
Set the
name of the node |
ItemInfoBuilder.PropertyInfoBuilder |
ItemInfoBuilder.PropertyInfoBuilder.setName(Name name)
Set the
name of this property |
ItemInfoBuilder.NodeInfoBuilder |
ItemInfoBuilder.NodeInfoBuilder.setPrimaryType(Name name)
Set the name of the primary type.
|
void |
SerializableBatch.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName) |
void |
AbstractRepositoryService.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames) |
Constructor and Description |
---|
ChildInfoImpl(Name name,
String uniqueId,
int index)
Creates a new serializable
ChildInfoImpl . |
EventImpl(int type,
Path path,
ItemId itemId,
NodeId parentId,
Name primaryNodeTypeName,
Name[] mixinTypeNames,
String userId)
Deprecated.
|
EventImpl(int type,
Path path,
ItemId itemId,
NodeId parentId,
Name primaryNodeTypeName,
Name[] mixinTypeNames,
String userId)
Deprecated.
|
EventImpl(int type,
Path path,
ItemId itemId,
NodeId parentId,
Name primaryNodeTypeName,
Name[] mixinTypeNames,
String userId,
String userData,
long timestamp,
Map<Name,QValue> info)
Creates a new serializable event.
|
EventImpl(int type,
Path path,
ItemId itemId,
NodeId parentId,
Name primaryNodeTypeName,
Name[] mixinTypeNames,
String userId,
String userData,
long timestamp,
Map<Name,QValue> info)
Creates a new serializable event.
|
ItemInfoImpl(NodeId parentId,
Name name,
Path path,
boolean isNode)
Deprecated.
Use
ItemInfoImpl.ItemInfoImpl(Path, boolean) instead. The
parentId is not used any more and the corresponding getter has been
removed. |
NodeInfoImpl(NodeId parentId,
Name name,
Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
Iterator<PropertyId> references,
Iterator<PropertyId> propertyIds,
Iterator<ChildInfo> childInfos)
Deprecated.
Use
NodeInfoImpl.NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more. |
NodeInfoImpl(NodeId parentId,
Name name,
Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
Iterator<PropertyId> references,
Iterator<PropertyId> propertyIds,
Iterator<ChildInfo> childInfos)
Deprecated.
Use
NodeInfoImpl.NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more. |
NodeInfoImpl(Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
Iterator<PropertyId> references,
Iterator<PropertyId> propertyIds,
Iterator<ChildInfo> childInfos)
Creates a new node info from the given parameters.
|
NodeInfoImpl(Path path,
NodeId id,
int index,
Name primaryTypeName,
Name[] mixinNames,
Iterator<PropertyId> references,
Iterator<PropertyId> propertyIds,
Iterator<ChildInfo> childInfos)
Creates a new node info from the given parameters.
|
PropertyInfoImpl(NodeId parentId,
Name name,
Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
Deprecated.
Use
PropertyInfoImpl.PropertyInfoImpl(Path, PropertyId, int, boolean, QValue[])
instead. The parentId is not used any more. |
QNodeDefinitionImpl(Name name,
Name declaringNodeType,
boolean isAutoCreated,
boolean isMandatory,
int onParentVersion,
boolean isProtected,
Name defaultPrimaryType,
Name[] requiredPrimaryTypes,
boolean allowsSameNameSiblings)
Creates a new SPI node definition based on a JCR NodeDefinition.
|
QNodeDefinitionImpl(Name name,
Name declaringNodeType,
boolean isAutoCreated,
boolean isMandatory,
int onParentVersion,
boolean isProtected,
Name defaultPrimaryType,
Name[] requiredPrimaryTypes,
boolean allowsSameNameSiblings)
Creates a new SPI node definition based on a JCR NodeDefinition.
|
QNodeTypeDefinitionImpl(Name name,
Name[] supertypes,
Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
Name primaryItemName,
QPropertyDefinition[] declaredPropDefs,
QNodeDefinition[] declaredNodeDefs)
Creates a new serializable SPI node type definition.
|
QNodeTypeDefinitionImpl(Name name,
Name[] supertypes,
Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
Name primaryItemName,
QPropertyDefinition[] declaredPropDefs,
QNodeDefinition[] declaredNodeDefs)
Creates a new serializable SPI node type definition.
|
QNodeTypeDefinitionImpl(Name name,
Name[] supertypes,
Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
Name primaryItemName,
QPropertyDefinition[] declaredPropDefs,
QNodeDefinition[] declaredNodeDefs)
Creates a new serializable SPI node type definition.
|
QPropertyDefinitionImpl(Name name,
Name declaringNodeType,
boolean isAutoCreated,
boolean isMandatory,
int onParentVersion,
boolean isProtected,
QValue[] defaultValues,
boolean isMultiple,
int requiredType,
QValueConstraint[] valueConstraints,
String[] availableQueryOperators,
boolean isFullTextSearchable,
boolean isQueryOrderable)
Creates a new serializable property definition.
|
Constructor and Description |
---|
EventFilterImpl(int eventTypes,
Path absPath,
boolean isDeep,
String[] uuids,
Set<Name> nodeTypeNames,
boolean noLocal)
Creates a new
EventFilterImpl . |
EventImpl(int type,
Path path,
ItemId itemId,
NodeId parentId,
Name primaryNodeTypeName,
Name[] mixinTypeNames,
String userId,
String userData,
long timestamp,
Map<Name,QValue> info)
Creates a new serializable event.
|
Modifier and Type | Field and Description |
---|---|
protected Name |
Operations.Move.destName |
protected Name[] |
Operations.SetMixins.mixinNodeTypeNames |
protected Name |
Operations.AddNode.nodeName |
protected Name |
Operations.AddNode.nodetypeName |
protected Name |
Operations.SetPrimaryType.primaryTypeName |
protected Name |
Operations.AddProperty.propertyName |
Modifier and Type | Method and Description |
---|---|
void |
ChangeLogImpl.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid) |
void |
ConsolidatingChangeLog.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Factory method for creating an
AddNode operation. |
static Operation |
Operations.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Factory method for creating an
Operations.AddNode operation. |
void |
ChangeLogImpl.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
void |
ConsolidatingChangeLog.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Factory method for creating an
AddProperty operation. |
static Operation |
Operations.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Factory method for creating an
Operations.AddProperty operation. |
void |
ChangeLogImpl.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
void |
ConsolidatingChangeLog.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Factory method for creating an
AddProperty operation. |
static Operation |
Operations.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Factory method for creating an
Operations.AddProperty operation. |
protected static Path |
ConsolidatingChangeLog.getPath(NodeId parentId,
Name name)
|
void |
ChangeLogImpl.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
void |
ConsolidatingChangeLog.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Factory method for creating a
Move operation. |
static Operation |
Operations.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Factory method for creating a
Operations.Move operation. |
void |
ChangeLogImpl.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames) |
void |
ConsolidatingChangeLog.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Factory method for creating a
ConsolidatingChangeLog.CancelableOperations.SetMixins operation. |
static Operation |
Operations.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Factory method for creating a set-mixin
Operation for the given arguments. |
void |
ChangeLogImpl.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName) |
void |
ConsolidatingChangeLog.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setPrimaryType(NodeId nodeId,
Name primaryTypeName)
Factory method for creating a
ConsolidatingChangeLog.CancelableOperations.SetPrimaryType operation. |
static Operation |
Operations.setPrimaryType(NodeId nodeId,
Name primaryTypeName)
Factory method for creating a set-primaryType
Operation for the given arguments. |
Constructor and Description |
---|
AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid) |
AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Create a new add-node
Operation for the given arguments. |
AddProperty(NodeId parentId,
Name propertyName,
QValue value) |
AddProperty(NodeId parentId,
Name propertyName,
QValue value)
Create a new add-property
Operation for the given arguments. |
AddProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
AddProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Create a new add-property
Operation for the given arguments. |
Move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
Move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Create a new move
Operation for the given arguments. |
SetMixins(NodeId nodeId,
Name[] mixinNodeTypeNames) |
SetMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Create a new set-mixin
Operation for the given arguments. |
SetPrimaryType(NodeId nodeId,
Name primaryTypeName) |
SetPrimaryType(NodeId nodeId,
Name primaryTypeName)
Create a new set-mixin
Operation for the given arguments. |
Modifier and Type | Method and Description |
---|---|
Name |
CachingNameResolver.getQName(String jcrName)
Returns a
Name for the given prefixed JCR name. |
Name |
DefaultNamePathResolver.getQName(String name) |
Name |
NameResolver.getQName(String name)
Returns the
Name for the given JCR name String. |
Name |
ParsingNameResolver.getQName(String jcrName)
Parses the given JCR name and returns the resolved
Name object. |
static Name[] |
NameParser.parse(String[] jcrNames,
NamespaceResolver resolver,
NameFactory factory)
Parses an array of
jcrName and returns the respective
array of Name . |
static Name |
NameParser.parse(String jcrName,
NamespaceResolver resolver,
NameFactory factory)
Parses the
jcrName (either qualified or expanded) and
returns a new Name . |
Modifier and Type | Method and Description |
---|---|
String |
CachingNameResolver.getJCRName(Name name)
Returns the prefixed JCR name for the given
Name . |
String |
DefaultNamePathResolver.getJCRName(Name name) |
String |
NameResolver.getJCRName(Name name)
Returns the qualified JCR name String for the given
Name object. |
String |
ParsingNameResolver.getJCRName(Name name)
Returns the qualified JCR name for the given
Name object. |
Modifier and Type | Method and Description |
---|---|
PropertyId |
AbstractIdFactory.createPropertyId(NodeId parentId,
Name propertyName)
Creates a new
PropertyId from the given parent id and
property name. |
Modifier and Type | Method and Description |
---|---|
Name |
NameFactoryLogger.create(String nameString) |
Name |
NameFactoryLogger.create(String namespaceURI,
String localName) |
Name[] |
RepositoryServiceLogger.getPrivilegeNames(SessionInfo sessionInfo,
NodeId nodeId) |
Modifier and Type | Method and Description |
---|---|
void |
BatchLogger.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid) |
void |
BatchLogger.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
void |
BatchLogger.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
void |
RepositoryServiceLogger.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel) |
void |
RepositoryServiceLogger.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting) |
void |
RepositoryServiceLogger.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
Path |
PathFactoryLogger.create(Name name) |
QValue |
QValueFactoryLogger.create(Name value) |
Path |
PathFactoryLogger.create(Name name,
int index) |
Path |
PathFactoryLogger.create(Path parent,
Name name,
boolean normalize) |
Path |
PathFactoryLogger.create(Path parent,
Name name,
int index,
boolean normalize) |
Path.Element |
PathFactoryLogger.createElement(Name name) |
Path.Element |
PathFactoryLogger.createElement(Name name,
int index) |
EventFilter |
RepositoryServiceLogger.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] qnodeTypeName,
boolean noLocal) |
PropertyId |
IdFactoryLogger.createPropertyId(NodeId parentId,
Name propertyName) |
Tree |
RepositoryServiceLogger.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
Iterator<QNodeTypeDefinition> |
RepositoryServiceLogger.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames) |
Iterator<PropertyId> |
RepositoryServiceLogger.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences) |
void |
BatchLogger.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
void |
RepositoryServiceLogger.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
void |
RepositoryServiceLogger.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label) |
void |
BatchLogger.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames) |
void |
BatchLogger.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName) |
void |
RepositoryServiceLogger.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames) |
Modifier and Type | Field and Description |
---|---|
static Name |
NameConstants.ANY_NAME
The special wildcard name used as the name of residual item definitions.
|
static Name |
NameConstants.JCR_ACTIVITIES
jcr:activities
|
static Name |
NameConstants.JCR_ACTIVITY
jcr:activity
|
static Name |
NameConstants.JCR_ACTIVITY_TITLE
jcr:activityTitle
|
static Name |
NameConstants.JCR_ADD_CHILD_NODES
jcr:addChildNodes
|
static Name |
NameConstants.JCR_ALL
jcr:all
|
static Name |
NameConstants.JCR_AUTOCREATED
jcr:autoCreated
|
static Name |
NameConstants.JCR_BASEVERSION
jcr:baseVersion
|
static Name |
NameConstants.JCR_CHILDNODEDEFINITION
jcr:childNodeDefinition
|
static Name |
NameConstants.JCR_CHILDVERSIONHISTORY
jcr:childVersionHistory
|
static Name |
NameConstants.JCR_CONFIGURATION
jcr:configuration
|
static Name |
NameConstants.JCR_CONFIGURATIONS
jcr:configurations
|
static Name |
NameConstants.JCR_CONTENT
jcr:content
|
static Name |
NameConstants.JCR_COPIEDFROM
jcr:copiedFrom
|
static Name |
NameConstants.JCR_CREATED
jcr:created
|
static Name |
NameConstants.JCR_CREATEDBY
jcr:createdBy
|
static Name |
NameConstants.JCR_CURRENT_LIFECYCLE_STATE
jcr:currentLifecycleState : This property is a string
identifying the current lifecycle state of this node. |
static Name |
NameConstants.JCR_DATA
jcr:data
|
static Name |
NameConstants.JCR_DEFAULTPRIMARYTYPE
jcr:defaultPrimaryType
|
static Name |
NameConstants.JCR_DEFAULTVALUES
jcr:defaultValues
|
static Name |
NameConstants.JCR_DESCRIPTION
jcr:description
|
static Name |
NameConstants.JCR_ENCODING
jcr:encoding
|
static Name |
NameConstants.JCR_ETAG
jcr:etag
|
static Name |
NameConstants.JCR_FROZENMIXINTYPES
jcr:frozenMixinTypes
|
static Name |
NameConstants.JCR_FROZENNODE
jcr:frozenNode
|
static Name |
NameConstants.JCR_FROZENPRIMARYTYPE
jcr:frozenPrimaryType
|
static Name |
NameConstants.JCR_FROZENUUID
jcr:frozenUuid
|
static Name |
NameConstants.JCR_HASORDERABLECHILDNODES
jcr:hasOrderableChildNodes
|
static Name |
NameConstants.JCR_HOST
jcr:host
|
static Name |
NameConstants.JCR_ID
jcr:id
|
static Name |
NameConstants.JCR_ISCHECKEDOUT
jcr:isCheckedOut
|
static Name |
NameConstants.JCR_ISMIXIN
jcr:isMixin
|
static Name |
NameConstants.JCR_LANGUAGE
jcr:language
|
static Name |
NameConstants.JCR_LASTMODIFIED
jcr:lastModified
|
static Name |
NameConstants.JCR_LASTMODIFIEDBY
jcr:lastModifiedBy
|
static Name |
NameConstants.JCR_LIFECYCLE_MANAGEMENT
jcr:lifecycleManagement
|
static Name |
NameConstants.JCR_LIFECYCLE_POLICY
jcr:lifecyclePolicy : This property is a reference to
another node that contains lifecycle policy information. |
static Name |
NameConstants.JCR_LOCK_MANAGEMENT
jcr:lockManagement
|
static Name |
NameConstants.JCR_LOCKISDEEP
jcr:lockIsDeep
|
static Name |
NameConstants.JCR_LOCKOWNER
jcr:lockOwner
|
static Name |
NameConstants.JCR_MANDATORY
jcr:mandatory
|
static Name |
NameConstants.JCR_MERGEFAILED
jcr:mergeFailed
|
static Name |
NameConstants.JCR_MIMETYPE
jcr:mimeType
|
static Name |
NameConstants.JCR_MIXINTYPES
jcr:mixinTypes
|
static Name |
NameConstants.JCR_MODIFY_ACCESS_CONTROL
jcr:modifyAccessControl
|
static Name |
NameConstants.JCR_MODIFY_PROPERTIES
jcr:modifyProperties
|
static Name |
NameConstants.JCR_MULTIPLE
jcr:multiple
|
static Name |
NameConstants.JCR_NAME
jcr:name
|
static Name |
NameConstants.JCR_NAMESPACE_MANAGEMENT
jcr:namespaceManagement
|
static Name |
NameConstants.JCR_NODE_TYPE_DEFINITION_MANAGEMENT
jcr:nodeTypeDefinitionManagement
|
static Name |
NameConstants.JCR_NODE_TYPE_MANAGEMENT
jcr:nodeTypeManagement
|
static Name |
NameConstants.JCR_NODETYPENAME
jcr:nodeTypeName
|
static Name |
NameConstants.JCR_NODETYPES
jcr:nodeTypes
|
static Name |
NameConstants.JCR_ONPARENTVERSION
jcr:onParentVersion
|
static Name |
NameConstants.JCR_PATH
jcr:path
|
static Name |
NameConstants.JCR_PORT
jcr:port
|
static Name |
NameConstants.JCR_PREDECESSORS
jcr:predecessors
|
static Name |
NameConstants.JCR_PRIMARYITEMNAME
jcr:primaryItemName
|
static Name |
NameConstants.JCR_PRIMARYTYPE
jcr:primaryType
|
static Name |
NameConstants.JCR_PROPERTYDEFINITION
jcr:propertyDefinition
|
static Name |
NameConstants.JCR_PROTECTED
jcr:protected
|
static Name |
NameConstants.JCR_PROTOCOL
jcr:protocol
|
static Name |
NameConstants.JCR_READ
jcr:read
|
static Name |
NameConstants.JCR_READ_ACCESS_CONTROL
jcr:readAccessControl
|
static Name |
NameConstants.JCR_REMOVE_CHILD_NODES
jcr:removeChildNodes
|
static Name |
NameConstants.JCR_REMOVE_NODE
jcr:removeNode
|
static Name |
NameConstants.JCR_REPOSITORY
jcr:repository
|
static Name |
NameConstants.JCR_REQUIREDPRIMARYTYPES
jcr:requiredPrimaryTypes
|
static Name |
NameConstants.JCR_REQUIREDTYPE
jcr:requiredType
|
static Name |
NameConstants.JCR_RETENTION_MANAGEMENT
jcr:retentionManagement
|
static Name |
NameConstants.JCR_ROOT
jcr:root (dummy name for root node used in XML serialization)
|
static Name |
NameConstants.JCR_ROOTVERSION
jcr:rootVersion
|
static Name |
NameConstants.JCR_SAMENAMESIBLINGS
jcr:sameNameSiblings
|
static Name |
NameConstants.JCR_SCORE
jcr:score
|
static Name |
NameConstants.JCR_STATEMENT
jcr:statement
|
static Name |
NameConstants.JCR_SUCCESSORS
jcr:successors
|
static Name |
NameConstants.JCR_SUPERTYPES
jcr:supertypes
|
static Name |
NameConstants.JCR_SYSTEM
jcr:system
|
static Name |
NameConstants.JCR_TITLE
jcr:title
|
static Name |
NameConstants.JCR_UUID
jcr:uuid
|
static Name |
NameConstants.JCR_VALUECONSTRAINTS
jcr:valueConstraints
|
static Name |
NameConstants.JCR_VERSION_MANAGEMENT
jcr:versionManagement
|
static Name |
NameConstants.JCR_VERSIONABLEUUID
jcr:versionableUuid
|
static Name |
NameConstants.JCR_VERSIONHISTORY
jcr:versionHistory
|
static Name |
NameConstants.JCR_VERSIONLABELS
jcr:versionLabels
|
static Name |
NameConstants.JCR_VERSIONSTORAGE
jcr:versionStorage
|
static Name |
NameConstants.JCR_WORKSPACE
jcr:workspace
|
static Name |
NameConstants.JCR_WORKSPACE_MANAGEMENT
jcr:workspaceManagement
|
static Name |
NameConstants.JCR_WRITE
jcr:write
|
static Name |
NameConstants.JCR_XMLCHARACTERS
jcr:xmlcharacters
|
static Name |
NameConstants.JCR_XMLTEXT
jcr:xmltext
|
static Name |
NameConstants.MIX_CREATED
mix:created
|
static Name |
NameConstants.MIX_ETAG
mix:etag
|
static Name |
NameConstants.MIX_LANGUAGE
mix:language
|
static Name |
NameConstants.MIX_LASTMODIFIED
mix:lastModified
|
static Name |
NameConstants.MIX_LIFECYCLE
mix:lifecycle : Only nodes with mixin node type
mix:lifecycle may participate in a lifecycle. |
static Name |
NameConstants.MIX_LOCKABLE
mix:referenceable
|
static Name |
NameConstants.MIX_MIMETYPE
mix:mimeType
|
static Name |
NameConstants.MIX_REFERENCEABLE
mix:referenceable
|
static Name |
NameConstants.MIX_SHAREABLE
mix:shareable
|
static Name |
NameConstants.MIX_SIMPLE_VERSIONABLE
mix:simpleVersionable
|
static Name |
NameConstants.MIX_TITLE
mix:title
|
static Name |
NameConstants.MIX_VERSIONABLE
mix:versionable
|
static Name |
NameConstants.NT_ACTIVITY
nt:activity
|
static Name |
NameConstants.NT_ADDRESS
nt:address
|
static Name |
NameConstants.NT_BASE
nt:base
|
static Name |
NameConstants.NT_CHILDNODEDEFINITION
nt:childNodeDefinition
|
static Name |
NameConstants.NT_CONFIGURATION
nt:configuration
|
static Name |
NameConstants.NT_FILE
nt:file
|
static Name |
NameConstants.NT_FOLDER
nt:folder
|
static Name |
NameConstants.NT_FROZENNODE
nt:frozenNode
|
static Name |
NameConstants.NT_HIERARCHYNODE
nt:hierarchyNode
|
static Name |
NameConstants.NT_NODETYPE
nt:nodeType
|
static Name |
NameConstants.NT_PROPERTYDEFINITION
nt:propertyDefinition
|
static Name |
NameConstants.NT_QUERY
nt:query
|
static Name |
NameConstants.NT_RESOURCE
nt:resource
|
static Name |
NameConstants.NT_SHARE
nt:share
|
static Name |
NameConstants.NT_UNSTRUCTURED
nt:unstructured
|
static Name |
NameConstants.NT_VERSION
nt:version
|
static Name |
NameConstants.NT_VERSIONEDCHILD
nt:versionedChild
|
static Name |
NameConstants.NT_VERSIONHISTORY
nt:versionHistory
|
static Name |
NameConstants.NT_VERSIONLABELS
nt:versionLabels
|
static Name |
NameConstants.REP_ACCESS_CONTROL
rep:AccessControl
|
static Name |
NameConstants.REP_ACCESS_CONTROLLABLE
rep:AccessControllable
|
static Name |
NameConstants.REP_ACCESSCONTROL
rep:accesscontrol
|
static Name |
NameConstants.REP_ACE
rep:ACE
|
static Name |
NameConstants.REP_ACL
rep:ACL
|
static Name |
NameConstants.REP_ACTIVITIES
rep:Activities
|
static Name |
NameConstants.REP_BASEVERSIONS
rep:baseVersions
|
static Name |
NameConstants.REP_CONFIGURATIONS
rep:Configurations
|
static Name |
NameConstants.REP_DENY_ACE
rep:DenyACE
|
static Name |
NameConstants.REP_GLOB
rep:glob
|
static Name |
NameConstants.REP_GRANT_ACE
rep:GrantACE
|
static Name |
NameConstants.REP_NODE_PATH
rep:nodePath
|
static Name |
NameConstants.REP_NODETYPES
rep:nodeTypes
|
static Name |
NameConstants.REP_POLICY
rep:policy
|
static Name |
NameConstants.REP_PRINCIPAL_ACCESS_CONTROL
rep:PrincipalAccessControl
|
static Name |
NameConstants.REP_PRINCIPAL_NAME
rep:principalName
|
static Name |
NameConstants.REP_PRIVILEGES
rep:privileges
|
static Name |
NameConstants.REP_REPO_ACCESS_CONTROLLABLE
rep:RepoAccessControllable
|
static Name |
NameConstants.REP_REPO_POLICY
rep:repoPolicy
|
static Name |
NameConstants.REP_ROOT
rep:root
|
static Name |
NameConstants.REP_SYSTEM
rep:system
|
static Name |
NameConstants.REP_VERSION_REFERENCE
rep:VersionReference
|
static Name |
NameConstants.REP_VERSIONS
rep:versions
|
static Name |
NameConstants.REP_VERSIONSTORAGE
rep:versionStorage
|
static Name |
NameConstants.ROOT
Extra Name for the root node
|
static Name |
NameConstants.SV_MULTIPLE
sv:multiple
|
static Name |
NameConstants.SV_NAME
sv:name
|
static Name |
NameConstants.SV_NODE
sv:node
|
static Name |
NameConstants.SV_PROPERTY
sv:property
|
static Name |
NameConstants.SV_TYPE
sv:type
|
static Name |
NameConstants.SV_VALUE
sv:value
|
Modifier and Type | Method and Description |
---|---|
Name |
NameFactoryImpl.create(String nameString) |
Name |
NameFactoryImpl.create(String namespaceURI,
String localName) |
Name |
PathMap.Element.getName()
Return the name of this element
|
Modifier and Type | Method and Description |
---|---|
void |
PathBuilder.addFirst(Name name)
Inserts the element at the beginning of the path to be built.
|
void |
PathBuilder.addFirst(Name name,
int index)
Inserts the element at the beginning of the path to be built.
|
void |
PathBuilder.addLast(Name name)
Inserts the element at the end of the path to be built.
|
void |
PathBuilder.addLast(Name name,
int index)
Inserts the element at the end of the path to be built.
|
Path |
PathFactoryImpl.create(Name name) |
Path |
PathFactoryImpl.create(Name name,
int index) |
Path |
PathFactoryImpl.create(Path parent,
Name name,
boolean normalize) |
Path |
PathFactoryImpl.create(Path parent,
Name name,
int index,
boolean normalize) |
Path.Element |
PathFactoryImpl.createElement(Name name) |
Path.Element |
PathFactoryImpl.createElement(Name name,
int index) |
static Pattern |
Pattern.name(Name name)
Construct a new pattern which matches a path element of a given name
|
Modifier and Type | Method and Description |
---|---|
Name |
QItemDefinitionBuilder.getDeclaringNodeType() |
Name |
QNodeDefinitionBuilder.getDefaultPrimaryType() |
Name |
QItemDefinitionBuilder.getName() |
Name |
QNodeTypeDefinitionBuilder.getName() |
Name |
QNodeTypeDefinitionBuilder.getPrimaryItemName() |
Name[] |
QNodeDefinitionBuilder.getRequiredPrimaryTypes() |
Name[] |
QNodeTypeDefinitionBuilder.getSuperTypes()
Returns an array containing the names of the supertypes of the node
type definition being built.
|
Name[] |
QNodeTypeDefinitionBuilder.getSupportedMixinTypes()
Returns an array containing the names of additional mixin types supported
on this node type.
|
Modifier and Type | Method and Description |
---|---|
void |
QNodeDefinitionBuilder.addRequiredPrimaryType(Name name)
Adds a required primary type of the node definition being built.
|
Iterator<QNodeTypeDefinition> |
NodeTypeStorage.getDefinitions(Name[] nodeTypeNames)
Returns the
QNodeTypeDefinition s for the given node type
names. |
Iterator<QNodeTypeDefinition> |
NodeTypeStorageImpl.getDefinitions(Name[] nodeTypeNames)
This implementation returns an iterator over all registered
QNodeTypeDefinition s if
nodeTypeNames is null . |
abstract NodeType |
AbstractNodeTypeManager.getNodeType(Name ntName)
Return the node type with the specified
ntName . |
abstract boolean |
AbstractNodeType.isNodeType(Name nodeTypeName)
Test if this nodetype equals or is directly or indirectly derived from
the node type with the specified
nodeTypeName , without
checking of a node type of that name really exists. |
void |
QItemDefinitionBuilder.setDeclaringNodeType(Name type) |
void |
QNodeDefinitionBuilder.setDefaultPrimaryType(Name name) |
void |
QItemDefinitionBuilder.setName(Name name) |
void |
QNodeTypeDefinitionBuilder.setName(Name name)
Set the name of the node type definition being built
|
void |
QNodeTypeDefinitionBuilder.setPrimaryItemName(Name primaryItemName) |
void |
QNodeDefinitionBuilder.setRequiredPrimaryTypes(Name[] names) |
void |
QNodeTypeDefinitionBuilder.setSupertypes(Name[] supertypes)
Specifies the supertypes of the node type definition being built
|
void |
QNodeTypeDefinitionBuilder.setSupportedMixinTypes(Name[] names)
Sets the names of additional mixin types supported on this node type.
|
void |
NodeTypeStorage.unregisterNodeTypes(Name[] nodeTypeNames)
Remove all
QNodeTypeDefinition s provided from the store. |
void |
NodeTypeStorageImpl.unregisterNodeTypes(Name[] nodeTypeNames) |
Modifier and Type | Method and Description |
---|---|
Name |
PrivilegeDefinitionImpl.getName() |
Modifier and Type | Method and Description |
---|---|
Set<Name> |
PrivilegeDefinitionImpl.getDeclaredAggregateNames() |
Constructor and Description |
---|
PrivilegeDefinitionImpl(Name name,
boolean isAbstract,
Set<Name> declaredAggregateNames) |
Constructor and Description |
---|
PrivilegeDefinitionImpl(Name name,
boolean isAbstract,
Set<Name> declaredAggregateNames) |
Modifier and Type | Field and Description |
---|---|
static Name |
LocationStepQueryNode.EMPTY_NAME
The empty name used in matching the root node.
|
static Name |
RelationQueryNode.STAR_NAME_TEST
Acts as an synthetic placeholder for a location step that matches any
name.
|
Modifier and Type | Method and Description |
---|---|
Name |
LocationStepQueryNode.getNameTest()
Returns the label of the node for this location step, or
null
if the name test is '*'. |
Name |
OrderQueryNode.OrderSpec.getProperty()
Deprecated.
use
OrderQueryNode.OrderSpec.getPropertyPath() instead. |
Name |
ExactQueryNode.getPropertyName()
Returns the name of the property to match.
|
Name |
TextsearchQueryNode.getPropertyName()
Deprecated.
Use
TextsearchQueryNode.getRelativePath() instead. |
Name |
DerefQueryNode.getRefProperty()
Returns the name of the reference property or
null if
none is set. |
Name[] |
QueryRootNode.getSelectProperties()
Returns an array of select properties.
|
Name |
ExactQueryNode.getValue()
Returns the value of the property to match.
|
Modifier and Type | Method and Description |
---|---|
Collection<Name> |
PathQueryNode.getValidJcrSystemNodeTypeNames()
Returns the collection of valid node types under /jcr:system.
|
Modifier and Type | Method and Description |
---|---|
void |
OrderQueryNode.addOrderSpec(Name property,
boolean ascending)
Deprecated.
use
OrderQueryNode.addOrderSpec(Path , boolean) instead. |
void |
QueryRootNode.addSelectProperty(Name propName)
Adds a new select property to the query.
|
DerefQueryNode |
DefaultQueryNodeFactory.createDerefQueryNode(QueryNode parent,
Name nameTest,
boolean descendants)
Creates a
DerefQueryNode instance. |
DerefQueryNode |
QueryNodeFactory.createDerefQueryNode(QueryNode parent,
Name nameTest,
boolean descendants)
Creates a
DerefQueryNode instance. |
NodeTypeQueryNode |
DefaultQueryNodeFactory.createNodeTypeQueryNode(QueryNode parent,
Name nodeType)
Creates a
NodeTypeQueryNode instance. |
NodeTypeQueryNode |
QueryNodeFactory.createNodeTypeQueryNode(QueryNode parent,
Name nodeType)
Creates a
NodeTypeQueryNode instance. |
void |
LocationStepQueryNode.setNameTest(Name nameTest)
Sets a new name test.
|
void |
TextsearchQueryNode.setPropertyName(Name property)
Deprecated.
Use
TextsearchQueryNode.setRelativePath(Path) instead. |
void |
DerefQueryNode.setRefProperty(Name propertyName)
Sets a new name for the reference property.
|
Constructor and Description |
---|
DerefQueryNode(QueryNode parent,
Name nameTest,
boolean descendants)
Creates a new
DerefQueryNode without a name set for the
reference property. |
ExactQueryNode(QueryNode parent,
Name property,
Name value)
Creates a new
ExactQueryNode instance. |
NodeTypeQueryNode(QueryNode parent,
Name nodeType)
Creates a new
NodeTypeQueryNode . |
OrderSpec(Name property,
boolean ascending)
Deprecated.
use
OrderSpec#OrderSpec(Path, boolean) instead. |
Constructor and Description |
---|
DefaultQueryNodeFactory(Collection<Name> validJcrSystemNodeTypeNames)
Creates a DefaultQueryNodeFactory with the given node types under
/jcr:system .
|
PathQueryNode(QueryNode parent,
Collection<Name> validJcrSystemNodeTypeNames)
Creates a relative
PathQueryNode with no location steps and
the collection of node types under /jcr:system. |
Modifier and Type | Method and Description |
---|---|
Name |
DescendantNodeJoinConditionImpl.getAncestorSelectorQName()
Gets the name of the ancestor selector.
|
Name |
BindVariableValueImpl.getBindVariableQName()
Gets the name of the bind variable.
|
Name |
ChildNodeJoinConditionImpl.getChildSelectorQName()
Gets the name of the child selector.
|
Name |
DescendantNodeJoinConditionImpl.getDescendantSelectorQName()
Gets the name of the descendant selector.
|
Name |
SelectorImpl.getNodeTypeQName()
Gets the name of the required node type.
|
Name |
ChildNodeJoinConditionImpl.getParentSelectorQName()
Gets the name of the parent selector.
|
Name |
EquiJoinConditionImpl.getProperty1QName()
Gets the property name in the first selector.
|
Name |
EquiJoinConditionImpl.getProperty2QName()
Gets the property name in the second selector.
|
Name |
ColumnImpl.getPropertyQName()
Gets the name of the property.
|
Name |
FullTextSearchImpl.getPropertyQName()
Gets the name of the property.
|
Name |
PropertyExistenceImpl.getPropertyQName()
Gets the name of the property.
|
Name |
PropertyValueImpl.getPropertyQName()
Gets the name of the property.
|
Name |
EquiJoinConditionImpl.getSelector1QName()
Gets the name of the first selector.
|
Name |
SameNodeJoinConditionImpl.getSelector1QName()
Gets the name of the first selector.
|
Name |
EquiJoinConditionImpl.getSelector2QName()
Gets the name of the second selector.
|
Name |
SameNodeJoinConditionImpl.getSelector2QName()
Gets the name of the second selector.
|
Name |
ChildNodeImpl.getSelectorQName()
Gets the name of the selector against which to apply this constraint.
|
Name |
ColumnImpl.getSelectorQName()
Gets the name of the selector.
|
Name |
DescendantNodeImpl.getSelectorQName()
Gets the name of the selector against which to apply this constraint.
|
Name |
DynamicOperandImpl.getSelectorQName()
Gets the name of the selector against which to evaluate this operand.
|
Name |
FullTextSearchImpl.getSelectorQName()
Gets the name of the selector against which to apply this constraint.
|
Name |
PropertyExistenceImpl.getSelectorQName()
Gets the name of the selector against which to apply this constraint.
|
Name |
SameNodeImpl.getSelectorQName()
Gets the name of the selector against which to apply this constraint.
|
Name |
SelectorImpl.getSelectorQName()
Gets the selector name.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractQOMNode.getJCRName(Name name)
Returns the JCR name string for the given
Name or
null if name is null . |
SelectorImpl |
QueryObjectModelTree.getSelector(Name name)
Returns the selector with the given
name or
null if there is no selector with this name. |
protected String |
AbstractQOMNode.quote(Name name) |
Constructor and Description |
---|
DynamicOperandImpl(NamePathResolver resolver,
Name selectorName) |
Modifier and Type | Method and Description |
---|---|
Name |
JCRSQLParser.ExcerptFunction() |
Name |
ASTPredicate.getIdentifier() |
Name |
ASTIdentifier.getName() |
Name |
ASTContainsExpression.getPropertyName() |
Name |
JCRSQLParser.Identifier() |
Name |
JCRSQLParser.LowerFunction() |
Name |
JCRSQLParser.PropertyFunction() |
Name |
JCRSQLParser.UpperFunction() |
Modifier and Type | Method and Description |
---|---|
void |
ASTPredicate.setIdentifier(Name identifier) |
void |
ASTIdentifier.setName(Name name) |
void |
ASTContainsExpression.setPropertyName(Name property) |
Modifier and Type | Method and Description |
---|---|
Name |
AbstractTree.getName() |
Name |
AbstractTree.getPrimaryTypeName() |
Modifier and Type | Method and Description |
---|---|
Tree |
AbstractTree.addChild(Name childName,
Name primaryTypeName,
String uniqueId) |
protected abstract Tree |
AbstractTree.createChild(Name name,
Name primaryTypeName,
String uniqueId) |
Constructor and Description |
---|
AbstractTree(Name nodeName,
Name ntName,
String uniqueId,
NamePathResolver resolver) |
Modifier and Type | Method and Description |
---|---|
Name |
AbstractQValue.getName() |
Modifier and Type | Method and Description |
---|---|
QValue |
AbstractQValueFactory.create(Name value) |
Constructor and Description |
---|
AbstractQValue(Name value)
Create a new
AbstractQValue . |
DefaultQValue(Name value) |
Modifier and Type | Method and Description |
---|---|
Name[] |
NodeInfoImpl.getMixins() |
Name |
NodeInfoImpl.getNodetype() |
Name[] |
RepositoryServiceImpl.getPrivilegeNames(SessionInfo sessionInfo,
NodeId nodeId) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryServiceImpl.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel) |
void |
RepositoryServiceImpl.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting) |
void |
RepositoryServiceImpl.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
EventFilter |
RepositoryServiceImpl.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuids,
Name[] nodeTypeNames,
boolean noLocal) |
Tree |
RepositoryServiceImpl.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
Iterator<QNodeTypeDefinition> |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames) |
Iterator<PropertyId> |
RepositoryServiceImpl.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences) |
void |
RepositoryServiceImpl.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
void |
RepositoryServiceImpl.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label) |
void |
RepositoryServiceImpl.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames) |
Modifier and Type | Method and Description |
---|---|
Name[] |
NodeInfoImpl.getMixins() |
Name |
ChildInfoImpl.getName()
Returns the name of the child
Node . |
Name |
ItemInfoImpl.getName() |
Name |
NodeInfoImpl.getNodetype() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryServiceImpl.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting) |
void |
RepositoryServiceImpl.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName) |
Tree |
RepositoryServiceImpl.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
Constructor and Description |
---|
ChildInfoImpl(Name name,
String uniqueId,
int index)
Creates a new serializable
ChildInfoImpl . |
Modifier and Type | Method and Description |
---|---|
Name[] |
RepositoryServiceImpl.getPrivilegeNames(SessionInfo sessionInfo,
NodeId nodeId) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryServiceImpl.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
Add the given version label in the persistent layer.
|
void |
RepositoryServiceImpl.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
void |
RepositoryServiceImpl.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo . |
EventFilter |
RepositoryServiceImpl.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
Creates an event filter.
|
Tree |
RepositoryServiceImpl.createTree(SessionInfo sessionInfo,
Batch batch,
Name nodeName,
Name primaryTypeName,
String uniqueId) |
int |
BatchReadConfig.getDepth(Name ntName)
Return the depth for the given node type name.
|
Iterator<QNodeTypeDefinition> |
RepositoryServiceImpl.getQNodeTypeDefinitions(SessionInfo sessionInfo,
Name[] nodetypeNames)
Retrieve
QNodeTypeDefinition s for the given names. |
Iterator<PropertyId> |
RepositoryServiceImpl.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences)
Returns the
Id s of the properties that are referencing
the node identified by the given nodeId . |
void |
RepositoryServiceImpl.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Moves the node identified by the given
srcNodeId (and its
entire subtree) to the new location defined by destParentNodeId
and a new name (destName ). |
void |
RepositoryServiceImpl.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
Remove the given version label in the persistent layer.
|
void |
BatchReadConfig.setDepth(Name ntName,
int depth)
Define the batch-read depth for the given node type name.
|
void |
RepositoryServiceImpl.unregisterNodeTypes(SessionInfo sessionInfo,
Name[] nodeTypeNames)
Unregisters the node types with the specified
names . |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.