org.apache.sling.servlets.post.impl.operations
Class CheckoutOperation

java.lang.Object
  extended by org.apache.sling.servlets.post.AbstractSlingPostOperation
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.sling.servlets.post.AbstractSlingPostOperation
log
 
Fields inherited from interface org.apache.sling.servlets.post.SlingPostOperation
PROP_OPERATION_NAME, SERVICE_NAME
 
Constructor Summary
CheckoutOperation()
           
 
Method Summary
protected  void doRun(SlingHttpServletRequest request, HtmlResponse response, List<Modification> changes)
           
protected  boolean isSkipCheckin(SlingHttpServletRequest request)
          Checkout operation is always skipping checkin.
 
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
 

Constructor Detail

CheckoutOperation

public CheckoutOperation()
Method Detail

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.