Package org.apache.sling.servlets.post
Class VersioningConfiguration
java.lang.Object
org.apache.sling.servlets.post.VersioningConfiguration
- All Implemented Interfaces:
Cloneable
Data structure to hold the various options associated with how versionable
nodes are handled in the post servlet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
boolean
boolean
void
setAutoCheckin
(boolean autoCheckin) void
setAutoCheckout
(boolean autoCheckout) void
setCheckinOnNewVersionableNode
(boolean checkinOnNewVersionableNode)
-
Constructor Details
-
VersioningConfiguration
public VersioningConfiguration()
-
-
Method Details
-
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)
-