Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.versioning.api
Class VersionIncEditOptions

java.lang.Object
  extended by org.nuxeo.ecm.platform.versioning.api.VersionIncEditOptions
All Implemented Interfaces:
Serializable

public class VersionIncEditOptions
extends Object
implements Serializable

This class composes a result of versioning interrogation about what increment options are available.

See Also:
VersioningActions, Serialized Form

Constructor Summary
VersionIncEditOptions()
           
 
Method Summary
 void addOption(VersioningActions option)
           
 VersioningActions getDefaultVersioningAction()
          Returns action to be presented by default to user.
 List<VersioningActions> getOptions()
           
 void setDefaultVersioningAction(VersioningActions defaultVersioningAction)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionIncEditOptions

public VersionIncEditOptions()
Method Detail

getDefaultVersioningAction

public VersioningActions getDefaultVersioningAction()
Returns action to be presented by default to user.


setDefaultVersioningAction

public void setDefaultVersioningAction(VersioningActions defaultVersioningAction)

addOption

public void addOption(VersioningActions option)

getOptions

public List<VersioningActions> getOptions()

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.