de.espirit.firstspirit.storage
Interface MoveOperation

All Superinterfaces:
RevisionOperation<BasicElementInfo>, Serializable

public interface MoveOperation
extends RevisionOperation<BasicElementInfo>

Interface indicating a move operation on a belonging storeelement.

Since:
4.0.120

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.espirit.firstspirit.storage.RevisionOperation
RevisionOperation.OperationType
 
Method Summary
 Collection<BasicElementInfo> getElements()
          Returns a collection of all elements belonging to this revision operation
 BasicElementInfo getMovedElement()
          Returns the element which has been moved in the belonging move operation.
 BasicElementInfo getSourceParent()
          Returns the source parent, the moved element has been moved from in the belonging move operation.
 BasicElementInfo getTargetParent()
          Returns the target parent, the moved element has been moved to in the belonging move operation.
 
Methods inherited from interface de.espirit.firstspirit.storage.RevisionOperation
getType
 

Method Detail

getMovedElement

BasicElementInfo getMovedElement()
Returns the element which has been moved in the belonging move operation.

Returns:
the moved element of the belonging move operation
Since:
4.0.120

getSourceParent

BasicElementInfo getSourceParent()
Returns the source parent, the moved element has been moved from in the belonging move operation.

Returns:
the source parent of the belonging move operation
Since:
4.0.120

getTargetParent

BasicElementInfo getTargetParent()
Returns the target parent, the moved element has been moved to in the belonging move operation.

Returns:
the target parent of the belonging move operation
Since:
4.0.120

getElements

Collection<BasicElementInfo> getElements()
Returns a collection of all elements belonging to this revision operation

Specified by:
getElements in interface RevisionOperation<BasicElementInfo>
Returns:
collection of all elements belonging to this revision operation
Since:
4.0.120


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480