|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.core.virtual.AbstractVISProvider
org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateProvider
This Class implements a virtual item state provider that exposes the registered nodetypes.
| Field Summary |
| Fields inherited from class org.apache.jackrabbit.core.virtual.AbstractVISProvider |
ntReg, rootNodeId |
| Constructor Summary | |
VirtualNodeTypeStateProvider(NodeTypeRegistry ntReg,
NodeId rootNodeId,
NodeId parentId)
|
|
| Method Summary | |
protected VirtualNodeState |
createRootNodeState()
Creates the root node state. currently we have no dynamic ones, we just recreate the entire nodetypes tree |
protected VirtualNodeState |
internalGetNodeState(NodeId id)
Retrieves the node state with the given node id |
protected boolean |
internalHasNodeState(NodeId id)
Checks if this provide has the node state of the given node id |
void |
onNodeTypeAdded(QName ntName)
{@inheritDoc} |
void |
onNodeTypeModified(QName ntName)
{@inheritDoc} |
void |
onNodeTypeRemoved(QName ntName)
{@inheritDoc} |
boolean |
setNodeReferences(NodeReferences refs)
Informs this provider that the node references to one of its states has changed. |
| Methods inherited from class org.apache.jackrabbit.core.virtual.AbstractVISProvider |
cache, createNodeState, createPropertyState, evict, getApplicableChildNodeDef, getApplicablePropertyDef, getEffectiveNodeType, getItemState, getNodeReferences, getNodeTypeRegistry, getRootState, getVirtualRootId, hasItemState, hasNodeReferences, internalGetPropertyState, internalHasPropertyState, invalidateItem, isVirtualRoot, stateCreated, stateDestroyed, stateDiscarded, stateModified |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VirtualNodeTypeStateProvider(NodeTypeRegistry ntReg,
NodeId rootNodeId,
NodeId parentId)
ntReg - rootNodeId - parentId - | Method Detail |
protected VirtualNodeState createRootNodeState()
throws RepositoryException
createRootNodeState in class AbstractVISProviderRepositoryExceptionprotected boolean internalHasNodeState(NodeId id)
internalHasNodeState in class AbstractVISProviderid -
true if it has the node state
protected VirtualNodeState internalGetNodeState(NodeId id)
throws NoSuchItemStateException,
ItemStateException
internalGetNodeState in class AbstractVISProviderid -
NoSuchItemStateException
ItemStateException
public void onNodeTypeAdded(QName ntName)
throws RepositoryException
RepositoryException
public void onNodeTypeModified(QName ntName)
throws RepositoryException
RepositoryException
public void onNodeTypeRemoved(QName ntName)
throws RepositoryException
RepositoryExceptionpublic boolean setNodeReferences(NodeReferences refs)
VirtualItemStateProvider
refs -
true if the reference target is one of its items.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||