Package org.apache.sling.servlets.post
Class VersioningConfiguration
- java.lang.Object
-
- org.apache.sling.servlets.post.VersioningConfiguration
-
- All Implemented Interfaces:
java.lang.Cloneable
public class VersioningConfiguration extends java.lang.Object implements java.lang.CloneableData structure to hold the various options associated with how versionable nodes are handled in the post servlet.
-
-
Constructor Summary
Constructors Constructor Description VersioningConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersioningConfigurationclone()booleanisAutoCheckin()booleanisAutoCheckout()booleanisCheckinOnNewVersionableNode()voidsetAutoCheckin(boolean autoCheckin)voidsetAutoCheckout(boolean autoCheckout)voidsetCheckinOnNewVersionableNode(boolean checkinOnNewVersionableNode)
-
-
-
Method Detail
-
clone
public VersioningConfiguration clone()
-
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)
-
-