|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.nodetype.ItemDefinitionProviderImpl
public class ItemDefinitionProviderImpl
ItemDefinitionManagerImpl...
| Constructor Summary | |
|---|---|
ItemDefinitionProviderImpl(EffectiveNodeTypeProvider entProvider,
RepositoryService service,
SessionInfo sessionInfo)
|
|
| Method Summary | |
|---|---|
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 propertType,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemDefinitionProviderImpl(EffectiveNodeTypeProvider entProvider,
RepositoryService service,
SessionInfo sessionInfo)
| Method Detail |
|---|
public QNodeDefinition getRootNodeDefinition()
throws javax.jcr.RepositoryException
ItemDefinitionProviderQNodeDefinition for the root node.
getRootNodeDefinition in interface ItemDefinitionProviderQNodeDefinition for the root node.
javax.jcr.RepositoryException
public QNodeDefinition getQNodeDefinition(Name[] parentNodeTypeNames,
Name nodeName,
Name ntName,
NodeId nodeId)
throws javax.jcr.RepositoryException
ItemDefinitionProviderQNodeDefinition for the specified node state.
getQNodeDefinition in interface ItemDefinitionProviderQNodeDefinition for the specified node state.
javax.jcr.RepositoryException
public QNodeDefinition getQNodeDefinition(Name[] parentNodeTypeNames,
Name name,
Name nodeTypeName)
throws javax.jcr.nodetype.NoSuchNodeTypeException,
javax.jcr.nodetype.ConstraintViolationException
ItemDefinitionProvider
getQNodeDefinition in interface ItemDefinitionProviderjavax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.nodetype.ConstraintViolationException - if no applicable child node definition
could be found
public QNodeDefinition getQNodeDefinition(EffectiveNodeType ent,
Name name,
Name nodeTypeName)
throws javax.jcr.nodetype.NoSuchNodeTypeException,
javax.jcr.nodetype.ConstraintViolationException
ItemDefinitionProvider
getQNodeDefinition in interface ItemDefinitionProviderjavax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.nodetype.ConstraintViolationException - if no applicable child node definition
could be found
public QPropertyDefinition getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertType,
boolean isMultiValued,
PropertyId propertyId)
throws javax.jcr.RepositoryException
ItemDefinitionProviderQPropertyDefinition for the specified parameters.
getQPropertyDefinition in interface ItemDefinitionProviderpropertyId - Used to retrieve the definition from the persistent
layer if it cannot be determined from the information present.
javax.jcr.RepositoryException
public QPropertyDefinition getQPropertyDefinition(Name ntName,
Name propName,
int type,
boolean multiValued)
throws javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.nodetype.NoSuchNodeTypeException
ItemDefinitionProvider
getQPropertyDefinition in interface ItemDefinitionProviderjavax.jcr.nodetype.ConstraintViolationException - if no applicable property definition
could be found
javax.jcr.nodetype.NoSuchNodeTypeException - If no node type with name ntName
exists.
public QPropertyDefinition getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued)
throws javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.nodetype.NoSuchNodeTypeException
ItemDefinitionProvider
getQPropertyDefinition in interface ItemDefinitionProviderjavax.jcr.nodetype.ConstraintViolationException - if no applicable property definition
could be found.
javax.jcr.nodetype.NoSuchNodeTypeException
public QPropertyDefinition getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type)
throws javax.jcr.nodetype.ConstraintViolationException,
javax.jcr.nodetype.NoSuchNodeTypeException
ItemDefinitionProviderItemDefinitionProvider.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:
getQPropertyDefinition in interface ItemDefinitionProviderjavax.jcr.nodetype.ConstraintViolationException - if no applicable property definition
could be found
javax.jcr.nodetype.NoSuchNodeTypeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||