Uses of Interface
org.apache.jackrabbit.spi.QNodeTypeDefinition
-
Packages that use QNodeTypeDefinition Package Description org.apache.jackrabbit.core.cluster org.apache.jackrabbit.core.journal org.apache.jackrabbit.core.nodetype org.apache.jackrabbit.core.nodetype.xml org.apache.jackrabbit.jcr2spi.nodetype 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.spi.commons.nodetype.compact org.apache.jackrabbit.spi2dav org.apache.jackrabbit.spi2jcr -
-
Uses of QNodeTypeDefinition in org.apache.jackrabbit.core.cluster
Methods in org.apache.jackrabbit.core.cluster with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
NodeTypeEventListener. externalReregistered(QNodeTypeDefinition ntDef)
Called when a node type has been externally re-registered.void
ClusterNode. reregistered(QNodeTypeDefinition ntDef)
Called when a node types has been re-registered.void
NodeTypeEventChannel. reregistered(QNodeTypeDefinition ntDef)
Called when a node types has been re-registered.Method parameters in org.apache.jackrabbit.core.cluster with type arguments of type QNodeTypeDefinition Modifier and Type Method Description void
NodeTypeEventListener. externalRegistered(Collection<QNodeTypeDefinition> ntDefs)
Called when one or more node types have been externally registered.void
NodeTypeEventChannel. registered(Collection<QNodeTypeDefinition> ntDefs)
Called when one or more node types have been registered.Constructors in org.apache.jackrabbit.core.cluster with parameters of type QNodeTypeDefinition Constructor Description NodeTypeRecord(QNodeTypeDefinition ntDef, Record record)
Create a new instance of this class. -
Uses of QNodeTypeDefinition in org.apache.jackrabbit.core.journal
Methods in org.apache.jackrabbit.core.journal that return QNodeTypeDefinition Modifier and Type Method Description QNodeTypeDefinition
AbstractRecord. readNodeTypeDef()
Read aNodeTypeDef
from the underlying stream.QNodeTypeDefinition
Record. readNodeTypeDef()
Read aNodeTypeDef
from the underlying stream.Methods in org.apache.jackrabbit.core.journal with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
AbstractRecord. writeNodeTypeDef(QNodeTypeDefinition ntd)
Write aNodeTypeDef
to the underlying stream.void
Record. writeNodeTypeDef(QNodeTypeDefinition ntd)
Write aNodeTypeDef
to the underlying stream. -
Uses of QNodeTypeDefinition in org.apache.jackrabbit.core.nodetype
Methods in org.apache.jackrabbit.core.nodetype that return QNodeTypeDefinition Modifier and Type Method Description QNodeTypeDefinition
NodeTypeDefStore. get(Name name)
QNodeTypeDefinition
NodeTypeRegistry. getNodeTypeDef(Name nodeTypeName)
Returns the node type definition of the node type with the given name.Methods in org.apache.jackrabbit.core.nodetype that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Collection<QNodeTypeDefinition>
NodeTypeDefStore. all()
Methods in org.apache.jackrabbit.core.nodetype with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
NodeTypeDefStore. add(QNodeTypeDefinition ntd)
protected void
NodeTypeRegistry. checkForConflictingContent(QNodeTypeDefinition ntd, NodeTypeDefDiff diff)
Checks whether there is existing content that would conflict with the given node type definition.void
NodeTypeRegistry. externalReregistered(QNodeTypeDefinition ntDef)
Called when a node type has been externally re-registered.EffectiveNodeType
NodeTypeRegistry. registerNodeType(QNodeTypeDefinition ntd)
Validates theNodeTypeDef
and returns anEffectiveNodeType
object representing the newly registered node type.EffectiveNodeType
NodeTypeRegistry. reregisterNodeType(QNodeTypeDefinition ntd)
Reregister a node type.Method parameters in org.apache.jackrabbit.core.nodetype with type arguments of type QNodeTypeDefinition Modifier and Type Method Description void
NodeTypeRegistry. externalRegistered(Collection<QNodeTypeDefinition> ntDefs)
Called when one or more node types have been externally registered.void
NodeTypeRegistry. registerNodeTypes(Collection<QNodeTypeDefinition> ntDefs)
Same as
except that a collection ofNodeTypeRegistry.registerNodeType(QNodeTypeDefinition)
NodeTypeDef
s is registered instead of just one.Constructors in org.apache.jackrabbit.core.nodetype with parameters of type QNodeTypeDefinition Constructor Description NodeTypeDefinitionImpl(QNodeTypeDefinition ntd, NamePathResolver resolver, ValueFactory valueFactory)
-
Uses of QNodeTypeDefinition in org.apache.jackrabbit.core.nodetype.xml
Methods in org.apache.jackrabbit.core.nodetype.xml that return QNodeTypeDefinition Modifier and Type Method Description QNodeTypeDefinition[]
NodeTypeReader. getNodeTypeDefs()
Returns all node type definitions specified by node type elements under the current element.static QNodeTypeDefinition[]
NodeTypeReader. read(InputStream xml)
Reads a node type definition file.Methods in org.apache.jackrabbit.core.nodetype.xml with parameters of type QNodeTypeDefinition Modifier and Type Method Description static void
NodeTypeWriter. write(OutputStream xml, QNodeTypeDefinition[] types, NamespaceRegistry registry)
Writes a node type definition file. -
Uses of QNodeTypeDefinition in org.apache.jackrabbit.jcr2spi.nodetype
Methods in org.apache.jackrabbit.jcr2spi.nodetype that return QNodeTypeDefinition Modifier and Type Method Description 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)
Methods in org.apache.jackrabbit.jcr2spi.nodetype that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
NodeTypeCache. getAllDefinitions(NodeTypeStorage storage)
Returns an Iterator over all node type definitions registered.Iterator<QNodeTypeDefinition>
NodeTypeCache. getDefinitions(NodeTypeStorage storage, Name[] nodeTypeNames)
Returns theQNodeTypeDefinition
s for the given node type names.Methods in org.apache.jackrabbit.jcr2spi.nodetype with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
EffectiveNodeType. checkAddNodeConstraints(Name name, QNodeTypeDefinition nodeTypeDefinition, ItemDefinitionProvider definitionProvider)
void
EffectiveNodeTypeImpl. checkAddNodeConstraints(Name name, QNodeTypeDefinition nodeTypeDefinition, ItemDefinitionProvider definitionProvider)
EffectiveNodeType
EffectiveNodeTypeProvider. getEffectiveNodeType(QNodeTypeDefinition ntd, Map<Name,QNodeTypeDefinition> ntdMap)
Builds an effective node type representation from the given node type definition.EffectiveNodeType
NodeTypeRegistryImpl. getEffectiveNodeType(QNodeTypeDefinition ntd, Map<Name,QNodeTypeDefinition> ntdMap)
void
NodeTypeCache. registerNodeTypes(NodeTypeStorage storage, QNodeTypeDefinition[] nodeTypeDefs, boolean allowUpdate)
Method parameters in org.apache.jackrabbit.jcr2spi.nodetype with type arguments of type QNodeTypeDefinition 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. registerNodeTypes(Collection<QNodeTypeDefinition> ntDefs, boolean allowUpdate)
Registers the specified node type definitions.void
NodeTypeRegistryImpl. registerNodeTypes(Collection<QNodeTypeDefinition> ntDefs, boolean allowUpdate)
-
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi
Methods in org.apache.jackrabbit.spi that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
RepositoryService. getQNodeTypeDefinitions(SessionInfo sessionInfo)
Retrieve theQNodeTypeDefinition
s of all registered nodetypes.Iterator<QNodeTypeDefinition>
RepositoryService. getQNodeTypeDefinitions(SessionInfo sessionInfo, Name[] nodetypeNames)
RetrieveQNodeTypeDefinition
s for the given names.Methods in org.apache.jackrabbit.spi with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
RepositoryService. registerNodeTypes(SessionInfo sessionInfo, QNodeTypeDefinition[] nodeTypeDefinitions, boolean allowUpdate)
Registers the node types with the specifiedQNodeTypeDefinition
s. -
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi.commons
Classes in org.apache.jackrabbit.spi.commons that implement QNodeTypeDefinition Modifier and Type Class Description class
QNodeTypeDefinitionImpl
QNodeTypeDefinitionImpl
implements a serializable SPI node type definition.Methods in org.apache.jackrabbit.spi.commons that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
AbstractRepositoryService. getQNodeTypeDefinitions(SessionInfo sessionInfo)
This default implementation first callsAbstractRepositoryService.checkSessionInfo(SessionInfo)
with thesessionInfo
,Iterator<QNodeTypeDefinition>
AbstractRepositoryService. getQNodeTypeDefinitions(SessionInfo sessionInfo, Name[] nodetypeNames)
This default implementation first callsAbstractRepositoryService.checkSessionInfo(SessionInfo)
with thesessionInfo
, then gathers theQNodeTypeDefinition
s with the givennodetypeNames
.Methods in org.apache.jackrabbit.spi.commons with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
AbstractRepositoryService. registerNodeTypes(SessionInfo sessionInfo, QNodeTypeDefinition[] nodeTypeDefinitions, boolean allowUpdate)
Constructors in org.apache.jackrabbit.spi.commons with parameters of type QNodeTypeDefinition Constructor Description AbstractRepositoryService(Map<String,QValue[]> descriptors, Map<String,String> namespaces, QNodeTypeDefinition[] nodeTypeDefs)
QNodeTypeDefinitionImpl(QNodeTypeDefinition nt)
Copy constructor. -
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi.commons.logging
Methods in org.apache.jackrabbit.spi.commons.logging that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
RepositoryServiceLogger. getQNodeTypeDefinitions(SessionInfo sessionInfo)
Iterator<QNodeTypeDefinition>
RepositoryServiceLogger. getQNodeTypeDefinitions(SessionInfo sessionInfo, Name[] nodetypeNames)
Methods in org.apache.jackrabbit.spi.commons.logging with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
RepositoryServiceLogger. registerNodeTypes(SessionInfo sessionInfo, QNodeTypeDefinition[] nodeTypeDefinitions, boolean allowUpdate)
-
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi.commons.nodetype
Fields in org.apache.jackrabbit.spi.commons.nodetype declared as QNodeTypeDefinition Modifier and Type Field Description protected QNodeTypeDefinition
AbstractNodeType. ntd
protected QNodeTypeDefinition
NodeTypeDefinitionImpl. ntd
Methods in org.apache.jackrabbit.spi.commons.nodetype that return QNodeTypeDefinition Modifier and Type Method Description QNodeTypeDefinition
QNodeTypeDefinitionBuilder. build()
Creates a newQNodeTypeDefinition
instance based on the state of this builder.QNodeTypeDefinition
AbstractNodeType. getDefinition()
Returns the node type definition.Methods in org.apache.jackrabbit.spi.commons.nodetype that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
NodeTypeStorage. getAllDefinitions()
Returns an Iterator over all node type definitions registered.Iterator<QNodeTypeDefinition>
NodeTypeStorageImpl. getAllDefinitions()
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
.DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder<QNodeTypeDefinition>
QDefinitionBuilderFactory. newNodeTypeDefinitionBuilder()
Methods in org.apache.jackrabbit.spi.commons.nodetype with parameters of type QNodeTypeDefinition Modifier and Type Method Description static NodeTypeDefDiff
NodeTypeDefDiff. create(QNodeTypeDefinition oldDef, QNodeTypeDefinition newDef)
NodeTypeDefinition
NodeTypeDefinitionFactory. create(QNodeTypeDefinition qNtd)
Create a new JCR node type definition from the givenQNodeTypeDefinition
.void
NodeTypeStorage. registerNodeTypes(QNodeTypeDefinition[] nodeTypeDefs, boolean allowUpdate)
Add allQNodeTypeDefinition
s provided to the store.void
NodeTypeStorageImpl. registerNodeTypes(QNodeTypeDefinition[] nodeTypeDefs, boolean allowUpdate)
Method parameters in org.apache.jackrabbit.spi.commons.nodetype with type arguments of type QNodeTypeDefinition Modifier and Type Method Description List<NodeTypeDefinition>
NodeTypeDefinitionFactory. create(Collection<QNodeTypeDefinition> defs)
Create a list ofJCR node type definitions
from a collection ofQNodeTypeDefinition
.Constructors in org.apache.jackrabbit.spi.commons.nodetype with parameters of type QNodeTypeDefinition Constructor Description AbstractNodeType(QNodeTypeDefinition ntd, AbstractNodeTypeManager ntMgr, NamePathResolver resolver)
Create a newAbstractNodeType
.NodeTypeDefinitionImpl(QNodeTypeDefinition ntd, NamePathResolver resolver, ValueFactory valueFactory)
-
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi.commons.nodetype.compact
Methods in org.apache.jackrabbit.spi.commons.nodetype.compact with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
CompactNodeTypeDefWriter. write(QNodeTypeDefinition ntd)
Write one QNodeTypeDefinition to this writerMethod parameters in org.apache.jackrabbit.spi.commons.nodetype.compact with type arguments of type QNodeTypeDefinition Modifier and Type Method Description void
CompactNodeTypeDefWriter. write(Collection<? extends QNodeTypeDefinition> defs)
Write a collection of QNodeTypeDefinitions to this writerstatic void
CompactNodeTypeDefWriter. write(Collection<? extends QNodeTypeDefinition> defs, NamespaceResolver r, NamePathResolver npResolver, Writer out)
Writes the given list of QNodeTypeDefinition to the output writer including the used namespaces. -
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
RepositoryServiceImpl. getQNodeTypeDefinitions(SessionInfo sessionInfo)
Iterator<QNodeTypeDefinition>
RepositoryServiceImpl. getQNodeTypeDefinitions(SessionInfo sessionInfo, Name[] nodetypeNames)
Methods in org.apache.jackrabbit.spi2dav with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
RepositoryServiceImpl. registerNodeTypes(SessionInfo sessionInfo, QNodeTypeDefinition[] nodeTypeDefinitions, boolean allowUpdate)
-
Uses of QNodeTypeDefinition in org.apache.jackrabbit.spi2jcr
Methods in org.apache.jackrabbit.spi2jcr that return types with arguments of type QNodeTypeDefinition Modifier and Type Method Description Iterator<QNodeTypeDefinition>
RepositoryServiceImpl. getQNodeTypeDefinitions(SessionInfo sessionInfo)
Retrieve theQNodeTypeDefinition
s of all registered nodetypes.Iterator<QNodeTypeDefinition>
RepositoryServiceImpl. getQNodeTypeDefinitions(SessionInfo sessionInfo, Name[] nodetypeNames)
RetrieveQNodeTypeDefinition
s for the given names.Methods in org.apache.jackrabbit.spi2jcr with parameters of type QNodeTypeDefinition Modifier and Type Method Description void
RepositoryServiceImpl. registerNodeTypes(SessionInfo sessionInfo, QNodeTypeDefinition[] nodeTypeDefinitions, boolean allowUpdate)
Registers the node types with the specifiedQNodeTypeDefinition
s.
-