|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeStateListener
Extends the ItemStateListener allowing a client to be
additionally informed about changes on a NodeState.
| Method Summary | |
|---|---|
void |
nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
Called when a child node has been added |
void |
nodeModified(NodeState state)
Called when a node has been modified, typically as a result of removal or addition of a child node. |
void |
nodeRemoved(NodeState state,
Name 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 |
|---|
void nodeAdded(NodeState state,
Name name,
int index,
NodeId id)
state - node state that changedname - name of node that was addedindex - index of new nodeid - id of new nodevoid nodeModified(NodeState state)
ItemStateListener.stateModified(ItemState) was called.
state - node state that changedvoid nodesReplaced(NodeState state)
state - node state that changed
void nodeRemoved(NodeState state,
Name 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 | |||||||||