|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EffectiveNodeType
EffectiveNodeType...
| Method Summary | |
|---|---|
void |
checkAddNodeConstraints(Name name,
ItemDefinitionProvider definitionProvider)
|
void |
checkAddNodeConstraints(Name name,
QNodeTypeDefinition nodeTypeDefinition,
ItemDefinitionProvider definitionProvider)
|
void |
checkRemoveItemConstraints(Name name)
Deprecated. Use hasRemoveNodeConstraint(Name) and
hasRemovePropertyConstraint(Name) respectively. |
Name[] |
getAllNodeTypes()
|
QNodeDefinition[] |
getAllQNodeDefinitions()
|
QPropertyDefinition[] |
getAllQPropertyDefinitions()
|
QNodeDefinition[] |
getAutoCreateQNodeDefinitions()
|
QPropertyDefinition[] |
getAutoCreateQPropertyDefinitions()
|
Name[] |
getInheritedNodeTypes()
|
QNodeDefinition[] |
getMandatoryQNodeDefinitions()
|
QPropertyDefinition[] |
getMandatoryQPropertyDefinitions()
|
Name[] |
getMergedNodeTypes()
|
QNodeDefinition[] |
getNamedQNodeDefinitions(Name name)
|
QPropertyDefinition[] |
getNamedQPropertyDefinitions(Name name)
|
QNodeDefinition[] |
getUnnamedQNodeDefinitions()
|
QPropertyDefinition[] |
getUnnamedQPropertyDefinitions()
|
boolean |
hasRemoveNodeConstraint(Name nodeName)
Returns true if a single node definition matching the
specified nodeName is either mandatory or protected. |
boolean |
hasRemovePropertyConstraint(Name propertyName)
Returns true if a single property definition matching the
specified propertyName is either mandatory or protected. |
boolean |
includesNodeType(Name nodeTypeName)
Determines whether this effective node type representation includes (either through inheritance or aggregation) the given node type. |
boolean |
includesNodeTypes(Name[] nodeTypeNames)
Determines whether this effective node type representation includes (either through inheritance or aggregation) all of the given node types. |
boolean |
supportsMixin(Name mixin)
Determines whether this effective node type supports adding the specified mixin. |
| Method Detail |
|---|
Name[] getAllNodeTypes()
Name[] getInheritedNodeTypes()
Name[] getMergedNodeTypes()
boolean includesNodeType(Name nodeTypeName)
nodeTypeName - name of node type
true if the given node type is included, otherwise
falseboolean supportsMixin(Name mixin)
mixin - name of mixin type
true if the mixin type is supported, otherwise
falseboolean includesNodeTypes(Name[] nodeTypeNames)
nodeTypeNames - array of node type names
true if all of the given node types are included,
otherwise falseQNodeDefinition[] getAllQNodeDefinitions()
QPropertyDefinition[] getAllQPropertyDefinitions()
QNodeDefinition[] getAutoCreateQNodeDefinitions()
QPropertyDefinition[] getAutoCreateQPropertyDefinitions()
QNodeDefinition[] getMandatoryQNodeDefinitions()
QPropertyDefinition[] getMandatoryQPropertyDefinitions()
QNodeDefinition[] getNamedQNodeDefinitions(Name name)
QPropertyDefinition[] getNamedQPropertyDefinitions(Name name)
QNodeDefinition[] getUnnamedQNodeDefinitions()
QPropertyDefinition[] getUnnamedQPropertyDefinitions()
void checkAddNodeConstraints(Name name,
ItemDefinitionProvider definitionProvider)
throws ConstraintViolationException
name - definitionProvider -
ConstraintViolationException
void checkAddNodeConstraints(Name name,
QNodeTypeDefinition nodeTypeDefinition,
ItemDefinitionProvider definitionProvider)
throws ConstraintViolationException,
NoSuchNodeTypeException
name - nodeTypeDefinition - definitionProvider - @throws ConstraintViolationException @throws NoSuchNodeTypeException
ConstraintViolationException
NoSuchNodeTypeException
void checkRemoveItemConstraints(Name name)
throws ConstraintViolationException
hasRemoveNodeConstraint(Name) and
hasRemovePropertyConstraint(Name) respectively.
name -
ConstraintViolationExceptionboolean hasRemoveNodeConstraint(Name nodeName)
true if a single node definition matching the
specified nodeName is either mandatory or protected.
nodeName -
true if a single node definition matching the
specified nodeName is either mandatory or protected.boolean hasRemovePropertyConstraint(Name propertyName)
true if a single property definition matching the
specified propertyName is either mandatory or protected.
propertyName -
true if a single property definition matching the
specified propertyName is either mandatory or protected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||