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

java.lang.Object
  extended by org.apache.sling.servlets.post.AbstractSlingPostOperation
      extended by org.apache.sling.servlets.post.impl.operations.CheckinOperation
All Implemented Interfaces:
SlingPostOperation

public class CheckinOperation
extends AbstractSlingPostOperation

The CheckinOperation class implements the checkin 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
CheckinOperation()
           
 
Method Summary
protected  void doRun(SlingHttpServletRequest request, HtmlResponse response, List<Modification> changes)
           
protected  boolean isSkipCheckin(SlingHttpServletRequest request)
          Checkin operation always checks in.
 
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

CheckinOperation

public CheckinOperation()
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)
Checkin operation always checks in.

Overrides:
isSkipCheckin in class AbstractSlingPostOperation


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.