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 |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
NodeDefinitionImpl |
NodeTypeManagerImpl.getNodeDefinition(QNodeDefinition def) |
Modifier and Type | Method and Description |
---|---|
QNodeDefinition |
NodeStateEx.getDefinition()
Returns the QNodeDefinition for this state
|
Modifier and Type | Method and Description |
---|---|
protected QNodeDefinition |
AbstractVISProvider.getApplicableChildNodeDef(NodeState parent,
Name nodeName,
Name nodeTypeName)
Retrieves the node definition for the given constraints.
|
Modifier and Type | Method and Description |
---|---|
NodeEntry |
NodeEntry.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition)
Adds a new, transient child
NodeEntry |
NodeEntry |
NodeEntryImpl.addNewNodeEntry(Name nodeName,
String uniqueID,
Name primaryNodeType,
QNodeDefinition definition) |
Modifier and Type | Method and 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 |
ItemDefinitionProviderImpl.getQNodeDefinition(EffectiveNodeType ent,
Name name,
Name nodeTypeName) |
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName)
Returns the applicable child node definition for a child node with the
specified name and node type.
|
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName) |
QNodeDefinition |
ItemDefinitionProvider.getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId)
Returns the
QNodeDefinition for the specified node state. |
QNodeDefinition |
ItemDefinitionProviderImpl.getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId) |
QNodeDefinition |
ItemDefinitionProvider.getRootNodeDefinition()
Returns the
QNodeDefinition for the root node. |
QNodeDefinition |
ItemDefinitionProviderImpl.getRootNodeDefinition() |
QNodeDefinition[] |
EffectiveNodeType.getUnnamedQNodeDefinitions() |
QNodeDefinition[] |
EffectiveNodeTypeImpl.getUnnamedQNodeDefinitions() |
Modifier and Type | Method and Description |
---|---|
NodeDefinition |
NodeTypeManagerImpl.getNodeDefinition(QNodeDefinition def)
Retrieve the
NodeDefinition for the given
QNodeDefinition . |
Modifier and Type | Method and Description |
---|---|
QNodeDefinition |
NodeState.getDefinition()
Returns the
definition defined for this
node state. |
Modifier and Type | Method and Description |
---|---|
NodeState |
TransientISFactory.createNewNodeState(NodeEntry entry,
Name nodetypeName,
QNodeDefinition definition) |
NodeState |
TransientItemStateFactory.createNewNodeState(NodeEntry entry,
Name nodeTypeName,
QNodeDefinition definition)
Creates a transient child
NodeState with the given
name . |
Constructor and Description |
---|
NodeState(NodeEntry entry,
Name nodeTypeName,
Name[] mixinTypeNames,
ItemStateFactory isf,
QNodeDefinition definition,
ItemDefinitionProvider definitionProvider)
Constructs a NEW NodeState
|
Modifier and Type | Field and Description |
---|---|
static QNodeDefinition[] |
QNodeDefinition.EMPTY_ARRAY
Empty array of
QNodeDefinition . |
Modifier and Type | Method and Description |
---|---|
QNodeDefinition[] |
QNodeTypeDefinition.getChildNodeDefs()
Returns an array containing the child node definitions.
|
QNodeDefinition |
RepositoryService.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
Returns the
QNodeDefinition for the Node
identified by the given id. |
Modifier and Type | Class and Description |
---|---|
class |
QNodeDefinitionImpl
QNodeDefinitionImpl implements a QNodeDefinition . |
Modifier and Type | Field and Description |
---|---|
protected QNodeDefinition |
AbstractRepositoryService.rootNodeDefinition
The node definition of the root node.
|
Modifier and Type | Method and 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 calls
AbstractRepositoryService.checkSessionInfo(SessionInfo)
with the sessionInfo , then lazily initializes AbstractRepositoryService.rootNodeDefinition
if nodeId denotes the root node; otherwise throws a
UnsupportedRepositoryOperationException . |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
QNodeDefinition |
RepositoryServiceLogger.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId) |
Modifier and Type | Method and Description |
---|---|
QNodeDefinition |
QNodeDefinitionBuilder.build()
Creates a new
QNodeDefinition instance based on the state of this
builder. |
QNodeDefinition[] |
QNodeTypeDefinitionBuilder.getChildNodeDefs() |
QNodeDefinition |
NodeDefinitionImpl.unwrap()
Returns the wrapped node definition.
|
Modifier and Type | Method and Description |
---|---|
NodeDefinition |
NodeTypeDefinitionFactory.create(QNodeDefinition qNd)
Create a new JCR node definition from the given
QNodeDefinition . |
abstract NodeDefinition |
AbstractNodeTypeManager.getNodeDefinition(QNodeDefinition nd)
Retrieve the
NodeDefinition for the given
QNodeDefinition . |
void |
QNodeTypeDefinitionBuilder.setChildNodeDefs(QNodeDefinition[] childDefs) |
Modifier and Type | Method and Description |
---|---|
QNodeDefinition |
RepositoryServiceImpl.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId) |
Modifier and Type | Method and Description |
---|---|
QNodeDefinition |
RepositoryServiceImpl.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
Returns the
QNodeDefinition for the Node
identified by the given id. |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.