de.espirit.firstspirit.storage
Interface ModifyOperation

All Superinterfaces:
RevisionOperation<BasicElementInfo>, Serializable

public interface ModifyOperation
extends RevisionOperation<BasicElementInfo>

This interface indicates a modification operation

Since:
4.0.122
See Also:
RevisionOperation.OperationType.MODIFY

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 getModificationRootElement()
          Returns the root element of the save operation.
 
Methods inherited from interface de.espirit.firstspirit.storage.RevisionOperation
getType
 

Method Detail

getModificationRootElement

BasicElementInfo getModificationRootElement()
Returns the root element of the save operation.
Example:
 Root
   `-- A (save was called for this element)
       `-- B
           `-- C
 
In this example case ModifyOperation.getModificationRootElement() delivers node 'A'. ModifyOperation.getElements() delivers 'A', 'B', 'C'

Since:
4.0.122

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.122


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