|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.operation.AbstractOperation
public abstract class AbstractOperation
AbstractOperation...
| Field Summary | |
|---|---|
protected int |
status
|
| Fields inherited from interface org.apache.jackrabbit.jcr2spi.operation.Operation |
|---|
STATUS_PENDING, STATUS_PERSISTED, STATUS_UNDO |
| Constructor Summary | |
|---|---|
AbstractOperation()
|
|
| Method Summary | |
|---|---|
protected void |
addAffectedItemState(ItemState affectedState)
Adds an affected ItemState. |
protected static void |
assertChildNodeEntries(NodeState parentState)
Asserts that the NodeEntry of the given parent state has it's child node entries loaded. |
java.util.Collection<ItemState> |
getAffectedItemStates()
A collection of ItemStates that are affected by this operation. |
java.lang.String |
getName()
Returns the name of the class |
protected static NodeState |
getNodeState(Path nodePath,
HierarchyManager hierMgr)
|
int |
getStatus()
Returns the status of this operation. |
void |
undo()
Revert changes made by this operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jackrabbit.jcr2spi.operation.Operation |
|---|
accept, persisted |
| Field Detail |
|---|
protected int status
| Constructor Detail |
|---|
public AbstractOperation()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface OperationObject.getClass()public java.util.Collection<ItemState> getAffectedItemStates()
OperationItemStates that are affected by this operation.
getAffectedItemStates in interface OperationItemStates.
public void undo()
throws RepositoryException
Operation
undo in interface OperationRepositoryExceptionpublic int getStatus()
Operation
getStatus in interface Operationprotected void addAffectedItemState(ItemState affectedState)
ItemState.
affectedState - the ItemStates of the affected item.
protected static NodeState getNodeState(Path nodePath,
HierarchyManager hierMgr)
throws PathNotFoundException,
RepositoryException
nodePath - hierMgr -
PathNotFoundException
RepositoryException
protected static void assertChildNodeEntries(NodeState parentState)
throws RepositoryException
parentState -
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||