org.apache.sling.servlets.post.impl.operations
Class CheckoutOperation
java.lang.Object
org.apache.sling.servlets.post.AbstractSlingPostOperation
org.apache.sling.servlets.post.impl.operations.CheckoutOperation
- All Implemented Interfaces:
- SlingPostOperation
public class CheckoutOperation
- extends AbstractSlingPostOperation
The CheckoutOperation
class implements the
checkout
operation for the Sling default POST servlet.
Methods inherited from class org.apache.sling.servlets.post.AbstractSlingPostOperation |
checkoutIfNecessary, externalizePath, findVersionableAncestor, getApplyToResources, getItemPath, getVersioningConfiguration, hasItemPathPrefix, isVersionable, orderNode, removeAndValidateWorkspace, requireItemPathPrefix, resolvePath, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckoutOperation
public CheckoutOperation()
doRun
protected void doRun(SlingHttpServletRequest request,
HtmlResponse response,
List<Modification> changes)
throws javax.jcr.RepositoryException
- Specified by:
doRun
in class AbstractSlingPostOperation
- Throws:
javax.jcr.RepositoryException
isSkipCheckin
protected boolean isSkipCheckin(SlingHttpServletRequest request)
- Checkout operation is always skipping checkin.
- Overrides:
isSkipCheckin
in class AbstractSlingPostOperation
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.