|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemDefinitionProvider
ItemDefinitionManager
...
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(NodeState nodeState)
|
QNodeDefinition |
getQNodeDefinition(NodeState parentState,
Name name,
Name nodeTypeName)
Returns the applicable child node definition for a child node with the specified name and node type. |
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. |
QPropertyDefinition |
getQPropertyDefinition(NodeState parentState,
Name name,
int type)
Returns the applicable property definition for a property with the specified name and type. |
QPropertyDefinition |
getQPropertyDefinition(NodeState parentState,
Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the specified name, type and multiValued characteristic. |
QPropertyDefinition |
getQPropertyDefinition(PropertyState propertyState)
|
QNodeDefinition |
getRootNodeDefinition()
|
Method Detail |
---|
QNodeDefinition getRootNodeDefinition() throws RepositoryException
RepositoryException
QNodeDefinition getQNodeDefinition(NodeState nodeState) throws RepositoryException
RepositoryException
QNodeDefinition getQNodeDefinition(NodeState parentState, Name name, Name nodeTypeName) throws NoSuchNodeTypeException, ConstraintViolationException
parentState
- name
- nodeTypeName
-
NoSuchNodeTypeException
ConstraintViolationException
- if no applicable child node definition
could be foundQNodeDefinition getQNodeDefinition(EffectiveNodeType ent, Name name, Name nodeTypeName) throws NoSuchNodeTypeException, ConstraintViolationException
ent
- name
- nodeTypeName
-
NoSuchNodeTypeException
ConstraintViolationException
- if no applicable child node definition
could be foundQPropertyDefinition getQPropertyDefinition(PropertyState propertyState) throws RepositoryException
RepositoryException
QPropertyDefinition 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(NodeState parentState, Name name, int type, boolean multiValued) throws ConstraintViolationException, NoSuchNodeTypeException
parentState
- name
- type
- multiValued
-
ConstraintViolationException
- if no applicable property definition
could be found
NoSuchNodeTypeException
QPropertyDefinition getQPropertyDefinition(NodeState parentState, Name name, int type) throws ConstraintViolationException, NoSuchNodeTypeException
#getApplicablePropertyDefinition(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:
parentState
- name
- type
-
ConstraintViolationException
- 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 |