|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This Interface defines a virtual item state provider.
| Method Summary | |
VirtualNodeState |
createNodeState(VirtualNodeState parent,
QName name,
NodeId id,
QName nodeTypeName)
Creates a new virtual node state |
VirtualPropertyState |
createPropertyState(VirtualNodeState parent,
QName name,
int type,
boolean multiValued)
Creats a new virtual property state |
NodeId |
getVirtualRootId()
Returns the id of the root node of the virtual tree. |
boolean |
isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree. |
boolean |
setNodeReferences(NodeReferences refs)
Informs this provider that the node references to one of its states has changed. |
| Methods inherited from interface org.apache.jackrabbit.core.state.ItemStateManager |
getItemState, getNodeReferences, hasItemState, hasNodeReferences |
| Method Detail |
public boolean isVirtualRoot(ItemId id)
id -
true if it is the rootpublic NodeId getVirtualRootId()
public VirtualPropertyState createPropertyState(VirtualNodeState parent,
QName name,
int type,
boolean multiValued)
throws RepositoryException
parent - name - type - multiValued -
RepositoryException
public VirtualNodeState createNodeState(VirtualNodeState parent,
QName name,
NodeId id,
QName nodeTypeName)
throws RepositoryException
parent - name - id - nodeTypeName -
RepositoryExceptionpublic boolean setNodeReferences(NodeReferences refs)
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 | ||||||||||