Uses of Interface
org.apache.jackrabbit.spi.QNodeDefinition
-
Packages that use QNodeDefinition Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.org.apache.jackrabbit.core.nodetype org.apache.jackrabbit.core.version The versioning framework in jackrabbit consists of 3 layers.org.apache.jackrabbit.core.virtual org.apache.jackrabbit.jcr2spi.hierarchy org.apache.jackrabbit.jcr2spi.nodetype org.apache.jackrabbit.jcr2spi.state org.apache.jackrabbit.spi Defines the interfaces of the JCR SPI (Service Provider Interface).org.apache.jackrabbit.spi.commons org.apache.jackrabbit.spi.commons.logging org.apache.jackrabbit.spi.commons.nodetype org.apache.jackrabbit.spi2dav org.apache.jackrabbit.spi2jcr -
-
Uses of QNodeDefinition in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that return QNodeDefinition Modifier and Type Method Description 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.Methods in org.apache.jackrabbit.core with parameters of type QNodeDefinition Modifier and Type Method Description NodeState
BatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, QNodeDefinition def)
Creates a new node based on the given definition.protected void
NodeImpl. onRedefine(QNodeDefinition def)
-
Uses of QNodeDefinition in org.apache.jackrabbit.core.nodetype
Methods in org.apache.jackrabbit.core.nodetype that return QNodeDefinition Modifier and Type Method Description QNodeDefinition[]
EffectiveNodeType. getAllNodeDefs()
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.QNodeDefinition[]
EffectiveNodeType. getAutoCreateNodeDefs()
QNodeDefinition[]
EffectiveNodeType. getMandatoryNodeDefs()
QNodeDefinition[]
EffectiveNodeType. getNamedNodeDefs()
QNodeDefinition[]
EffectiveNodeType. getNamedNodeDefs(Name name)
QNodeDefinition
NodeTypeRegistry. getRootNodeDef()
QNodeDefinition[]
EffectiveNodeType. getUnnamedNodeDefs()
Methods in org.apache.jackrabbit.core.nodetype with parameters of type QNodeDefinition Modifier and Type Method Description NodeDefinitionImpl
NodeTypeManagerImpl. getNodeDefinition(QNodeDefinition def)
-
Uses of QNodeDefinition in org.apache.jackrabbit.core.version
Methods in org.apache.jackrabbit.core.version that return QNodeDefinition Modifier and Type Method Description QNodeDefinition
NodeStateEx. getDefinition()
Returns the QNodeDefinition for this state -
Uses of QNodeDefinition in org.apache.jackrabbit.core.virtual
Methods in org.apache.jackrabbit.core.virtual that return QNodeDefinition Modifier and Type Method Description protected QNodeDefinition
AbstractVISProvider. getApplicableChildNodeDef(NodeState parent, Name nodeName, Name nodeTypeName)
Retrieves the node definition for the given constraints. -
Uses of QNodeDefinition in org.apache.jackrabbit.jcr2spi.hierarchy
Methods in org.apache.jackrabbit.jcr2spi.hierarchy with parameters of type QNodeDefinition 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)
-
Uses of QNodeDefinition in org.apache.jackrabbit.jcr2spi.nodetype
Methods in org.apache.jackrabbit.jcr2spi.nodetype that return QNodeDefinition Modifier and Type Method Description QNodeDefinition[]
EffectiveNodeType. getAllQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeTypeImpl. getAllQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeType. getAutoCreateQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeTypeImpl. getAutoCreateQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeType. getMandatoryQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeTypeImpl. getMandatoryQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeType. getNamedQNodeDefinitions(Name name)
QNodeDefinition[]
EffectiveNodeTypeImpl. getNamedQNodeDefinitions(Name name)
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)
QNodeDefinition
ItemDefinitionProvider. getRootNodeDefinition()
Returns theQNodeDefinition
for the root node.QNodeDefinition
ItemDefinitionProviderImpl. getRootNodeDefinition()
QNodeDefinition[]
EffectiveNodeType. getUnnamedQNodeDefinitions()
QNodeDefinition[]
EffectiveNodeTypeImpl. getUnnamedQNodeDefinitions()
Methods in org.apache.jackrabbit.jcr2spi.nodetype with parameters of type QNodeDefinition Modifier and Type Method Description NodeDefinition
NodeTypeManagerImpl. getNodeDefinition(QNodeDefinition def)
Retrieve theNodeDefinition
for the givenQNodeDefinition
. -
Uses of QNodeDefinition in org.apache.jackrabbit.jcr2spi.state
Methods in org.apache.jackrabbit.jcr2spi.state that return QNodeDefinition Modifier and Type Method Description QNodeDefinition
NodeState. getDefinition()
Returns thedefinition
defined for this node state.Methods in org.apache.jackrabbit.jcr2spi.state with parameters of type QNodeDefinition Modifier and Type Method Description 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
.Constructors in org.apache.jackrabbit.jcr2spi.state with parameters of type QNodeDefinition Constructor Description NodeState(NodeEntry entry, Name nodeTypeName, Name[] mixinTypeNames, ItemStateFactory isf, QNodeDefinition definition, ItemDefinitionProvider definitionProvider)
Constructs a NEW NodeState -
Uses of QNodeDefinition in org.apache.jackrabbit.spi
Fields in org.apache.jackrabbit.spi declared as QNodeDefinition Modifier and Type Field Description static QNodeDefinition[]
QNodeDefinition. EMPTY_ARRAY
Empty array ofQNodeDefinition
.Methods in org.apache.jackrabbit.spi that return QNodeDefinition Modifier and Type Method Description QNodeDefinition[]
QNodeTypeDefinition. getChildNodeDefs()
Returns an array containing the child node definitions.QNodeDefinition
RepositoryService. getNodeDefinition(SessionInfo sessionInfo, NodeId nodeId)
Returns theQNodeDefinition
for theNode
identified by the given id. -
Uses of QNodeDefinition in org.apache.jackrabbit.spi.commons
Classes in org.apache.jackrabbit.spi.commons that implement QNodeDefinition Modifier and Type Class Description class
QNodeDefinitionImpl
QNodeDefinitionImpl
implements aQNodeDefinition
.Fields in org.apache.jackrabbit.spi.commons declared as QNodeDefinition Modifier and Type Field Description protected QNodeDefinition
AbstractRepositoryService. rootNodeDefinition
The node definition of the root node.Methods in org.apache.jackrabbit.spi.commons that return QNodeDefinition Modifier and Type Method Description protected abstract QNodeDefinition
AbstractRepositoryService. createRootNodeDefinition(SessionInfo sessionInfo)
Create the root node definition.QNodeDefinition[]
QNodeTypeDefinitionImpl. getChildNodeDefs()
Returns an array containing the child node definitions.QNodeDefinition
AbstractRepositoryService. getNodeDefinition(SessionInfo sessionInfo, NodeId nodeId)
This default implementation first callsAbstractRepositoryService.checkSessionInfo(SessionInfo)
with thesessionInfo
, then lazily initializesAbstractRepositoryService.rootNodeDefinition
ifnodeId
denotes the root node; otherwise throws aUnsupportedRepositoryOperationException
.Constructors in org.apache.jackrabbit.spi.commons with parameters of type QNodeDefinition Constructor Description QNodeDefinitionImpl(QNodeDefinition nodeDef)
Copy constructor.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. -
Uses of QNodeDefinition in org.apache.jackrabbit.spi.commons.logging
Methods in org.apache.jackrabbit.spi.commons.logging that return QNodeDefinition Modifier and Type Method Description QNodeDefinition
RepositoryServiceLogger. getNodeDefinition(SessionInfo sessionInfo, NodeId nodeId)
-
Uses of QNodeDefinition in org.apache.jackrabbit.spi.commons.nodetype
Methods in org.apache.jackrabbit.spi.commons.nodetype that return QNodeDefinition Modifier and Type Method Description QNodeDefinition
QNodeDefinitionBuilder. build()
Creates a newQNodeDefinition
instance based on the state of this builder.QNodeDefinition[]
QNodeTypeDefinitionBuilder. getChildNodeDefs()
QNodeDefinition
NodeDefinitionImpl. unwrap()
Returns the wrapped node definition.Methods in org.apache.jackrabbit.spi.commons.nodetype with parameters of type QNodeDefinition Modifier and Type Method Description NodeDefinition
NodeTypeDefinitionFactory. create(QNodeDefinition qNd)
Create a new JCR node definition from the givenQNodeDefinition
.abstract NodeDefinition
AbstractNodeTypeManager. getNodeDefinition(QNodeDefinition nd)
Retrieve theNodeDefinition
for the givenQNodeDefinition
.void
QNodeTypeDefinitionBuilder. setChildNodeDefs(QNodeDefinition[] childDefs)
-
Uses of QNodeDefinition in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav that return QNodeDefinition Modifier and Type Method Description QNodeDefinition
RepositoryServiceImpl. getNodeDefinition(SessionInfo sessionInfo, NodeId nodeId)
-
Uses of QNodeDefinition in org.apache.jackrabbit.spi2jcr
Methods in org.apache.jackrabbit.spi2jcr that return QNodeDefinition Modifier and Type Method Description QNodeDefinition
RepositoryServiceImpl. getNodeDefinition(SessionInfo sessionInfo, NodeId nodeId)
Returns theQNodeDefinition
for theNode
identified by the given id.
-