public interface ItemDefinitionProvider
ItemDefinitionProvider...| Modifier and Type | Method and Description |
|---|---|
QNodeDefinition |
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 |
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 |
getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId)
Returns the
QNodeDefinition for the specified node state. |
QPropertyDefinition |
getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type)
Returns the applicable property definition for a property with the
specified name and type.
|
QPropertyDefinition |
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 |
getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId)
Returns the
QPropertyDefinition for the specified parameters. |
QPropertyDefinition |
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.
|
QNodeDefinition |
getRootNodeDefinition()
Returns the
QNodeDefinition for the root node. |
QNodeDefinition getRootNodeDefinition() throws RepositoryException
QNodeDefinition for the root node.QNodeDefinition for the root node.RepositoryExceptionQNodeDefinition getQNodeDefinition(Name[] parentNodeTypeNames, Name nodeName, Name ntName, NodeId nodeId) throws RepositoryException
QNodeDefinition for the specified node state.parentNodeTypeNames - nodeName - ntName - nodeId - QNodeDefinition for the specified node state.RepositoryExceptionQNodeDefinition getQNodeDefinition(Name[] parentNodeTypeNames, Name name, Name nodeTypeName) throws NoSuchNodeTypeException, ConstraintViolationException
parentNodeTypeNames - name - nodeTypeName - NoSuchNodeTypeExceptionConstraintViolationException - if no applicable child node definition
could be foundQNodeDefinition getQNodeDefinition(EffectiveNodeType ent, Name name, Name nodeTypeName) throws NoSuchNodeTypeException, ConstraintViolationException
ent - name - nodeTypeName - NoSuchNodeTypeExceptionConstraintViolationException - if no applicable child node definition
could be foundQPropertyDefinition getQPropertyDefinition(Name[] parentNodeTypeNames, Name propertyName, int propertyType, boolean isMultiValued, PropertyId propertyId) throws RepositoryException
QPropertyDefinition for the specified parameters.parentNodeTypeNames - propertyName - propertyType - isMultiValued - propertyId - Used to retrieve the definition from the persistent
layer if it cannot be determined from the information present.RepositoryExceptionQPropertyDefinition getQPropertyDefinition(Name ntName, Name propName, int type, boolean multiValued) throws ConstraintViolationException, NoSuchNodeTypeException
ntName - propName - type - multiValued - NoSuchNodeTypeException - If no node type with name ntName
exists.ConstraintViolationException - if no applicable property definition
could be foundQPropertyDefinition getQPropertyDefinition(Name[] parentNodeTypeNames, Name name, int type, boolean multiValued) throws ConstraintViolationException, NoSuchNodeTypeException
parentNodeTypeNames - name - type - multiValued - ConstraintViolationException - if no applicable property definition
could be found.NoSuchNodeTypeExceptionQPropertyDefinition getQPropertyDefinition(Name[] parentNodeTypeNames, Name name, int type) throws ConstraintViolationException, NoSuchNodeTypeException
getQPropertyDefinition(Name[], Name, int, boolean)
this method does not take the multiValued flag into account in the
selection algorithm. If there more than one applicable definitions then
the following rules are applied:
parentNodeTypeNames - name - type - ConstraintViolationException - if no applicable property definition
could be foundNoSuchNodeTypeExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.