org.apache.sling.servlets.post
Class VersioningConfiguration

java.lang.Object
  extended by org.apache.sling.servlets.post.VersioningConfiguration
All Implemented Interfaces:
Cloneable

public class VersioningConfiguration
extends Object
implements Cloneable

Data structure to hold the various options associated with how versionable nodes are handled in the post servlet.


Constructor Summary
VersioningConfiguration()
           
 
Method Summary
 VersioningConfiguration clone()
           
 boolean isAutoCheckin()
           
 boolean isAutoCheckout()
           
 boolean isCheckinOnNewVersionableNode()
           
 void setAutoCheckin(boolean autoCheckin)
           
 void setAutoCheckout(boolean autoCheckout)
           
 void setCheckinOnNewVersionableNode(boolean checkinOnNewVersionableNode)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersioningConfiguration

public VersioningConfiguration()
Method Detail

clone

public VersioningConfiguration clone()
Overrides:
clone in class Object

isAutoCheckout

public boolean isAutoCheckout()

isCheckinOnNewVersionableNode

public boolean isCheckinOnNewVersionableNode()

isAutoCheckin

public boolean isAutoCheckin()

setAutoCheckin

public void setAutoCheckin(boolean autoCheckin)

setAutoCheckout

public void setAutoCheckout(boolean autoCheckout)

setCheckinOnNewVersionableNode

public void setCheckinOnNewVersionableNode(boolean checkinOnNewVersionableNode)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.