public class VersionIncEditOptions extends Object implements Serializable
VersioningActions
,
Serialized FormConstructor and Description |
---|
VersionIncEditOptions() |
Modifier and Type | Method and Description |
---|---|
void |
addOption(VersioningActions option) |
VersioningActions |
getDefaultVersioningAction()
Returns action to be presented by default to user.
|
List<VersioningActions> |
getOptions() |
Map<String,String> |
getOptionsForDisplay()
Returns the versioning selection options for display.
|
boolean |
hasOptions()
Returns true if some incrementation options are defined.
|
void |
setDefaultVersioningAction(VersioningActions defaultVersioningAction) |
String |
toString() |
public VersionIncEditOptions()
public VersioningActions getDefaultVersioningAction()
Since 5.7.3, returns VersioningActions.ACTION_NO_INCREMENT
by default instead of null, when not set.
public void setDefaultVersioningAction(VersioningActions defaultVersioningAction)
public void addOption(VersioningActions option)
public List<VersioningActions> getOptions()
public boolean hasOptions()
public Map<String,String> getOptionsForDisplay()
Copyright © 2017 Nuxeo. All rights reserved.