|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.cluster.ItemOperation org.apache.jackrabbit.core.cluster.NodeModifiedOperation
public class NodeModifiedOperation
Describes a journal operation for a node modification.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.core.cluster.ItemOperation |
---|
ADDED, DELETED, MODIFIED |
Method Summary | |
---|---|
void |
apply(ChangeLog changeLog)
Apply an operation to a change log. |
static org.apache.jackrabbit.core.cluster.NodeOperation |
create(int operationType)
Creates a new instance of a known subclass. |
static org.apache.jackrabbit.core.cluster.NodeOperation |
create(NodeState state)
Create a node operation for a modified node. |
NodeDefId |
getDefintionId()
Return the definition id. |
NodeId |
getId()
Return the node id. |
boolean |
hasDefinitionId()
Return a flag indicating whether the definition id is contained in this record. |
boolean |
hasId()
Return a flag indicating whether the node id is contained in this record. |
void |
setDefintionId(NodeDefId defintionId)
Set the definition id. |
void |
setId(NodeId id)
Set the node id. |
Methods inherited from class org.apache.jackrabbit.core.cluster.ItemOperation |
---|
getOperationType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.apache.jackrabbit.core.cluster.NodeOperation create(NodeState state)
state
- node state
public void apply(ChangeLog changeLog)
apply
in class ItemOperation
changeLog
- change logpublic static org.apache.jackrabbit.core.cluster.NodeOperation create(int operationType)
operationType
- operation type
public boolean hasId()
true
if the node id is contained;
false
otherwise.public NodeId getId()
public void setId(NodeId id)
id
- node idpublic NodeDefId getDefintionId()
public boolean hasDefinitionId()
true
if the definition id is contained;
false
otherwise.public void setDefintionId(NodeDefId defintionId)
defintionId
- definition id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |