org.apache.jackrabbit.jcr2spi.operation
Class AbstractOperation
java.lang.Object
org.apache.jackrabbit.jcr2spi.operation.AbstractOperation
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- AbstractCopy, AddLabel, AddNode, AddProperty, Checkin, Checkout, LockOperation, LockRefresh, LockRelease, Merge, Move, Remove, RemoveLabel, ReorderNodes, ResolveMergeConflict, Restore, SetMixin, SetPropertyValue, Update, WorkspaceImport
public abstract class AbstractOperation
- extends Object
- implements Operation
AbstractOperation...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOperation
public AbstractOperation()
getName
public String getName()
- Returns the name of the class
- Specified by:
getName in interface Operation
- Returns:
- the class name
- See Also:
Object.getClass()
getAffectedItemStates
public Collection getAffectedItemStates()
- Description copied from interface:
Operation
- A collection of
ItemStates that are affected by this operation.
- Specified by:
getAffectedItemStates in interface Operation
- Returns:
- collection of affected
ItemStates.
addAffectedItemState
protected void addAffectedItemState(ItemState affectedState)
- Adds an affected
ItemState.
- Parameters:
affectedState - the ItemStates of the affected item.
getNodeState
protected static NodeState getNodeState(Path nodePath,
HierarchyManager hierMgr,
PathResolver resolver)
throws PathNotFoundException,
RepositoryException
- Parameters:
nodePath - hierMgr - resolver -
- Returns:
-
- Throws:
PathNotFoundException
RepositoryException
Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.