Package de.espirit.firstspirit.storage
Interface CreateOperation
- All Superinterfaces:
RevisionOperation<BasicElementInfo>
,Serializable
Indicates a create operation.
- Since:
- 4.0.122
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.storage.RevisionOperation
RevisionOperation.OperationType
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element of this create operation.Returns the parent node under which thecreated element
has been created.Methods inherited from interface de.espirit.firstspirit.storage.RevisionOperation
getElements, getType
-
Method Details
-
getCreatedElement
BasicElementInfo getCreatedElement()Returns the root element of this create operation. Normally create operations only contains this root element but in certain cases create operation can contain more elements. e.g. during creation ofpages
(bodies
are created too). In this caseRevisionOperation.getElements()
will also return the bodies.- Returns:
- the root element of the create operation
- Since:
- 4.0.122
-
getParent
BasicElementInfo getParent()Returns the parent node under which thecreated element
has been created.- Returns:
- the parent of the created element
- Since:
- 4.0.122
-