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.Cloneable
Data 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 VersioningConfiguration
clone()
boolean
isAutoCheckin()
boolean
isAutoCheckout()
boolean
isCheckinOnNewVersionableNode()
void
setAutoCheckin(boolean autoCheckin)
void
setAutoCheckout(boolean autoCheckout)
void
setCheckinOnNewVersionableNode(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)
-
-