Uses of Interface
org.apache.jackrabbit.spi.Name
-
-
Uses of Name in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that return Name Modifier and Type Method 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
HierarchyManager. getName(NodeId id, NodeId parentId)
Returns the name of the specified item, with the given parent id.Name
HierarchyManagerImpl. getName(ItemId itemId)
Returns the name of the specified item.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()
protected Name
ItemImpl. getQName(String name)
Utility method that converts the given string into a qualified JCR name.Name
NodeImpl. getQName()
Name
PropertyImpl. getQName()
Name
SessionImpl. getQName(String name)
Methods in org.apache.jackrabbit.core that return types with arguments of type Name Modifier and Type Method Description Set<Name>
NodeImpl. getMixinTypeNames()
Returns theName
s of this node's mixin types.Methods in org.apache.jackrabbit.core with parameters of type Name Modifier and Type Method Description void
NodeImpl. addMixin(Name mixinName)
NodeImpl
NodeImpl. addNode(Name nodeName, Name nodeTypeName, NodeId id)
Same as
except that this method takesNode.addNode(String, String)
Name
arguments instead ofString
s and has an additionaluuid
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 callednodeName
of node typenodeTypeName
to the given parent node is allowed in the current context.NodeId
BatchedItemOperations. clone(NodeState srcState, NodeState destParentState, Name destName)
Implementation ofBatchedItemOperations.clone(Path, Path)
that has already determined the affectedNodeState
s.NodeImpl
NodeImpl. clone(NodeImpl src, Name name)
Create a child node that is a clone of a shareable node.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 andtype
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, 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 theChildNodeEntry
ofparent
with the specifiedname
andindex
ornull
if there's no such entry.protected ChildNodeEntry
ZombieHierarchyManager. getChildNodeEntry(NodeState parent, Name name, int index)
Returns theChildNodeEntry
ofparent
with the specifiedname
andindex
ornull
if there's no such entry.String
SessionImpl. getJCRName(Name name)
NodeImpl
NodeImpl. getNode(Name name)
Returns the child node ofthis
node with the specifiedname
.NodeImpl
NodeImpl. getNode(Name name, int index)
Returns the child node ofthis
node with the specifiedname
.protected PropertyImpl
NodeImpl. getOrCreateProperty(Name name, int type, boolean multiValued, boolean exactTypeMatch, BitSet status)
PropertyImpl
NodeImpl. getProperty(Name name)
Returns the property ofthis
node with the specifiedname
.boolean
NodeImpl. hasNode(Name name)
Indicates whether a child node with the specifiedname
exists.boolean
NodeImpl. hasNode(Name name, int index)
Indicates whether a child node with the specifiedname
exists.boolean
NodeImpl. hasProperty(Name name)
Indicates whether a property with the specifiedname
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 addedvoid
CachingHierarchyManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedprotected void
NodeImpl. removeChildProperty(Name propName)
void
NodeImpl. removeMixin(Name mixinName)
protected void
NodeImpl. renameChildNode(NodeId id, Name newName, boolean replace)
protected void
NodeImpl. renameChildNode(Name oldName, int index, NodeId id, Name newName)
Deprecated.use #renameChildNode(NodeId, Name, boolean)NodeImpl
NodeImpl. replaceChildNode(NodeId id, Name nodeName, Name nodeTypeName, Name[] mixinNames)
Replaces the child node with the specifiedid
by a new child node with the same id and specifiednodeName
,nodeTypeName
andmixinNames
.PropertyImpl
NodeImpl. setProperty(Name name, Value value)
Same as
except that this method takes aNode.setProperty(String, Value)
Name
name argument instead of aString
.PropertyImpl
NodeImpl. setProperty(Name name, Value[] values, int type)
Same as
except that this method takes aNode.setProperty(String, Value[], int)
Name
name argument instead of aString
.protected PropertyImpl
NodeImpl. setProperty(Name name, Value[] values, int type, boolean enforceType)
Implementation forsetProperty()
using aValue
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 ofProperty.setValue(String[])
Name
instead ofString
values. -
Uses of Name in org.apache.jackrabbit.core.cluster
Method parameters in org.apache.jackrabbit.core.cluster with type arguments of type Name Modifier and Type Method 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. -
Uses of Name in org.apache.jackrabbit.core.id
Methods in org.apache.jackrabbit.core.id that return Name Modifier and Type Method Description Name
PropertyId. getName()
Returns theName
of the property.Constructors in org.apache.jackrabbit.core.id with parameters of type Name Constructor Description PropertyId(NodeId parentId, Name propName)
Creates a property identifier instance for the identified property. -
Uses of Name in org.apache.jackrabbit.core.journal
Methods in org.apache.jackrabbit.core.journal that return Name Modifier and Type Method Description Name
AbstractRecord. readQName()
Read aName
frmo the underlying stream.Name
Record. readQName()
Read aName
frmo the underlying stream.Methods in org.apache.jackrabbit.core.journal with parameters of type Name Modifier and Type Method Description void
AbstractRecord. writeQName(Name name)
Write aName
to the underlying stream.void
ReadRecord. writeQName(Name name)
void
Record. writeQName(Name name)
Write aName
to the underlying stream. -
Uses of Name in org.apache.jackrabbit.core.nodetype
Methods in org.apache.jackrabbit.core.nodetype that return Name Modifier and Type Method 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 theName
of this node type.Name[]
NodeTypeRegistry. getRegisteredNodeTypes()
Returns the names of all registered node types.Methods in org.apache.jackrabbit.core.nodetype that return types with arguments of type Name Modifier and Type Method Description Set<Name>
NodeTypeRegistry. getDependentNodeTypes(Name nodeTypeName)
Returns the names of those registered node types that have dependencies on the given node type.Methods in org.apache.jackrabbit.core.nodetype with parameters of type Name Modifier and Type Method 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 specifiednodeTypeName
, 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.Method parameters in org.apache.jackrabbit.core.nodetype with type arguments of type Name Modifier and Type Method Description void
NodeTypeRegistry. externalUnregistered(Collection<Name> ntNames)
Called when one or more node types have been externally unregistered.EffectiveNodeType
NodeTypeRegistry. getEffectiveNodeType(Set<Name> mixins)
Returns the effective node type representation of the given node types.EffectiveNodeType
NodeTypeRegistry. getEffectiveNodeType(Name primary, Set<Name> mixins)
Returns the effective node type of a node with the given primary and mixin 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.NodeTypeRegistry.unregisterNodeType(Name)
-
Uses of Name in org.apache.jackrabbit.core.nodetype.virtual
Methods in org.apache.jackrabbit.core.nodetype.virtual with parameters of type Name Modifier and Type Method 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)
Method parameters in org.apache.jackrabbit.core.nodetype.virtual with type arguments of type Name Modifier and Type Method Description void
VirtualNodeTypeStateManager. nodeTypesUnregistered(Collection<Name> names)
Called when a set of node types has been unregistered.void
VirtualNodeTypeStateProvider. onNodeTypesRemoved(Collection<Name> names)
-
Uses of Name in org.apache.jackrabbit.core.observation
Methods in org.apache.jackrabbit.core.observation that return Name Modifier and Type Method Description Name
EventState. getNodeType()
Returns the node type of the parent node associated with this event.Name
EventImpl. getPrimaryNodeTypeName()
Methods in org.apache.jackrabbit.core.observation that return types with arguments of type Name Modifier and Type Method Description Set<Name>
EventState. getMixinNames()
Returns a set ofName
s which are the names of the mixins assigned to the parent node associated with this event.Set<Name>
EventImpl. getMixinTypeNames()
Methods in org.apache.jackrabbit.core.observation with parameters of type Name Modifier and Type Method Description static EventState
EventState. childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.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 newEvent
of typeEvent.NODE_ADDED
.static EventState
EventState. childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.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 newEvent
of typeEvent.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 newEvent
of typeNODE_MOVED
.static EventState
EventState. nodeMovedWithInfo(NodeId parentId, Path destPath, NodeId childId, Path srcPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_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 newEvent
of typeNODE_MOVED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
.Method parameters in org.apache.jackrabbit.core.observation with type arguments of type Name Modifier and Type Method Description static EventState
EventState. childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.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 newEvent
of typeEvent.NODE_ADDED
.static EventState
EventState. childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.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 newEvent
of typeEvent.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 newEvent
of typeNODE_MOVED
.static EventState
EventState. nodeMovedWithInfo(NodeId parentId, Path destPath, NodeId childId, Path srcPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_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 newEvent
of typeNODE_MOVED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
. -
Uses of Name in org.apache.jackrabbit.core.persistence.mem
Methods in org.apache.jackrabbit.core.persistence.mem with parameters of type Name Modifier and Type Method Description protected static String
InMemPersistenceManager. buildBlobFilePath(String parentUUID, Name propName, int index)
Deprecated. -
Uses of Name in org.apache.jackrabbit.core.persistence.util
Methods in org.apache.jackrabbit.core.persistence.util that return Name Modifier and Type Method Description Name
NodePropBundle.ChildNodeEntry. getName()
Returns the name.Name
NodePropBundle.PropertyEntry. getName()
Returns the property nameName
NodePropBundle. getNodeTypeName()
Returns the nodetype name of this bundleMethods in org.apache.jackrabbit.core.persistence.util that return types with arguments of type Name Modifier and Type Method 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()
Methods in org.apache.jackrabbit.core.persistence.util with parameters of type Name Modifier and Type Method 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 propertyvoid
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 nameMethod parameters in org.apache.jackrabbit.core.persistence.util with type arguments of type Name Modifier and Type Method Description void
NodePropBundle. setMixinTypeNames(Set<Name> mixinTypeNames)
Sets the mixin type namesConstructors in org.apache.jackrabbit.core.persistence.util with parameters of type Name Constructor Description ChildNodeEntry(Name name, NodeId id)
Creates a new entry with the given name and id -
Uses of Name in org.apache.jackrabbit.core.query
Methods in org.apache.jackrabbit.core.query with parameters of type Name Modifier and Type Method Description PropertyTypeRegistry.TypeMapping[]
PropertyTypeRegistry. getPropertyTypes(Name propName)
Returns an array of type mappings for a given property namepropName
.void
PropertyTypeRegistry. nodeTypeRegistered(Name ntName)
void
PropertyTypeRegistry. nodeTypeReRegistered(Name ntName)
Method parameters in org.apache.jackrabbit.core.query with type arguments of type Name Modifier and Type Method Description void
PropertyTypeRegistry. nodeTypesUnregistered(Collection<Name> names)
-
Uses of Name in org.apache.jackrabbit.core.query.lucene
Fields in org.apache.jackrabbit.core.query.lucene declared as Name Modifier and Type Field Description static Name
QueryImpl. DEFAULT_SELECTOR_NAME
The default selector name 's'.static Name
ExcerptProvider. REP_EXCERPT
Name of the rep:excerpt function.Fields in org.apache.jackrabbit.core.query.lucene with type parameters of type Name Modifier and Type Field Description static Collection<Name>
SearchIndex. VALID_SYSTEM_INDEX_NODE_TYPE_NAMES
Valid node type names under /jcr:system.Methods in org.apache.jackrabbit.core.query.lucene that return Name Modifier and Type Method Description Name
NameQuery. getName()
Name
Ordering. getSelectorName()
Name[]
FilterMultiColumnQueryHits. getSelectorNames()
Name[]
MultiColumnQueryHits. getSelectorNames()
Name[]
QueryHitsAdapter. getSelectorNames()
Methods in org.apache.jackrabbit.core.query.lucene with parameters of type Name Modifier and Type Method Description static MultiColumnQuery
MultiColumnQueryAdapter. adapt(Query query, Name selectorName)
Adapts the givenquery
.protected void
NodeIndexer. addMVPName(Document doc, Name name)
Adds aFieldNames.MVP
field todoc
with the resolvedname
using the internal search index namespace mapping.protected void
NodeIndexer. addNameValue(Document doc, String fieldName, Name internalValue)
Adds the name value to the document as the named field.protected void
NodeIndexer. addPropertyName(Document doc, Name name)
Adds the property name to the lucene _:PROPERTIES_SET field.protected void
NodeIndexer. addValue(Document doc, InternalValue value, Name name)
Adds a value to the lucene Document.protected void
NodeIndexer. addValueProperty(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(Query query, Sort sort, long resultFetchHint, Name selectorName)
Executes the query and returns the hits that match the query.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 float
NodeIndexer. getPropertyBoost(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)
Returnstrue
if the property with the given name should also be added to the node scope index.boolean
IndexingConfiguration. isIncludedInNodeScopeIndex(NodeState state, Name propertyName)
Returnstrue
if the property with the given name should be included in the node scope fulltext index.boolean
IndexingConfigurationImpl. isIncludedInNodeScopeIndex(NodeState state, Name propertyName)
Returnstrue
if the property with the given name should be included in the node scope fulltext index.boolean
IndexingConfiguration. isIndexed(NodeState state, Name propertyName)
Returnstrue
if the property with the given name is indexed according to this configuration.boolean
IndexingConfigurationImpl. isIndexed(NodeState state, Name propertyName)
Returnstrue
if the property with the given name is fulltext indexed according to this configuration.protected boolean
NodeIndexer. isIndexed(Name propertyName)
Returnstrue
if the property with the given name should be indexed.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.boolean
IndexingConfiguration. useInExcerpt(NodeState state, Name propertyName)
Returnstrue
if the content of the property with the given name should show up in an excerpt.boolean
IndexingConfigurationImpl. useInExcerpt(NodeState state, Name propertyName)
Returnstrue
if the content of the property with the given name should show up in an excerpt.protected boolean
NodeIndexer. useInExcerpt(Name propertyName)
Returnstrue
if the content of the property with the given name should the used to create an excerpt.Method parameters in org.apache.jackrabbit.core.query.lucene with type arguments of type Name Modifier and Type Method Description void
IndexingConfigurationImpl. nodeTypesUnregistered(Collection<Name> names)
Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type Name Constructor Description NameQuery(Name nodeName, IndexFormatVersion version, NamespaceMappings nsMappings)
Creates a newNameQuery
.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 forhits
. -
Uses of Name in org.apache.jackrabbit.core.query.lucene.constraint
Methods in org.apache.jackrabbit.core.query.lucene.constraint with parameters of type Name Modifier and Type Method 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. -
Uses of Name in org.apache.jackrabbit.core.query.lucene.join
Fields in org.apache.jackrabbit.core.query.lucene.join declared as Name Modifier and Type Field Description protected Name[]
Join. selectorNames
The selector names.Methods in org.apache.jackrabbit.core.query.lucene.join that return Name Modifier and Type Method Description Name[]
AbstractCondition. getInnerSelectorNames()
Name[]
Condition. getInnerSelectorNames()
Name[]
Join. getSelectorNames()
Methods in org.apache.jackrabbit.core.query.lucene.join with parameters of type Name Modifier and Type Method Description protected static int
AbstractCondition. getIndex(MultiColumnQueryHits source, Name selectorName)
Returns the index of the selector with the givenselectorName
within the givensource
.protected static int
Join. getIndex(MultiColumnQueryHits source, Name selectorName)
Returns the index of the selector with the givenselectorName
within the givensource
.protected static MultiColumnQueryHits
Join. getSourceWithName(Name selectorName, MultiColumnQueryHits left, MultiColumnQueryHits right)
Constructors in org.apache.jackrabbit.core.query.lucene.join with parameters of type Name Constructor Description AncestorNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, 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, 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, IndexReader reader, Name innerProperty, Name outerProperty)
Creates a new equi join condition.SameNodeJoin(MultiColumnQueryHits inner, Name innerSelectorName, IndexReader reader)
Creates a new same node join. -
Uses of Name in org.apache.jackrabbit.core.security
Methods in org.apache.jackrabbit.core.security with parameters of type Name Modifier and Type Method Description boolean
AccessManager. isGranted(Path parentPath, Name childName, int permissions)
Determines whether the specifiedpermissions
are granted on an item represented by the combination of the givenparentPath
andchildName
(i.e.boolean
DefaultAccessManager. isGranted(Path parentPath, Name childName, int permissions)
-
Uses of Name in org.apache.jackrabbit.core.security.authorization
Fields in org.apache.jackrabbit.core.security.authorization declared as Name Modifier and Type Field 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 nodetypestatic Name
AccessControlConstants. NT_REP_ACCESS_CONTROLLABLE
rep:AccessControllable nodetypestatic Name
AccessControlConstants. NT_REP_ACE
rep:ACE nodetypestatic Name
AccessControlConstants. NT_REP_ACL
rep:ACL nodetypestatic Name
AccessControlConstants. NT_REP_DENY_ACE
rep:DenyACE nodetypestatic Name
AccessControlConstants. NT_REP_GRANT_ACE
rep:GrantACE nodetypestatic Name
AccessControlConstants. NT_REP_PRINCIPAL_ACCESS_CONTROL
rep:PrincipalAccessControl nodetypestatic Name
AccessControlConstants. NT_REP_REPO_ACCESS_CONTROLLABLE
rep:RepoAccessControllable nodetypestatic 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 namestatic Name
AccessControlConstants. P_PRIVILEGES
rep:privileges property namestatic Name
PrivilegeRegistry. REP_PRIVILEGE_MANAGEMENT_NAME
static Name
PrivilegeRegistry. REP_WRITE_NAME
Methods in org.apache.jackrabbit.core.security.authorization that return types with arguments of type Name Modifier and Type Method Description Map<Name,Value>
AccessControlEntryImpl. getRestrictions()
Returns the restrictions defined for this entry.Methods in org.apache.jackrabbit.core.security.authorization with parameters of type Name Modifier and Type Method Description PrivilegeBits
PrivilegeManagerImpl. getBits(Name... privilegeNames)
Value
AccessControlEntryImpl. getRestriction(Name restrictionName)
Method parameters in org.apache.jackrabbit.core.security.authorization with type arguments of type Name Modifier and Type Method Description void
PrivilegeManagerImpl. privilegesRegistered(Set<Name> privilegeNames)
-
Uses of Name in org.apache.jackrabbit.core.security.authorization.acl
Methods in org.apache.jackrabbit.core.security.authorization.acl that return Name Modifier and Type Method Description protected static Name
ACLEditor. getUniqueNodeName(Node node, String name)
Create a unique valid name for the Permission nodes to be save. -
Uses of Name in org.apache.jackrabbit.core.security.authorization.principalbased
Methods in org.apache.jackrabbit.core.security.authorization.principalbased that return Name Modifier and Type Method Description protected static Name
ACLEditor. getUniqueNodeName(Node node, String name)
Create a unique valid name for the Permission nodes to be save. -
Uses of Name in org.apache.jackrabbit.core.security.simple
Methods in org.apache.jackrabbit.core.security.simple with parameters of type Name Modifier and Type Method Description boolean
SimpleAccessManager. isGranted(Path parentPath, Name childName, int permissions)
-
Uses of Name in org.apache.jackrabbit.core.security.user
Fields in org.apache.jackrabbit.core.security.user declared as Name Modifier and Type Field Description static Name
UserConstants. MIX_REP_IMPERSONATABLE
static Name
UserConstants. MIX_REP_IMPERSONATABLE
static Name
UserConstants. MIX_REP_IMPERSONATABLE
static Name
UserConstants. MIX_REP_IMPERSONATABLE
static Name
UserConstants. MIX_REP_IMPERSONATABLE
static Name
UserConstants. N_MEMBERS
static Name
UserConstants. N_MEMBERS
static Name
UserConstants. N_MEMBERS
static Name
UserConstants. N_MEMBERS
static Name
UserConstants. N_MEMBERS
static Name
UserConstants. NT_REP_AUTHORIZABLE
static Name
UserConstants. NT_REP_AUTHORIZABLE
static Name
UserConstants. NT_REP_AUTHORIZABLE
static Name
UserConstants. NT_REP_AUTHORIZABLE
static Name
UserConstants. NT_REP_AUTHORIZABLE
static Name
UserConstants. NT_REP_AUTHORIZABLE_FOLDER
static Name
UserConstants. NT_REP_AUTHORIZABLE_FOLDER
static Name
UserConstants. NT_REP_AUTHORIZABLE_FOLDER
static Name
UserConstants. NT_REP_AUTHORIZABLE_FOLDER
static Name
UserConstants. NT_REP_AUTHORIZABLE_FOLDER
static Name
UserConstants. NT_REP_GROUP
static Name
UserConstants. NT_REP_GROUP
static Name
UserConstants. NT_REP_GROUP
static Name
UserConstants. NT_REP_GROUP
static Name
UserConstants. NT_REP_GROUP
static Name
UserConstants. NT_REP_MEMBERS
static Name
UserConstants. NT_REP_MEMBERS
static Name
UserConstants. NT_REP_MEMBERS
static Name
UserConstants. NT_REP_MEMBERS
static Name
UserConstants. NT_REP_MEMBERS
static Name
UserConstants. NT_REP_USER
static Name
UserConstants. NT_REP_USER
static Name
UserConstants. NT_REP_USER
static Name
UserConstants. NT_REP_USER
static Name
UserConstants. NT_REP_USER
static Name
UserConstants. P_DISABLED
static Name
UserConstants. P_DISABLED
static Name
UserConstants. P_DISABLED
static Name
UserConstants. P_DISABLED
static Name
UserConstants. P_DISABLED
static Name
UserConstants. P_GROUPS
Deprecated.As of 2.0 group membership is stored with the group node.static Name
UserConstants. P_GROUPS
Deprecated.As of 2.0 group membership is stored with the group node.static Name
UserConstants. P_GROUPS
Deprecated.As of 2.0 group membership is stored with the group node.static Name
UserConstants. P_GROUPS
Deprecated.As of 2.0 group membership is stored with the group node.static Name
UserConstants. P_GROUPS
Deprecated.As of 2.0 group membership is stored with the group node.static Name
UserConstants. P_IMPERSONATORS
Name of the user property containing the principal names of those allowed to impersonate.static Name
UserConstants. P_IMPERSONATORS
Name of the user property containing the principal names of those allowed to impersonate.static Name
UserConstants. P_IMPERSONATORS
Name of the user property containing the principal names of those allowed to impersonate.static Name
UserConstants. P_IMPERSONATORS
Name of the user property containing the principal names of those allowed to impersonate.static Name
UserConstants. P_IMPERSONATORS
Name of the user property containing the principal names of those allowed to impersonate.static Name
UserConstants. P_MEMBERS
static Name
UserConstants. P_MEMBERS
static Name
UserConstants. P_MEMBERS
static Name
UserConstants. P_MEMBERS
static Name
UserConstants. P_MEMBERS
static Name
UserConstants. P_PASSWORD
static Name
UserConstants. P_PASSWORD
static Name
UserConstants. P_PASSWORD
static Name
UserConstants. P_PASSWORD
static Name
UserConstants. P_PASSWORD
static Name
UserConstants. P_PRINCIPAL_NAME
static Name
UserConstants. P_PRINCIPAL_NAME
static Name
UserConstants. P_PRINCIPAL_NAME
static Name
UserConstants. P_PRINCIPAL_NAME
static Name
UserConstants. P_PRINCIPAL_NAME
static Name
UserConstants. P_USERID
Deprecated.As of 2.0 the id-hash is stored with the jcr:uuid making the rep:userId property redundant.static Name
UserConstants. P_USERID
Deprecated.As of 2.0 the id-hash is stored with the jcr:uuid making the rep:userId property redundant.static Name
UserConstants. P_USERID
Deprecated.As of 2.0 the id-hash is stored with the jcr:uuid making the rep:userId property redundant.static Name
UserConstants. P_USERID
Deprecated.As of 2.0 the id-hash is stored with the jcr:uuid making the rep:userId property redundant.static Name
UserConstants. P_USERID
Deprecated.As of 2.0 the id-hash is stored with the jcr:uuid making the rep:userId property redundant. -
Uses of Name in org.apache.jackrabbit.core.session
Methods in org.apache.jackrabbit.core.session that return Name Modifier and Type Method Description Name
SessionContext. getQName(String name)
Methods in org.apache.jackrabbit.core.session with parameters of type Name Modifier and Type Method Description static void
NodeNameNormalizer. check(Name name)
String
SessionContext. getJCRName(Name name)
-
Uses of Name in org.apache.jackrabbit.core.state
Methods in org.apache.jackrabbit.core.state that return Name Modifier and Type Method 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.Methods in org.apache.jackrabbit.core.state that return types with arguments of type Name Modifier and Type Method Description Set<Name>
NodeState. getAddedPropertyNames()
Returns a set ofName
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 ofQNames
objects.Set<Name>
NodeState. getRemovedPropertyNames()
Returns a set ofName
s denoting those properties that exist in the overlayed node state but have been removed from this node state.Methods in org.apache.jackrabbit.core.state with parameters of type Name Modifier and Type Method Description ChildNodeEntry
NodeState. addChildNodeEntry(Name nodeName, NodeId id)
Adds a newChildNodeEntry
.void
NodeState. addPropertyName(Name propName)
Adds a property name entry.NodeState
LocalItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)
Creates aNodeState
instance representing new, i.e.PropertyState
LocalItemStateManager. createNew(Name propName, NodeId parentId)
Creates aPropertyState
instance representing new, i.e.NodeState
SessionItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)
Creates aNodeState
instance representing new, i.e.PropertyState
SessionItemStateManager. createNew(Name propName, NodeId parentId)
Creates aPropertyState
instance representing new, i.e.NodeState
UpdatableItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)
Creates aNodeState
instance representing new, i.e.PropertyState
UpdatableItemStateManager. createNew(Name propName, NodeId parentId)
Creates aPropertyState
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 ofChildNodeEntry
s with the specified name.ChildNodeEntry
NodeState. getChildNodeEntry(Name nodeName, int index)
Returns theChildNodeEntry
with the specified name and index ornull
if there's no matching entry.boolean
NodeState. hasChildNodeEntry(Name name)
Determines if there is aChildNodeEntry
with the specifiedname
.boolean
NodeState. hasChildNodeEntry(Name name, int index)
Determines if there is aChildNodeEntry
with the specifiedname
andindex
.boolean
NodeState. hasPropertyName(Name propName)
Determines if there is a property entry with the specifiedName
.void
LocalItemStateManager. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
NodeStateListener. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
SessionItemStateManager. nodeAdded(NodeState state, Name name, int index, NodeId id)
Called when a child node has been addedvoid
LocalItemStateManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedvoid
NodeStateListener. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedvoid
SessionItemStateManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)
Called when a child node has been removedvoid
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 aChildNodeEntry
.boolean
NodeState. removePropertyName(Name propName)
Removes a property name entry.boolean
NodeState. renameChildNodeEntry(NodeId id, Name newName)
Renames aChildNodeEntry
by removing the old entry and appending the new entry to the end of the list.boolean
NodeState. renameChildNodeEntry(Name oldName, int index, Name newName)
Renames aChildNodeEntry
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 theChildNodeEntry
identified byoldId
with a new entry.void
NodeState. setNodeTypeName(Name nodeTypeName)
Set the node type name.Method parameters in org.apache.jackrabbit.core.state with type arguments of type Name Modifier and Type Method 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 ofName
objects denoting the properties of this node.Constructors in org.apache.jackrabbit.core.state with parameters of type Name Constructor Description NodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus, boolean isTransient)
Constructs a new node state that is not connected. -
Uses of Name in org.apache.jackrabbit.core.value
Methods in org.apache.jackrabbit.core.value with parameters of type Name Modifier and Type Method Description static InternalValue
InternalValue. create(Name value)
static InternalValue[]
InternalValue. create(Name[] values)
QValue
InternalValueFactory. create(Name value)
-
Uses of Name in org.apache.jackrabbit.core.version
Methods in org.apache.jackrabbit.core.version that return Name Modifier and Type Method Description Name
InternalFrozenNode. getFrozenPrimaryType()
Returns the name of frozen primary type.Name
LabelVersionSelector. getLabel()
Returns the label hintName[]
InternalVersion. getLabels()
returns the labels that are assigned to this versionName
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 nodeName[]
InternalVersionHistory. getVersionLabels()
Returns a name array of all version labels that exist in this version historyName[]
InternalVersionHistory. getVersionNames()
Returns a name array of all version names that exist in this version history.Methods in org.apache.jackrabbit.core.version that return types with arguments of type Name Modifier and Type Method Description Set<Name>
InternalFrozenNode. getFrozenMixinTypes()
Returns the list of names of the frozen mixin types.Methods in org.apache.jackrabbit.core.version with parameters of type Name Modifier and Type Method Description NodeStateEx
NodeStateEx. addNode(Name nodeName, Name nodeTypeName, NodeId id)
Adds a new child node with the given nameNodeStateEx
NodeStateEx. addNode(Name nodeName, Name nodeTypeName, NodeId id, boolean referenceable)
Adds a new child node with the given nameVirtualNodeState
InternalXAVersionManager. createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
Creates a new virtual node stateVirtualPropertyState
InternalXAVersionManager. createPropertyState(VirtualNodeState parent, Name name, int type, boolean multiValued)
Creats a new virtual property stateInternalFreeze
InternalFrozenNode. getFrozenChildNode(Name name, int idx)
Returns the frozen child node ornull
NodeStateEx
NodeStateEx. getNode(Name name, int index)
retrieves the child node with the given name and 1-base index ornull
if the node does not exist.InternalValue
NodeStateEx. getPropertyValue(Name name)
Returns the value of the given property ornull
InternalValue[]
NodeStateEx. getPropertyValues(Name name)
Returns the values of the given property ornull
InternalVersion
InternalVersionHistory. getVersion(Name versionName)
Equivalent toVersionHistory.getVersion(java.lang.String)
.InternalVersion
InternalVersionHistory. getVersionByLabel(Name label)
Equivalent toVersionHistory.getVersionByLabel(java.lang.String)
but returnsnull
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 associatedboolean
NodeStateEx. hasNode(Name name)
checks if the given child node exists.boolean
NodeStateEx. hasProperty(Name name)
Checks if the given property existsboolean
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 historyNodeStateEx
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 indexboolean
NodeStateEx. removeProperty(Name name)
removes the property with the given namevoid
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 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 state, Name versionName, boolean removeExisting)
protected void
VersionManagerImplRestore. restore(NodeStateEx parent, Name name, InternalVersion v, boolean removeExisting)
Restores theversion
below theparent
node using the indicatedname
protected void
VersionManagerImplRestore. restoreByLabel(NodeStateEx state, Name versionLabel, boolean removeExisting)
static InternalVersion
LabelVersionSelector. selectByLabel(InternalVersionHistory history, Name label)
Selects a version by labelvoid
LabelVersionSelector. setLabel(Name label)
Sets the label hintvoid
NodeStateEx. setPropertyValue(Name name, InternalValue value)
Sets the property valuevoid
NodeStateEx. setPropertyValues(Name name, int type, InternalValue[] values)
Sets the property valuesPropertyState
NodeStateEx. setPropertyValues(Name name, int type, InternalValue[] values, boolean multiple)
Sets the property valuesInternalVersion
InternalVersionManager. setVersionLabel(Session session, InternalVersionHistory history, Name version, Name label, boolean move)
Sets the versionlabel
to the givenversion
.InternalVersion
InternalVersionManagerImpl. setVersionLabel(Session session, InternalVersionHistory history, Name version, Name label, boolean move)
Sets the versionlabel
to the givenversion
.InternalVersion
InternalXAVersionManager. setVersionLabel(Session session, InternalVersionHistory history, Name version, Name label, boolean move)
Sets the versionlabel
to the givenversion
.protected InternalVersion
InternalXAVersionManager. setVersionLabel(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history, Name version, Name label, boolean move)
Set version label on the specified version.Method parameters in org.apache.jackrabbit.core.version with type arguments of type Name Modifier and Type Method Description void
NodeStateEx. setMixins(Set<Name> mixinTypeNames)
Sets the given mixin typesConstructors in org.apache.jackrabbit.core.version with parameters of type Name Constructor Description LabelVersionSelector(Name label)
Creates aLabelVersionSelector
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 -
Uses of Name in org.apache.jackrabbit.core.virtual
Methods in org.apache.jackrabbit.core.virtual with parameters of type Name Modifier and Type Method Description VirtualNodeState
AbstractVISProvider. createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
Creates a new virtual node stateVirtualNodeState
VirtualItemStateProvider. createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
Creates a new virtual node stateVirtualPropertyState
AbstractVISProvider. createPropertyState(VirtualNodeState parent, Name name, int type, boolean multiValued)
Creats a new virtual property stateVirtualPropertyState
VirtualItemStateProvider. createPropertyState(VirtualNodeState parent, Name name, int type, boolean multiValued)
Creats a new virtual property stateprotected 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 constraintsprotected VirtualPropertyState
VirtualNodeState. getOrCreatePropertyState(Name name, int type, boolean multiValued)
Retrieves or creates a new property state as child property of this nodeVirtualPropertyState
VirtualNodeState. getProperty(Name name)
returns the property state of the given nameInternalValue
VirtualNodeState. getPropertyValue(Name name)
Returns the value of the given property ornull
InternalValue[]
VirtualNodeState. getPropertyValues(Name name)
Returns the values of the given property ofnull
InternalValue[]
VirtualValueProvider. getVirtualValues(Name propName)
Returns the values for the given namevoid
VirtualNodeState. setMixinNodeTypes(Name[] mixins)
sets the mixing node type and adds the respective propertyvoid
VirtualNodeState. setPropertyValue(Name name, InternalValue value)
Sets the property valuevoid
VirtualNodeState. setPropertyValues(Name name, int type, InternalValue[] values)
Sets the property valuesvoid
VirtualNodeState. setPropertyValues(Name name, int type, InternalValue[] values, boolean multiple)
Sets the property valuesConstructors in org.apache.jackrabbit.core.virtual with parameters of type Name Constructor Description VirtualNodeState(AbstractVISProvider stateMgr, NodeId parentId, NodeId id, Name nodeTypeName, Name[] mixins)
creates a new virtual node state -
Uses of Name in org.apache.jackrabbit.core.xml
Methods in org.apache.jackrabbit.core.xml that return Name Modifier and Type Method 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.Methods in org.apache.jackrabbit.core.xml with parameters of type Name Modifier and Type Method 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)
Constructors in org.apache.jackrabbit.core.xml with parameters of type Name Constructor Description 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. -
Uses of Name in org.apache.jackrabbit.jcr2spi
Methods in org.apache.jackrabbit.jcr2spi with parameters of type Name Modifier and Type Method 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 inObservationManager.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)
-
Uses of Name in org.apache.jackrabbit.jcr2spi.hierarchy
Fields in org.apache.jackrabbit.jcr2spi.hierarchy declared as Name Modifier and Type Field Description protected Name
HierarchyEntryImpl. name
The name of the target item state.protected Name
HierarchyEntryImpl. name
The name of the target item state.Methods in org.apache.jackrabbit.jcr2spi.hierarchy that return Name Modifier and Type Method Description Name
HierarchyEntry. getName()
Methods in org.apache.jackrabbit.jcr2spi.hierarchy that return types with arguments of type Name Modifier and Type Method Description Collection<Name>
ChildPropertyEntries. getPropertyNames()
Returns an unmodifiable collection containing all existing property names.Collection<Name>
ChildPropertyEntriesImpl. getPropertyNames()
Methods in org.apache.jackrabbit.jcr2spi.hierarchy with parameters of type Name Modifier and Type Method Description NodeEntry
NodeEntry. addNewNodeEntry(Name nodeName, String uniqueID, Name primaryNodeType, QNodeDefinition definition)
Adds a new, transient childNodeEntry
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, transientPropertyEntry
to thisNodeEntry
and return thePropertyState
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 aList
ofNodeEntry
s for the givennodeName
.NodeEntry
ChildNodeEntries. get(Name nodeName, int index)
Returns theNodeEntry
with the givennodeName
andindex
.NodeEntry
ChildNodeEntries. get(Name nodeName, String uniqueID)
Return theNodeEntry
that matches the given nodeName and uniqueID ornull
if no matching entry can be found.PropertyEntry
ChildPropertyEntries. get(Name propertyName)
Return the PropertyEntry with the givenName
ornull
.PropertyEntry
ChildPropertyEntriesImpl. get(Name propertyName)
List<NodeEntry>
NodeEntry. getNodeEntries(Name nodeName)
Returns a unmodifiable List ofNodeEntry
s with the specified name.List<NodeEntry>
NodeEntryImpl. getNodeEntries(Name nodeName)
NodeEntry
NodeEntry. getNodeEntry(Name nodeName, int index)
Returns the validNodeEntry
with the specified name and index ornull
if there's no matching entry.NodeEntry
NodeEntry. getNodeEntry(Name nodeName, int index, boolean loadIfNotFound)
Returns the validNodeEntry
with the specified name and index ornull
if there's no matching entry.NodeEntry
NodeEntryImpl. getNodeEntry(Name nodeName, int index)
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 existingPropertyEntry
with the given name if it is not yet contained in thisNodeEntry
.PropertyEntry
NodeEntryImpl. getOrAddPropertyEntry(Name propName)
PropertyEntry
NodeEntry. getPropertyEntry(Name propName)
Returns the validPropertyEntry
with the specified name ornull
if no matching entry exists.PropertyEntry
NodeEntry. getPropertyEntry(Name propName, boolean loadIfNotFound)
Returns the validPropertyEntry
with the specified name ornull
if no matching entry exists.PropertyEntry
NodeEntryImpl. getPropertyEntry(Name propName)
PropertyEntry
NodeEntryImpl. getPropertyEntry(Name propName, boolean loadIfNotFound)
Ignores theloadIfNotFound
flag due to the fact, thatNodeInfo.getPropertyIds()
returns the complete list of property names currently available.boolean
NodeEntry. hasNodeEntry(Name nodeName)
Determines if there is a validNodeEntry
with the specifiednodeName
.boolean
NodeEntry. hasNodeEntry(Name nodeName, int index)
Determines if there is a validNodeEntry
with the specifiedname
andindex
.boolean
NodeEntryImpl. hasNodeEntry(Name nodeName)
boolean
NodeEntryImpl. hasNodeEntry(Name nodeName, int index)
boolean
NodeEntry. hasPropertyEntry(Name propName)
Determines if there is a property entry with the specifiedName
.boolean
NodeEntryImpl. hasPropertyEntry(Name propName)
NodeEntry
NodeEntry. move(Name newName, NodeEntry newParent, boolean transientMove)
Moves thisNodeEntry
as new child entry of theNodeEntry
identified bynewParent
and/or renames it tonewName
.NodeEntry
NodeEntryImpl. move(Name newName, NodeEntry newParent, boolean transientMove)
Method parameters in org.apache.jackrabbit.jcr2spi.hierarchy with type arguments of type Name Modifier and Type Method Description void
NodeEntry. setPropertyEntries(Collection<Name> propNames)
Adds property entries for the givenName
s.void
NodeEntryImpl. setPropertyEntries(Collection<Name> propNames)
-
Uses of Name in org.apache.jackrabbit.jcr2spi.nodetype
Methods in org.apache.jackrabbit.jcr2spi.nodetype that return Name Modifier and Type Method 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()
Methods in org.apache.jackrabbit.jcr2spi.nodetype with parameters of type Name Modifier and Type Method Description void
EffectiveNodeType. checkAddNodeConstraints(Name name, ItemDefinitionProvider definitionProvider)
void
EffectiveNodeType. checkAddNodeConstraints(Name name, QNodeTypeDefinition nodeTypeDefinition, ItemDefinitionProvider definitionProvider)
void
EffectiveNodeTypeImpl. checkAddNodeConstraints(Name name, 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 theQNodeTypeDefinition
s for the given node type names.EffectiveNodeType
EffectiveNodeTypeProvider. getEffectiveNodeType(Name ntName)
Build theEffectiveNodeType
from the givenNodeType
name.EffectiveNodeType
EffectiveNodeTypeProvider. getEffectiveNodeType(Name[] ntNames)
Build theEffectiveNodeType
from the given array ofNodeType
names.EffectiveNodeType
EffectiveNodeTypeProvider. getEffectiveNodeType(Name[] ntNames, Map<Name,QNodeTypeDefinition> ntdMap)
EffectiveNodeType
NodeTypeRegistryImpl. getEffectiveNodeType(Name ntName)
EffectiveNodeType
NodeTypeRegistryImpl. getEffectiveNodeType(Name[] ntNames)
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
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 nodeName, Name ntName, NodeId nodeId)
Returns theQNodeDefinition
for the specified node state.QNodeDefinition
ItemDefinitionProviderImpl. getQNodeDefinition(EffectiveNodeType ent, Name name, Name nodeTypeName)
QNodeDefinition
ItemDefinitionProviderImpl. getQNodeDefinition(Name[] parentNodeTypeNames, Name name, Name nodeTypeName)
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, boolean multiValued)
Returns the applicable property definition for a property with the specified name, type and multiValued characteristic.QPropertyDefinition
ItemDefinitionProvider. getQPropertyDefinition(Name[] parentNodeTypeNames, Name propertyName, int propertyType, boolean isMultiValued, PropertyId propertyId)
Returns theQPropertyDefinition
for the specified parameters.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[] parentNodeTypeNames, Name name, int type)
QPropertyDefinition
ItemDefinitionProviderImpl. getQPropertyDefinition(Name[] parentNodeTypeNames, Name name, int type, boolean multiValued)
QPropertyDefinition
ItemDefinitionProviderImpl. getQPropertyDefinition(Name[] parentNodeTypeNames, Name propertyName, int propertyType, boolean isMultiValued, PropertyId propertyId)
QPropertyDefinition
ItemDefinitionProviderImpl. getQPropertyDefinition(Name ntName, Name propName, int type, boolean multiValued)
boolean
NodeTypeManagerImpl. hasNodeType(Name nodeTypeName)
boolean
EffectiveNodeType. hasRemoveNodeConstraint(Name nodeName)
Returnstrue
if a single node definition matching the specifiednodeName
is either mandatory or protected.boolean
EffectiveNodeTypeImpl. hasRemoveNodeConstraint(Name nodeName)
boolean
EffectiveNodeType. hasRemovePropertyConstraint(Name propertyName)
Returnstrue
if a single property definition matching the specifiedpropertyName
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 specifiednodeTypeName
, 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)
Method parameters in org.apache.jackrabbit.jcr2spi.nodetype with type arguments of type Name Modifier and Type Method Description EffectiveNodeType
EffectiveNodeTypeProvider. 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(Name[] ntNames, Map<Name,QNodeTypeDefinition> ntdMap)
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)
-
Uses of Name in org.apache.jackrabbit.jcr2spi.operation
Methods in org.apache.jackrabbit.jcr2spi.operation that return Name Modifier and Type Method 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()
Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type Name Modifier and Type Method Description Operation
SetTree. addChildNode(NodeState parentState, Name nodeName, Name nodeTypeName, String uuid)
Add a child node operation to thissetTree
instance.Operation
SetTree. addChildProperty(NodeState parentState, Name propName, int propertyType, QValue[] values, QPropertyDefinition definition)
Add a child property operation to thissetTree
instance.static Operation
AddLabel. create(NodeState versionHistoryState, NodeState versionState, Name label, boolean moveLabel)
static Operation
AddNode. create(NodeState parentState, Name nodeName, Name nodeTypeName, String uuid)
static Operation
AddProperty. create(NodeState parentState, Name propName, int propertyType, QPropertyDefinition def, QValue[] values)
static Operation
RemoveLabel. create(NodeState versionHistoryState, NodeState versionState, Name label)
static Operation
SetMixin. create(NodeState nodeState, Name[] mixinNames)
static Operation
SetPrimaryType. create(NodeState nodeState, Name primaryTypeName)
static SetTree
SetTree. create(UpdatableItemStateManager itemStateMgr, NodeState parent, Name nodeName, Name nodeTypeName, String uuid)
-
Uses of Name in org.apache.jackrabbit.jcr2spi.security.authorization.jackrabbit
Fields in org.apache.jackrabbit.jcr2spi.security.authorization.jackrabbit declared as Name Modifier and Type Field Description static Name
AccessControlConstants. N_POLICY
Default name for a node of type rep:Policy.static Name
AccessControlConstants. N_REP_PRINCIPAL_NAME
rep:principalNamestatic Name
AccessControlConstants. N_REP_PRIVILEGES
rep:privilegesstatic Name
AccessControlConstants. N_REPO_POLICY
Name for a node of type 'rep:repoPolicy'.static Name
AccessControlConstants. NT_REP_ACCESS_CONTROLLABLE
rep:AccessControllable nodetypestatic 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. -
Uses of Name in org.apache.jackrabbit.jcr2spi.state
Methods in org.apache.jackrabbit.jcr2spi.state that return Name Modifier and Type Method Description Name[]
NodeState. getAllNodeTypeNames()
TODO: clarify usage In case the status of the given node state is notStatus.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 thisNodeState
including the primary nodetype and the mixins.Methods in org.apache.jackrabbit.jcr2spi.state with parameters of type Name Modifier and Type Method Description void
ItemStateValidator. checkAddNode(NodeState parentState, Name nodeName, Name nodeTypeName, int options)
Checks if adding a child node callednodeName
of node typenodeTypeName
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 childNodeState
with the givenname
.NodeState
NodeState. getChildNodeState(Name nodeName, int index)
Utility Returns the childNodeState
with the specified name and index.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>
NodeState. getNodeReferences(Name propertyName, boolean weak)
Returns the identifiers of all reference properties that point to this 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 anItemNotFoundException
if no matching, valid property could be found.boolean
NodeState. hasChildNodeEntry(Name name, int index)
Utility Determines if there is a validNodeEntry
with the specifiedname
andindex
.boolean
NodeState. hasPropertyName(Name propName)
Utilityvoid
NodeState. setMixinTypeNames(Name[] mixinTypeNames)
Used by NodeEntryImpl and NodeState onlyConstructors in org.apache.jackrabbit.jcr2spi.state with parameters of type Name Constructor Description NodeState(NodeEntry entry, Name nodeTypeName, Name[] mixinTypeNames, ItemStateFactory isf, QNodeDefinition definition, ItemDefinitionProvider definitionProvider)
Constructs a NEW NodeState -
Uses of Name in org.apache.jackrabbit.jcr2spi.util
Methods in org.apache.jackrabbit.jcr2spi.util that return Name Modifier and Type Method Description static Name[]
StateUtility. getMixinNames(PropertyState ps)
static Name
StateUtility. getPrimaryTypeName(PropertyState ps)
Methods in org.apache.jackrabbit.jcr2spi.util with parameters of type Name Modifier and Type Method Description static boolean
StateUtility. isUuidOrMixin(Name propName)
static String
LogUtil. saveGetJCRName(Name qName, NameResolver nameResolver)
Failsafe conversion of aName
to a JCR name for use in error messages etc. -
Uses of Name in org.apache.jackrabbit.jcr2spi.version
Methods in org.apache.jackrabbit.jcr2spi.version with parameters of type Name Modifier and Type Method 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)
-
Uses of Name in org.apache.jackrabbit.jcr2spi.xml
Methods in org.apache.jackrabbit.jcr2spi.xml that return Name Modifier and Type Method Description Name[]
Importer.NodeInfo. getMixinNames()
Name
Importer.NodeInfo. getName()
Name
Importer.PropInfo. getName()
Name
Importer.NodeInfo. getNodeTypeName()
Constructors in org.apache.jackrabbit.jcr2spi.xml with parameters of type Name Constructor Description NodeInfo(Name name, Name nodeTypeName, Name[] mixinNames, String uuid)
PropInfo(Name name, int type, Importer.TextValue[] values)
-
Uses of Name in org.apache.jackrabbit.spi
Fields in org.apache.jackrabbit.spi declared as Name Modifier and Type Field Description static Name[]
Name. EMPTY_ARRAY
Empty array ofName
Methods in org.apache.jackrabbit.spi that return Name Modifier and Type Method Description Name
NameFactory. create(String nameString)
Returns aName
holding the value of the specified string.Name
NameFactory. create(String namespaceURI, String localName)
Returns aName
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 childNode
.Name
Path.Element. getName()
Returns the name of this path element.Name
Path. getName()
Returns the name of the last path element, ornull
for an identifier.Name
PrivilegeDefinition. getName()
Name
PropertyId. getName()
Returns theName
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 ornull
if not set.Name
QValue. getName()
Returns aName
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) ornull
if not set.Name
Event. getPrimaryNodeTypeName()
Name
Tree. getPrimaryTypeName()
Name[]
RepositoryService. getPrivilegeNames(SessionInfo sessionInfo, NodeId id)
TODOName[]
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.Methods in org.apache.jackrabbit.spi that return types with arguments of type Name Modifier and Type Method Description Set<Name>
PrivilegeDefinition. getDeclaredAggregateNames()
Collection<Name>
QNodeTypeDefinition. getDependencies()
Returns a collection of node typeName
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.Methods in org.apache.jackrabbit.spi with parameters of type Name Modifier and Type Method 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
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
Tree. addProperty(NodeId parentId, Name propertyName, int propertyType, QValue value)
void
Tree. addProperty(NodeId parentId, Name propertyName, int propertyType, QValue[] values)
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 givensrcNodeId
in workspace namedsrcWorkspaceName
to the destination in the workspace specified by the givenSessionInfo
.void
RepositoryService. copy(SessionInfo sessionInfo, String srcWorkspaceName, NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Clone the subtree identified by the givensrcNodeId
in workspace namedsrcWorkspaceName
to the destination in the workspace specified by the givenSessionInfo
.Path
PathFactory. create(Name name)
Creates a relative path based on aName
.Path
PathFactory. create(Name name, int index)
Creates a relative path based on aName
and a normalized index.Path
PathFactory. create(Path parent, Name name, boolean normalize)
Creates a newPath
out of the givenparent
path and the give name.Path
PathFactory. create(Path parent, Name name, int index, boolean normalize)
Creates a newPath
out of the givenparent
path and the give name and normalized index.QValue
QValueFactory. create(Name value)
Create a newQValue
with typePropertyType.NAME
.Path.Element
PathFactory. createElement(Name name)
Creates a path element from the givenname
.Path.Element
PathFactory. createElement(Name name, int index)
Same asPathFactory.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 newPropertyId
from the given parent id and property name.Tree
RepositoryService. createTree(SessionInfo sessionInfo, Batch batch, Name nodeName, Name primaryTypeName, String uniqueId)
Creates a newTree
that can be populated and later on be applied to the specifiedBatch
by calling#setTree
.Iterator<QNodeTypeDefinition>
RepositoryService. getQNodeTypeDefinitions(SessionInfo sessionInfo, Name[] nodetypeNames)
RetrieveQNodeTypeDefinition
s for the given names.Iterator<PropertyId>
RepositoryService. getReferences(SessionInfo sessionInfo, NodeId nodeId, Name propertyName, boolean weakReferences)
Returns theId
s of the properties that are referencing the node identified by the givennodeId
.void
Batch. move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Move the node identified by the givensrcNodeId
to the new parent identified bydestParentNodeId
and change its name todestName
.void
RepositoryService. move(SessionInfo sessionInfo, NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Moves the node identified by the givensrcNodeId
(and its entire subtree) to the new location defined bydestParentNodeId
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 givennodeId
.void
RepositoryService. unregisterNodeTypes(SessionInfo sessionInfo, Name[] nodeTypeNames)
Unregisters the node types with the specifiednames
. -
Uses of Name in org.apache.jackrabbit.spi.commons
Methods in org.apache.jackrabbit.spi.commons that return Name Modifier and Type Method 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 childNode
.Name
QItemDefinitionImpl. getName()
Gets the name of the child item.Name
QNodeTypeDefinitionImpl. getName()
Returns the name of the node type being defined ornull
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) ornull
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.Methods in org.apache.jackrabbit.spi.commons that return types with arguments of type Name Modifier and Type Method Description Collection<Name>
QNodeTypeDefinitionImpl. getDependencies()
Returns a collection of node typeName
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()
Methods in org.apache.jackrabbit.spi.commons with parameters of type Name Modifier and Type Method Description ItemInfoBuilder.NodeInfoBuilder
ItemInfoBuilder.NodeInfoBuilder. addMixin(Name name)
Add a mixin typevoid
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 aPropertyType.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 callsAbstractRepositoryService.checkSessionInfo(SessionInfo)
with thesessionInfo
, then gathers theQNodeTypeDefinition
s with the givennodetypeNames
.void
AbstractRepositoryService. move(SessionInfo sessionInfo, NodeId srcNodeId, NodeId destParentNodeId, Name destName)
void
SerializableBatch. move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
static ItemInfoBuilder.NodeInfoBuilder
ItemInfoBuilder. nodeInfoBuilder(Name name, ItemInfoBuilder.Listener listener)
Return aItemInfoBuilder.NodeInfoBuilder
for a node with a givenname
.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 thename
of the nodeItemInfoBuilder.PropertyInfoBuilder
ItemInfoBuilder.PropertyInfoBuilder. setName(Name name)
Set thename
of this propertyItemInfoBuilder.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)
Constructors in org.apache.jackrabbit.spi.commons with parameters of type Name Constructor Description ChildInfoImpl(Name name, String uniqueId, int index)
Creates a new serializableChildInfoImpl
.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.ItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode)
Deprecated.UseItemInfoImpl(Path, boolean)
instead.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.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.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.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 parameters in org.apache.jackrabbit.spi.commons with type arguments of type Name Constructor Description EventFilterImpl(int eventTypes, Path absPath, boolean isDeep, String[] uuids, Set<Name> nodeTypeNames, boolean noLocal)
Creates a newEventFilterImpl
.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. -
Uses of Name in org.apache.jackrabbit.spi.commons.batch
Fields in org.apache.jackrabbit.spi.commons.batch declared as Name Modifier and Type Field 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
Methods in org.apache.jackrabbit.spi.commons.batch with parameters of type Name Modifier and Type Method 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 anAddNode
operation.static Operation
Operations. addNode(NodeId parentId, Name nodeName, Name nodetypeName, String uuid)
Factory method for creating anOperations.AddNode
operation.void
ChangeLogImpl. addProperty(NodeId parentId, Name propertyName, QValue value)
void
ChangeLogImpl. addProperty(NodeId parentId, Name propertyName, QValue[] values)
void
ConsolidatingChangeLog. addProperty(NodeId parentId, Name propertyName, QValue value)
void
ConsolidatingChangeLog. addProperty(NodeId parentId, Name propertyName, QValue[] values)
static ConsolidatingChangeLog.CancelableOperation
ConsolidatingChangeLog.CancelableOperations. addProperty(NodeId parentId, Name propertyName, QValue value)
Factory method for creating anAddProperty
operation.static ConsolidatingChangeLog.CancelableOperation
ConsolidatingChangeLog.CancelableOperations. addProperty(NodeId parentId, Name propertyName, QValue[] values)
Factory method for creating anAddProperty
operation.static Operation
Operations. addProperty(NodeId parentId, Name propertyName, QValue value)
Factory method for creating anOperations.AddProperty
operation.static Operation
Operations. addProperty(NodeId parentId, Name propertyName, QValue[] values)
Factory method for creating anOperations.AddProperty
operation.protected static Path
ConsolidatingChangeLog. getPath(NodeId parentId, Name name)
void
ChangeLogImpl. move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
static ConsolidatingChangeLog.CancelableOperation
ConsolidatingChangeLog.CancelableOperations. move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Factory method for creating aMove
operation.void
ConsolidatingChangeLog. move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
static Operation
Operations. move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Factory method for creating aOperations.Move
operation.void
ChangeLogImpl. setMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
static ConsolidatingChangeLog.CancelableOperation
ConsolidatingChangeLog.CancelableOperations. setMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
Factory method for creating aConsolidatingChangeLog.CancelableOperations.SetMixins
operation.void
ConsolidatingChangeLog. setMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
static Operation
Operations. setMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
Factory method for creating a set-mixinOperation
for the given arguments.void
ChangeLogImpl. setPrimaryType(NodeId nodeId, Name primaryNodeTypeName)
static ConsolidatingChangeLog.CancelableOperation
ConsolidatingChangeLog.CancelableOperations. setPrimaryType(NodeId nodeId, Name primaryTypeName)
Factory method for creating aConsolidatingChangeLog.CancelableOperations.SetPrimaryType
operation.void
ConsolidatingChangeLog. setPrimaryType(NodeId nodeId, Name primaryNodeTypeName)
static Operation
Operations. setPrimaryType(NodeId nodeId, Name primaryTypeName)
Factory method for creating a set-primaryTypeOperation
for the given arguments.Constructors in org.apache.jackrabbit.spi.commons.batch with parameters of type Name Constructor Description AddNode(NodeId parentId, Name nodeName, Name nodetypeName, String uuid)
AddNode(NodeId parentId, Name nodeName, Name nodetypeName, String uuid)
Create a new add-nodeOperation
for the given arguments.AddProperty(NodeId parentId, Name propertyName, QValue value)
AddProperty(NodeId parentId, Name propertyName, QValue[] values)
AddProperty(NodeId parentId, Name propertyName, QValue value)
Create a new add-propertyOperation
for the given arguments.AddProperty(NodeId parentId, Name propertyName, QValue[] values)
Create a new add-propertyOperation
for the given arguments.Move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Create a new moveOperation
for the given arguments.SetMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
SetMixins(NodeId nodeId, Name[] mixinNodeTypeNames)
Create a new set-mixinOperation
for the given arguments.SetPrimaryType(NodeId nodeId, Name primaryTypeName)
SetPrimaryType(NodeId nodeId, Name primaryTypeName)
Create a new set-mixinOperation
for the given arguments. -
Uses of Name in org.apache.jackrabbit.spi.commons.conversion
Methods in org.apache.jackrabbit.spi.commons.conversion that return Name Modifier and Type Method Description Name
CachingNameResolver. getQName(String jcrName)
Returns aName
for the given prefixed JCR name.Name
DefaultNamePathResolver. getQName(String name)
Name
NameResolver. getQName(String name)
Returns theName
for the given JCR name String.Name
ParsingNameResolver. getQName(String jcrName)
Parses the given JCR name and returns the resolvedName
object.static Name[]
NameParser. parse(String[] jcrNames, NamespaceResolver resolver, NameFactory factory)
Parses an array ofjcrName
and returns the respective array ofName
.static Name
NameParser. parse(String jcrName, NamespaceResolver resolver, NameFactory factory)
Parses thejcrName
(either qualified or expanded) and returns a newName
.Methods in org.apache.jackrabbit.spi.commons.conversion with parameters of type Name Modifier and Type Method Description String
CachingNameResolver. getJCRName(Name name)
Returns the prefixed JCR name for the givenName
.String
DefaultNamePathResolver. getJCRName(Name name)
String
NameResolver. getJCRName(Name name)
Returns the qualified JCR name String for the givenName
object.String
ParsingNameResolver. getJCRName(Name name)
Returns the qualified JCR name for the givenName
object. -
Uses of Name in org.apache.jackrabbit.spi.commons.identifier
Methods in org.apache.jackrabbit.spi.commons.identifier with parameters of type Name Modifier and Type Method Description PropertyId
AbstractIdFactory. createPropertyId(NodeId parentId, Name propertyName)
Creates a newPropertyId
from the given parent id and property name. -
Uses of Name in org.apache.jackrabbit.spi.commons.logging
Methods in org.apache.jackrabbit.spi.commons.logging that return Name Modifier and Type Method Description Name
NameFactoryLogger. create(String nameString)
Name
NameFactoryLogger. create(String namespaceURI, String localName)
Name[]
RepositoryServiceLogger. getPrivilegeNames(SessionInfo sessionInfo, NodeId nodeId)
Methods in org.apache.jackrabbit.spi.commons.logging with parameters of type Name Modifier and Type Method 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)
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)
QValue
QValueFactoryLogger. create(Name value)
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)
-
Uses of Name in org.apache.jackrabbit.spi.commons.name
Fields in org.apache.jackrabbit.spi.commons.name declared as Name Modifier and Type Field Description static Name
NameConstants. ANY_NAME
The special wildcard name used as the name of residual item definitions.static Name
NameConstants. JCR_ACTIVITIES
jcr:activitiesstatic Name
NameConstants. JCR_ACTIVITY
jcr:activitystatic Name
NameConstants. JCR_ACTIVITY_TITLE
jcr:activityTitlestatic Name
NameConstants. JCR_ADD_CHILD_NODES
jcr:addChildNodesstatic Name
NameConstants. JCR_ALL
jcr:allstatic Name
NameConstants. JCR_AUTOCREATED
jcr:autoCreatedstatic Name
NameConstants. JCR_BASEVERSION
jcr:baseVersionstatic Name
NameConstants. JCR_CHILDNODEDEFINITION
jcr:childNodeDefinitionstatic Name
NameConstants. JCR_CHILDVERSIONHISTORY
jcr:childVersionHistorystatic Name
NameConstants. JCR_CONFIGURATION
jcr:configurationstatic Name
NameConstants. JCR_CONFIGURATIONS
jcr:configurationsstatic Name
NameConstants. JCR_CONTENT
jcr:contentstatic Name
NameConstants. JCR_COPIEDFROM
jcr:copiedFromstatic Name
NameConstants. JCR_CREATED
jcr:createdstatic Name
NameConstants. JCR_CREATEDBY
jcr:createdBystatic 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:datastatic Name
NameConstants. JCR_DEFAULTPRIMARYTYPE
jcr:defaultPrimaryTypestatic Name
NameConstants. JCR_DEFAULTVALUES
jcr:defaultValuesstatic Name
NameConstants. JCR_DESCRIPTION
jcr:descriptionstatic Name
NameConstants. JCR_ENCODING
jcr:encodingstatic Name
NameConstants. JCR_ETAG
jcr:etagstatic Name
NameConstants. JCR_FROZENMIXINTYPES
jcr:frozenMixinTypesstatic Name
NameConstants. JCR_FROZENNODE
jcr:frozenNodestatic Name
NameConstants. JCR_FROZENPRIMARYTYPE
jcr:frozenPrimaryTypestatic Name
NameConstants. JCR_FROZENUUID
jcr:frozenUuidstatic Name
NameConstants. JCR_HASORDERABLECHILDNODES
jcr:hasOrderableChildNodesstatic Name
NameConstants. JCR_HOST
jcr:hoststatic Name
NameConstants. JCR_ID
jcr:idstatic Name
NameConstants. JCR_ISCHECKEDOUT
jcr:isCheckedOutstatic Name
NameConstants. JCR_ISMIXIN
jcr:isMixinstatic Name
NameConstants. JCR_LANGUAGE
jcr:languagestatic Name
NameConstants. JCR_LASTMODIFIED
jcr:lastModifiedstatic Name
NameConstants. JCR_LASTMODIFIEDBY
jcr:lastModifiedBystatic Name
NameConstants. JCR_LIFECYCLE_MANAGEMENT
jcr:lifecycleManagementstatic 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:lockManagementstatic Name
NameConstants. JCR_LOCKISDEEP
jcr:lockIsDeepstatic Name
NameConstants. JCR_LOCKOWNER
jcr:lockOwnerstatic Name
NameConstants. JCR_MANDATORY
jcr:mandatorystatic Name
NameConstants. JCR_MERGEFAILED
jcr:mergeFailedstatic Name
NameConstants. JCR_MIMETYPE
jcr:mimeTypestatic Name
NameConstants. JCR_MIXINTYPES
jcr:mixinTypesstatic Name
NameConstants. JCR_MODIFY_ACCESS_CONTROL
jcr:modifyAccessControlstatic Name
NameConstants. JCR_MODIFY_PROPERTIES
jcr:modifyPropertiesstatic Name
NameConstants. JCR_MULTIPLE
jcr:multiplestatic Name
NameConstants. JCR_NAME
jcr:namestatic Name
NameConstants. JCR_NAMESPACE_MANAGEMENT
jcr:namespaceManagementstatic Name
NameConstants. JCR_NODE_TYPE_DEFINITION_MANAGEMENT
jcr:nodeTypeDefinitionManagementstatic Name
NameConstants. JCR_NODE_TYPE_MANAGEMENT
jcr:nodeTypeManagementstatic Name
NameConstants. JCR_NODETYPENAME
jcr:nodeTypeNamestatic Name
NameConstants. JCR_NODETYPES
jcr:nodeTypesstatic Name
NameConstants. JCR_ONPARENTVERSION
jcr:onParentVersionstatic Name
NameConstants. JCR_PATH
jcr:pathstatic Name
NameConstants. JCR_PORT
jcr:portstatic Name
NameConstants. JCR_PREDECESSORS
jcr:predecessorsstatic Name
NameConstants. JCR_PRIMARYITEMNAME
jcr:primaryItemNamestatic Name
NameConstants. JCR_PRIMARYTYPE
jcr:primaryTypestatic Name
NameConstants. JCR_PROPERTYDEFINITION
jcr:propertyDefinitionstatic Name
NameConstants. JCR_PROTECTED
jcr:protectedstatic Name
NameConstants. JCR_PROTOCOL
jcr:protocolstatic Name
NameConstants. JCR_READ
jcr:readstatic Name
NameConstants. JCR_READ_ACCESS_CONTROL
jcr:readAccessControlstatic Name
NameConstants. JCR_REMOVE_CHILD_NODES
jcr:removeChildNodesstatic Name
NameConstants. JCR_REMOVE_NODE
jcr:removeNodestatic Name
NameConstants. JCR_REPOSITORY
jcr:repositorystatic Name
NameConstants. JCR_REQUIREDPRIMARYTYPES
jcr:requiredPrimaryTypesstatic Name
NameConstants. JCR_REQUIREDTYPE
jcr:requiredTypestatic Name
NameConstants. JCR_RETENTION_MANAGEMENT
jcr:retentionManagementstatic Name
NameConstants. JCR_ROOT
jcr:root (dummy name for root node used in XML serialization)static Name
NameConstants. JCR_ROOTVERSION
jcr:rootVersionstatic Name
NameConstants. JCR_SAMENAMESIBLINGS
jcr:sameNameSiblingsstatic Name
NameConstants. JCR_SCORE
jcr:scorestatic Name
NameConstants. JCR_STATEMENT
jcr:statementstatic Name
NameConstants. JCR_SUCCESSORS
jcr:successorsstatic Name
NameConstants. JCR_SUPERTYPES
jcr:supertypesstatic Name
NameConstants. JCR_SYSTEM
jcr:systemstatic Name
NameConstants. JCR_TITLE
jcr:titlestatic Name
NameConstants. JCR_UUID
jcr:uuidstatic Name
NameConstants. JCR_VALUECONSTRAINTS
jcr:valueConstraintsstatic Name
NameConstants. JCR_VERSION_MANAGEMENT
jcr:versionManagementstatic Name
NameConstants. JCR_VERSIONABLEUUID
jcr:versionableUuidstatic Name
NameConstants. JCR_VERSIONHISTORY
jcr:versionHistorystatic Name
NameConstants. JCR_VERSIONLABELS
jcr:versionLabelsstatic Name
NameConstants. JCR_VERSIONSTORAGE
jcr:versionStoragestatic Name
NameConstants. JCR_WORKSPACE
jcr:workspacestatic Name
NameConstants. JCR_WORKSPACE_MANAGEMENT
jcr:workspaceManagementstatic Name
NameConstants. JCR_WRITE
jcr:writestatic Name
NameConstants. JCR_XMLCHARACTERS
jcr:xmlcharactersstatic Name
NameConstants. JCR_XMLTEXT
jcr:xmltextstatic Name
NameConstants. MIX_CREATED
mix:createdstatic Name
NameConstants. MIX_ETAG
mix:etagstatic Name
NameConstants. MIX_LANGUAGE
mix:languagestatic Name
NameConstants. MIX_LASTMODIFIED
mix:lastModifiedstatic Name
NameConstants. MIX_LIFECYCLE
mix:lifecycle
: Only nodes with mixin node typemix:lifecycle
may participate in a lifecycle.static Name
NameConstants. MIX_LOCKABLE
mix:referenceablestatic Name
NameConstants. MIX_MIMETYPE
mix:mimeTypestatic Name
NameConstants. MIX_REFERENCEABLE
mix:referenceablestatic Name
NameConstants. MIX_SHAREABLE
mix:shareablestatic Name
NameConstants. MIX_SIMPLE_VERSIONABLE
mix:simpleVersionablestatic Name
NameConstants. MIX_TITLE
mix:titlestatic Name
NameConstants. MIX_VERSIONABLE
mix:versionablestatic Name
NameConstants. NT_ACTIVITY
nt:activitystatic Name
NameConstants. NT_ADDRESS
nt:addressstatic Name
NameConstants. NT_BASE
nt:basestatic Name
NameConstants. NT_CHILDNODEDEFINITION
nt:childNodeDefinitionstatic Name
NameConstants. NT_CONFIGURATION
nt:configurationstatic Name
NameConstants. NT_FILE
nt:filestatic Name
NameConstants. NT_FOLDER
nt:folderstatic Name
NameConstants. NT_FROZENNODE
nt:frozenNodestatic Name
NameConstants. NT_HIERARCHYNODE
nt:hierarchyNodestatic Name
NameConstants. NT_NODETYPE
nt:nodeTypestatic Name
NameConstants. NT_PROPERTYDEFINITION
nt:propertyDefinitionstatic Name
NameConstants. NT_QUERY
nt:querystatic Name
NameConstants. NT_RESOURCE
nt:resourcestatic Name
NameConstants. NT_SHARE
nt:sharestatic Name
NameConstants. NT_UNSTRUCTURED
nt:unstructuredstatic Name
NameConstants. NT_VERSION
nt:versionstatic Name
NameConstants. NT_VERSIONEDCHILD
nt:versionedChildstatic Name
NameConstants. NT_VERSIONHISTORY
nt:versionHistorystatic Name
NameConstants. NT_VERSIONLABELS
nt:versionLabelsstatic Name
NameConstants. REP_ACCESS_CONTROL
rep:AccessControlstatic Name
NameConstants. REP_ACCESS_CONTROLLABLE
rep:AccessControllablestatic Name
NameConstants. REP_ACCESSCONTROL
rep:accesscontrolstatic Name
NameConstants. REP_ACE
rep:ACEstatic Name
NameConstants. REP_ACL
rep:ACLstatic Name
NameConstants. REP_ACTIVITIES
rep:Activitiesstatic Name
NameConstants. REP_BASEVERSIONS
rep:baseVersionsstatic Name
NameConstants. REP_CONFIGURATIONS
rep:Configurationsstatic Name
NameConstants. REP_DENY_ACE
rep:DenyACEstatic Name
NameConstants. REP_GLOB
rep:globstatic Name
NameConstants. REP_GRANT_ACE
rep:GrantACEstatic Name
NameConstants. REP_NODE_PATH
rep:nodePathstatic Name
NameConstants. REP_NODETYPES
rep:nodeTypesstatic Name
NameConstants. REP_POLICY
rep:policystatic Name
NameConstants. REP_PRINCIPAL_ACCESS_CONTROL
rep:PrincipalAccessControlstatic Name
NameConstants. REP_PRINCIPAL_NAME
rep:principalNamestatic Name
NameConstants. REP_PRIVILEGES
rep:privilegesstatic Name
NameConstants. REP_REPO_ACCESS_CONTROLLABLE
rep:RepoAccessControllablestatic Name
NameConstants. REP_REPO_POLICY
rep:repoPolicystatic Name
NameConstants. REP_ROOT
rep:rootstatic Name
NameConstants. REP_SYSTEM
rep:systemstatic Name
NameConstants. REP_VERSION_REFERENCE
rep:VersionReferencestatic Name
NameConstants. REP_VERSIONS
rep:versionsstatic Name
NameConstants. REP_VERSIONSTORAGE
rep:versionStoragestatic Name
NameConstants. ROOT
Extra Name for the root nodestatic Name
NameConstants. SV_MULTIPLE
sv:multiplestatic Name
NameConstants. SV_NAME
sv:namestatic Name
NameConstants. SV_NODE
sv:nodestatic Name
NameConstants. SV_PROPERTY
sv:propertystatic Name
NameConstants. SV_TYPE
sv:typestatic Name
NameConstants. SV_VALUE
sv:valueMethods in org.apache.jackrabbit.spi.commons.name that return Name Modifier and Type Method Description Name
NameFactoryImpl. create(String nameString)
Name
NameFactoryImpl. create(String namespaceURI, String localName)
Name
PathMap.Element. getName()
Return the name of this elementMethods in org.apache.jackrabbit.spi.commons.name with parameters of type Name Modifier and Type Method 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 -
Uses of Name in org.apache.jackrabbit.spi.commons.nodetype
Methods in org.apache.jackrabbit.spi.commons.nodetype that return Name Modifier and Type Method 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.Methods in org.apache.jackrabbit.spi.commons.nodetype with parameters of type Name Modifier and Type Method Description void
QNodeDefinitionBuilder. addRequiredPrimaryType(Name name)
Adds a required primary type of the node definition being built.Iterator<QNodeTypeDefinition>
NodeTypeStorage. getDefinitions(Name[] nodeTypeNames)
Returns theQNodeTypeDefinition
s for the given node type names.Iterator<QNodeTypeDefinition>
NodeTypeStorageImpl. getDefinitions(Name[] nodeTypeNames)
This implementation returns an iterator over all registeredQNodeTypeDefinition
s ifnodeTypeNames
isnull
.abstract NodeType
AbstractNodeTypeManager. getNodeType(Name ntName)
Return the node type with the specifiedntName
.abstract boolean
AbstractNodeType. isNodeType(Name nodeTypeName)
Test if this nodetype equals or is directly or indirectly derived from the node type with the specifiednodeTypeName
, 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 builtvoid
QNodeTypeDefinitionBuilder. setPrimaryItemName(Name primaryItemName)
void
QNodeDefinitionBuilder. setRequiredPrimaryTypes(Name[] names)
void
QNodeTypeDefinitionBuilder. setSupertypes(Name[] supertypes)
Specifies the supertypes of the node type definition being builtvoid
QNodeTypeDefinitionBuilder. setSupportedMixinTypes(Name[] names)
Sets the names of additional mixin types supported on this node type.void
NodeTypeStorage. unregisterNodeTypes(Name[] nodeTypeNames)
Remove allQNodeTypeDefinition
s provided from the store.void
NodeTypeStorageImpl. unregisterNodeTypes(Name[] nodeTypeNames)
-
Uses of Name in org.apache.jackrabbit.spi.commons.privilege
Methods in org.apache.jackrabbit.spi.commons.privilege that return Name Modifier and Type Method Description Name
PrivilegeDefinitionImpl. getName()
Methods in org.apache.jackrabbit.spi.commons.privilege that return types with arguments of type Name Modifier and Type Method Description Set<Name>
PrivilegeDefinitionImpl. getDeclaredAggregateNames()
Constructors in org.apache.jackrabbit.spi.commons.privilege with parameters of type Name Constructor Description PrivilegeDefinitionImpl(Name name, boolean isAbstract, Set<Name> declaredAggregateNames)
Constructor parameters in org.apache.jackrabbit.spi.commons.privilege with type arguments of type Name Constructor Description PrivilegeDefinitionImpl(Name name, boolean isAbstract, Set<Name> declaredAggregateNames)
-
Uses of Name in org.apache.jackrabbit.spi.commons.query
Fields in org.apache.jackrabbit.spi.commons.query declared as Name Modifier and Type Field 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.Methods in org.apache.jackrabbit.spi.commons.query that return Name Modifier and Type Method Description Name
LocationStepQueryNode. getNameTest()
Returns the label of the node for this location step, ornull
if the name test is '*'.Name
OrderQueryNode.OrderSpec. getProperty()
Deprecated.useOrderQueryNode.OrderSpec.getPropertyPath()
instead.Name
ExactQueryNode. getPropertyName()
Returns the name of the property to match.Name
TextsearchQueryNode. getPropertyName()
Deprecated.UseTextsearchQueryNode.getRelativePath()
instead.Name
DerefQueryNode. getRefProperty()
Returns the name of the reference property ornull
if none is set.Name[]
QueryRootNode. getSelectProperties()
Returns an array of select properties.Name
ExactQueryNode. getValue()
Returns the value of the property to match.Methods in org.apache.jackrabbit.spi.commons.query that return types with arguments of type Name Modifier and Type Method Description Collection<Name>
PathQueryNode. getValidJcrSystemNodeTypeNames()
Returns the collection of valid node types under /jcr:system.Methods in org.apache.jackrabbit.spi.commons.query with parameters of type Name Modifier and Type Method Description void
OrderQueryNode. addOrderSpec(Name property, boolean ascending)
Deprecated.useOrderQueryNode.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 aDerefQueryNode
instance.DerefQueryNode
QueryNodeFactory. createDerefQueryNode(QueryNode parent, Name nameTest, boolean descendants)
Creates aDerefQueryNode
instance.NodeTypeQueryNode
DefaultQueryNodeFactory. createNodeTypeQueryNode(QueryNode parent, Name nodeType)
Creates aNodeTypeQueryNode
instance.NodeTypeQueryNode
QueryNodeFactory. createNodeTypeQueryNode(QueryNode parent, Name nodeType)
Creates aNodeTypeQueryNode
instance.void
LocationStepQueryNode. setNameTest(Name nameTest)
Sets a new name test.void
TextsearchQueryNode. setPropertyName(Name property)
Deprecated.UseTextsearchQueryNode.setRelativePath(Path)
instead.void
DerefQueryNode. setRefProperty(Name propertyName)
Sets a new name for the reference property.Constructors in org.apache.jackrabbit.spi.commons.query with parameters of type Name Constructor Description DerefQueryNode(QueryNode parent, Name nameTest, boolean descendants)
Creates a newDerefQueryNode
without a name set for the reference property.ExactQueryNode(QueryNode parent, Name property, Name value)
Creates a newExactQueryNode
instance.NodeTypeQueryNode(QueryNode parent, Name nodeType)
Creates a newNodeTypeQueryNode
.OrderSpec(Name property, boolean ascending)
Deprecated.useOrderSpec(Path, boolean)
instead.Constructor parameters in org.apache.jackrabbit.spi.commons.query with type arguments of type Name Constructor Description DefaultQueryNodeFactory(Collection<Name> validJcrSystemNodeTypeNames)
Creates a DefaultQueryNodeFactory with the given node types under /jcr:system .PathQueryNode(QueryNode parent, Collection<Name> validJcrSystemNodeTypeNames)
Creates a relativePathQueryNode
with no location steps and the collection of node types under /jcr:system. -
Uses of Name in org.apache.jackrabbit.spi.commons.query.qom
Methods in org.apache.jackrabbit.spi.commons.query.qom that return Name Modifier and Type Method 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.Methods in org.apache.jackrabbit.spi.commons.query.qom with parameters of type Name Modifier and Type Method Description protected String
AbstractQOMNode. getJCRName(Name name)
Returns the JCR name string for the givenName
ornull
ifname
isnull
.SelectorImpl
QueryObjectModelTree. getSelector(Name name)
Returns the selector with the givenname
ornull
if there is no selector with this name.protected String
AbstractQOMNode. quote(Name name)
Constructors in org.apache.jackrabbit.spi.commons.query.qom with parameters of type Name Constructor Description DynamicOperandImpl(NamePathResolver resolver, Name selectorName)
-
Uses of Name in org.apache.jackrabbit.spi.commons.query.sql
Methods in org.apache.jackrabbit.spi.commons.query.sql that return Name Modifier and Type Method 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()
Methods in org.apache.jackrabbit.spi.commons.query.sql with parameters of type Name Modifier and Type Method Description void
ASTPredicate. setIdentifier(Name identifier)
void
ASTIdentifier. setName(Name name)
void
ASTContainsExpression. setPropertyName(Name property)
-
Uses of Name in org.apache.jackrabbit.spi.commons.tree
Methods in org.apache.jackrabbit.spi.commons.tree that return Name Modifier and Type Method Description Name
AbstractTree. getName()
Name
AbstractTree. getPrimaryTypeName()
Methods in org.apache.jackrabbit.spi.commons.tree with parameters of type Name Modifier and Type Method Description Tree
AbstractTree. addChild(Name childName, Name primaryTypeName, String uniqueId)
protected abstract Tree
AbstractTree. createChild(Name name, Name primaryTypeName, String uniqueId)
Constructors in org.apache.jackrabbit.spi.commons.tree with parameters of type Name Constructor Description AbstractTree(Name nodeName, Name ntName, String uniqueId, NamePathResolver resolver)
-
Uses of Name in org.apache.jackrabbit.spi.commons.value
Methods in org.apache.jackrabbit.spi.commons.value that return Name Modifier and Type Method Description Name
AbstractQValue. getName()
Methods in org.apache.jackrabbit.spi.commons.value with parameters of type Name Modifier and Type Method Description QValue
AbstractQValueFactory. create(Name value)
Constructors in org.apache.jackrabbit.spi.commons.value with parameters of type Name Constructor Description AbstractQValue(Name value)
Create a newAbstractQValue
.DefaultQValue(Name value)
-
Uses of Name in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav that return Name Modifier and Type Method Description Name[]
NodeInfoImpl. getMixins()
Name
NodeInfoImpl. getNodetype()
Name[]
RepositoryServiceImpl. getPrivilegeNames(SessionInfo sessionInfo, NodeId nodeId)
Methods in org.apache.jackrabbit.spi2dav with parameters of type Name Modifier and Type Method 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)
-
Uses of Name in org.apache.jackrabbit.spi2davex
Methods in org.apache.jackrabbit.spi2davex that return Name Modifier and Type Method Description Name[]
NodeInfoImpl. getMixins()
Name
ChildInfoImpl. getName()
Returns the name of the childNode
.Name
ItemInfoImpl. getName()
Name
NodeInfoImpl. getNodetype()
Methods in org.apache.jackrabbit.spi2davex with parameters of type Name Modifier and Type Method 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)
Constructors in org.apache.jackrabbit.spi2davex with parameters of type Name Constructor Description ChildInfoImpl(Name name, String uniqueId, int index)
Creates a new serializableChildInfoImpl
. -
Uses of Name in org.apache.jackrabbit.spi2jcr
Methods in org.apache.jackrabbit.spi2jcr that return Name Modifier and Type Method Description Name[]
RepositoryServiceImpl. getPrivilegeNames(SessionInfo sessionInfo, NodeId nodeId)
Methods in org.apache.jackrabbit.spi2jcr with parameters of type Name Modifier and Type Method 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 givensrcNodeId
in workspace namedsrcWorkspaceName
to the destination in the workspace specified by the givenSessionInfo
.void
RepositoryServiceImpl. copy(SessionInfo sessionInfo, String srcWorkspaceName, NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Clone the subtree identified by the givensrcNodeId
in workspace namedsrcWorkspaceName
to the destination in the workspace specified by the givenSessionInfo
.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)
RetrieveQNodeTypeDefinition
s for the given names.Iterator<PropertyId>
RepositoryServiceImpl. getReferences(SessionInfo sessionInfo, NodeId nodeId, Name propertyName, boolean weakReferences)
Returns theId
s of the properties that are referencing the node identified by the givennodeId
.void
RepositoryServiceImpl. move(SessionInfo sessionInfo, NodeId srcNodeId, NodeId destParentNodeId, Name destName)
Moves the node identified by the givensrcNodeId
(and its entire subtree) to the new location defined bydestParentNodeId
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 specifiednames
.
-