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 |
statusSTATUS_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, getStatusprotected AbstractRemove(ItemState removeState, NodeState parent) throws RepositoryException
RepositoryExceptionpublic void undo()
throws RepositoryException
Operationundo in interface Operationundo in class AbstractOperationRepositoryExceptionOperation.undo()public ItemId getRemoveId() throws RepositoryException
RepositoryExceptionpublic NodeState getParentState()
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.