|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extends the ItemStateListener
allowing a client to be
additionally informed about changes on a NodeState
.
NodeState.addListener(org.apache.jackrabbit.core.state.ItemStateListener)
Method Summary | |
void |
nodeAdded(NodeState state,
QName name,
int index,
NodeId id)
Called when a child node has been added |
void |
nodeRemoved(NodeState state,
QName name,
int index,
NodeId id)
Called when a child node has been removed |
void |
nodesReplaced(NodeState state)
Called when the children nodes were replaced by other nodes, typically as result of a reorder operation. |
Methods inherited from interface org.apache.jackrabbit.core.state.ItemStateListener |
stateCreated, stateDestroyed, stateDiscarded, stateModified |
Method Detail |
public void nodeAdded(NodeState state, QName name, int index, NodeId id)
state
- node state that changedname
- name of node that was addedindex
- index of new nodeid
- id of new nodepublic void nodesReplaced(NodeState state)
state
- node state that changedpublic void nodeRemoved(NodeState state, QName name, int index, NodeId id)
state
- node state that changedname
- name of node that was removedindex
- index of removed nodeid
- id of removed node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |