public abstract class AbstractRemove extends AbstractOperation
AbstractRemove
is the base class for non-transient remove
operations executed on the workspace such as removing versions or activities.Modifier and Type | Field and Description |
---|---|
protected NodeState |
parent |
protected ItemState |
removeState |
status
STATUS_PENDING, STATUS_PERSISTED, STATUS_UNDO
Modifier | Constructor and Description |
---|---|
protected |
AbstractRemove(ItemState removeState,
NodeState parent) |
Modifier and Type | Method and Description |
---|---|
NodeState |
getParentState() |
ItemId |
getRemoveId() |
void |
undo()
Revert changes made by this operation.
|
addAffectedItemState, assertChildNodeEntries, getAffectedItemStates, getName, getNodeState, getStatus
protected AbstractRemove(ItemState removeState, NodeState parent) throws RepositoryException
RepositoryException
public void undo() throws RepositoryException
Operation
undo
in interface Operation
undo
in class AbstractOperation
RepositoryException
Operation.undo()
public ItemId getRemoveId() throws RepositoryException
RepositoryException
public NodeState getParentState()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.