Class VersionIncEditOptions
java.lang.Object
org.nuxeo.ecm.platform.versioning.api.VersionIncEditOptions
- All Implemented Interfaces:
Serializable
This class composes a result of versioning interrogation about what increment options are available.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOption
(VersioningActions option) Returns action to be presented by default to user.Returns the versioning selection options for display.boolean
Returns true if some incrementation options are defined.void
setDefaultVersioningAction
(VersioningActions defaultVersioningAction) toString()
-
Constructor Details
-
VersionIncEditOptions
public VersionIncEditOptions()
-
-
Method Details
-
getDefaultVersioningAction
Returns action to be presented by default to user.Since 5.7.3, returns
VersioningActions.ACTION_NO_INCREMENT
by default instead of null, when not set. -
setDefaultVersioningAction
-
addOption
-
getOptions
-
hasOptions
public boolean hasOptions()Returns true if some incrementation options are defined.- Since:
- 5.7.3
-
getOptionsForDisplay
Returns the versioning selection options for display.- Since:
- 5.7.3
-
toString
-