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