de.espirit.firstspirit.storage
Interface DeleteOperation
- All Superinterfaces:
- RevisionOperation<BasicElementInfo>, Serializable
public interface DeleteOperation
- extends RevisionOperation<BasicElementInfo>
Interface indicating a delete of a StoreElement or a StoreElement subtree.
- Since:
- 4.0.120
getDeleteRootElement
BasicElementInfo getDeleteRootElement()
- Returns the root element of the delete action.
Example:
Root
`-- A (delete was called for this element)
`-- B
`-- C
In this example case DeleteOperation.getDeleteRootElement()
delivers node 'A'. DeleteOperation.getElements()
delivers 'A', 'B', 'C'
- 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