|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.base.nodetype.BaseNodeTypeManager
org.apache.jackrabbit.session.nodetype.SessionNodeTypeManager
Immutable and session-bound node type manager frontend. An instance of this class presents the underlying node type manager state using the JCR NodeTypeManager interface.
By not exposing the setter methods of the underlying state instance, this class intentionally makes it impossible for a JCR client to modify node type information.
Constructor Summary | |
SessionNodeTypeManager(SessionHelper helper,
NodeTypeManagerState state)
Creates a node type manager frontend that is bound to the given session and underlying node type manager state. |
Method Summary | |
boolean |
equals(Object that)
Compares objects for equality. |
NodeTypeIterator |
getAllNodeTypes()
Returns all available node types. |
int |
hashCode()
Returns a hash code for this object. |
Methods inherited from class org.apache.jackrabbit.base.nodetype.BaseNodeTypeManager |
getMixinNodeTypes, getNodeType, getPrimaryNodeTypes |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.nodetype.NodeTypeManager |
getMixinNodeTypes, getNodeType, getPrimaryNodeTypes |
Constructor Detail |
public SessionNodeTypeManager(SessionHelper helper, NodeTypeManagerState state)
helper
- helper for accessing the current sessionstate
- underlying node type manager stateMethod Detail |
public NodeTypeIterator getAllNodeTypes()
getAllNodeTypes
in interface NodeTypeManager
getAllNodeTypes
in class BaseNodeTypeManager
SessionNodeType
,
NodeTypeManager.getAllNodeTypes()
,
NodeTypeManagerState.getNodeTypeStates()
public boolean equals(Object that)
true
if the
given object is a SessionNodeTypeManager with the same underlying node
type manager state and session.
Note that the node type manager state class does not override the equals method and thus the mutable state instances are compared for reference equality.
that
- the object to compare this object with
true
if the objects are equal,
false
otherwiseObject.equals(Object)
public int hashCode()
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |