|
||||||||||
| 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,
org.apache.jackrabbit.spi.RepositoryService service,
org.apache.jackrabbit.spi.SessionInfo sessionInfo)
|
|
| Method Summary | |
|---|---|
org.apache.jackrabbit.spi.QNodeDefinition |
getQNodeDefinition(EffectiveNodeType ent,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name nodeTypeName)
Returns the applicable child node definition for a child node with the specified name and node type. |
org.apache.jackrabbit.spi.QNodeDefinition |
getQNodeDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name nodeTypeName)
Returns the applicable child node definition for a child node with the specified name and node type. |
org.apache.jackrabbit.spi.QNodeDefinition |
getQNodeDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name ntName,
org.apache.jackrabbit.spi.NodeId nodeId)
Returns the QNodeDefinition for the specified node state. |
org.apache.jackrabbit.spi.QPropertyDefinition |
getQPropertyDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name name,
int type)
Returns the applicable property definition for a property with the specified name and type. |
org.apache.jackrabbit.spi.QPropertyDefinition |
getQPropertyDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the specified name, type and multiValued characteristic. |
org.apache.jackrabbit.spi.QPropertyDefinition |
getQPropertyDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name propertyName,
int propertType,
boolean isMultiValued,
org.apache.jackrabbit.spi.PropertyId propertyId)
Returns the QPropertyDefinition for the specified parameters. |
org.apache.jackrabbit.spi.QPropertyDefinition |
getQPropertyDefinition(org.apache.jackrabbit.spi.Name ntName,
org.apache.jackrabbit.spi.Name propName,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the specified name, type and multiValued characteristic. |
org.apache.jackrabbit.spi.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,
org.apache.jackrabbit.spi.RepositoryService service,
org.apache.jackrabbit.spi.SessionInfo sessionInfo)
| Method Detail |
|---|
public org.apache.jackrabbit.spi.QNodeDefinition getRootNodeDefinition()
throws RepositoryException
ItemDefinitionProviderQNodeDefinition for the root node.
getRootNodeDefinition in interface ItemDefinitionProviderQNodeDefinition for the root node.
RepositoryException
public org.apache.jackrabbit.spi.QNodeDefinition getQNodeDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name ntName,
org.apache.jackrabbit.spi.NodeId nodeId)
throws RepositoryException
ItemDefinitionProviderQNodeDefinition for the specified node state.
getQNodeDefinition in interface ItemDefinitionProviderQNodeDefinition for the specified node state.
RepositoryException
public org.apache.jackrabbit.spi.QNodeDefinition getQNodeDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name nodeTypeName)
throws NoSuchNodeTypeException,
ConstraintViolationException
ItemDefinitionProvider
getQNodeDefinition in interface ItemDefinitionProviderNoSuchNodeTypeException
ConstraintViolationException - if no applicable child node definition
could be found
public org.apache.jackrabbit.spi.QNodeDefinition getQNodeDefinition(EffectiveNodeType ent,
org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name nodeTypeName)
throws NoSuchNodeTypeException,
ConstraintViolationException
ItemDefinitionProvider
getQNodeDefinition in interface ItemDefinitionProviderNoSuchNodeTypeException
ConstraintViolationException - if no applicable child node definition
could be found
public org.apache.jackrabbit.spi.QPropertyDefinition getQPropertyDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name propertyName,
int propertType,
boolean isMultiValued,
org.apache.jackrabbit.spi.PropertyId propertyId)
throws 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.
RepositoryException
public org.apache.jackrabbit.spi.QPropertyDefinition getQPropertyDefinition(org.apache.jackrabbit.spi.Name ntName,
org.apache.jackrabbit.spi.Name propName,
int type,
boolean multiValued)
throws ConstraintViolationException,
NoSuchNodeTypeException
ItemDefinitionProvider
getQPropertyDefinition in interface ItemDefinitionProviderConstraintViolationException - if no applicable property definition
could be found
NoSuchNodeTypeException - If no node type with name ntName
exists.
public org.apache.jackrabbit.spi.QPropertyDefinition getQPropertyDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name name,
int type,
boolean multiValued)
throws ConstraintViolationException,
NoSuchNodeTypeException
ItemDefinitionProvider
getQPropertyDefinition in interface ItemDefinitionProviderConstraintViolationException - if no applicable property definition
could be found.
NoSuchNodeTypeException
public org.apache.jackrabbit.spi.QPropertyDefinition getQPropertyDefinition(org.apache.jackrabbit.spi.Name[] parentNodeTypeNames,
org.apache.jackrabbit.spi.Name name,
int type)
throws ConstraintViolationException,
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 ItemDefinitionProviderConstraintViolationException - if no applicable property definition
could be found
NoSuchNodeTypeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||