Interface CreateOperation

All Superinterfaces:
RevisionOperation<BasicElementInfo>, Serializable

public interface CreateOperation extends RevisionOperation<BasicElementInfo>
Indicates a create operation.
Since:
4.0.122
See Also:
  • 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 of pages (bodies are created too). In this case RevisionOperation.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 the created element has been created.
      Returns:
      the parent of the created element
      Since:
      4.0.122