Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.nodetype |
This package provides interfaces and classes for content repository node type functionality.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addMixin(String mixinName)
Adds the mixin node type named
mixinName to this node. |
Node |
Node.addNode(String relPath,
String primaryNodeTypeName)
Creates a new node at
relPath of the specified node type. |
boolean |
Node.canAddMixin(String mixinName)
Returns
true if calling Node.addMixin(java.lang.String) on this node
with the mixn node type mixinName will not fail. |
void |
Node.removeMixin(String mixinName)
Removes the specified mixin node type from this node and removes
mixinName from this node's jcr:mixinTypes
property. |
void |
Item.save()
Validates all pending changes currently recorded in this
Session that apply to this Item or any of its
descendants (that is, the subgraph rooted at this Item). |
void |
Session.save()
Validates all pending changes currently recorded in this
Session . |
void |
Node.setPrimaryType(String nodeTypeName)
Changes the primary node type of this node to
nodeTypeName . |
Modifier and Type | Method and Description |
---|---|
NodeType |
NodeTypeManager.getNodeType(String nodeTypeName)
Returns the named node type.
|
void |
NodeTypeManager.unregisterNodeType(String name)
Unregisters the specified node type.
|
void |
NodeTypeManager.unregisterNodeTypes(String[] names)
Unregisters the specified set of node types.
|
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.