org.apache.jackrabbit.jcr2spi.operation
Class AbstractRemove
java.lang.Object
org.apache.jackrabbit.jcr2spi.operation.AbstractOperation
org.apache.jackrabbit.jcr2spi.operation.AbstractRemove
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- RemoveActivity, RemoveVersion
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
removeState
protected ItemState removeState
parent
protected NodeState parent
AbstractRemove
protected AbstractRemove(ItemState removeState,
NodeState parent)
throws RepositoryException
- Throws:
RepositoryException
undo
public void undo()
throws RepositoryException
- Description copied from interface:
Operation
- Revert changes made by this operation.
- Specified by:
undo in interface Operation- Overrides:
undo in class AbstractOperation
- Throws:
RepositoryException- See Also:
Operation.undo()
getRemoveId
public org.apache.jackrabbit.spi.ItemId getRemoveId()
throws RepositoryException
- Throws:
RepositoryException
getParentState
public NodeState getParentState()
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.