Class FormCheckInWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
fr.becpg.repo.web.scripts.entity.FormCheckInWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript

public class FormCheckInWebScript extends org.springframework.extensions.webscripts.DeclarativeWebScript
The Class FormCheckInWebScript.
Version:
$Id: $Id
Author:
querephi
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.alfresco.service.cmr.coci.CheckOutCheckInService
     
     
    private static final org.apache.commons.logging.Log
    Constant logger
    private static final String
    Constant MODEL_KEY_NAME_NODEREF="noderef"
    private static final String
    Constant PARAM_BRANCH_TO_NODEREF="branchToNodeRef"
    private static final String
    Constant PARAM_DESCRIPTION="description"
    private static final String
    Constant PARAM_IMPACT_WUSED="impactWused"
    private static final String
    Constant PARAM_MAJOR_VERSION="majorVersion"
    private static final String
    Constant PARAM_NODEREF="nodeRef"
    private static final String
    Constant PARAM_RENAME_ON_MERGE="renameOnMerge"
    private static final String
    Constant VALUE_TRUE="true"
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
    void
    setCheckOutCheckInService(org.alfresco.service.cmr.coci.CheckOutCheckInService checkOutCheckInService)
    Setter for the field checkOutCheckInService.
    void
    Setter for the field entityVersionService.

    Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript

    execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate

    Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript

    addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • PARAM_NODEREF

      private static final String PARAM_NODEREF
      Constant PARAM_NODEREF="nodeRef"
      See Also:
    • PARAM_MAJOR_VERSION

      private static final String PARAM_MAJOR_VERSION
      Constant PARAM_MAJOR_VERSION="majorVersion"
      See Also:
    • PARAM_DESCRIPTION

      private static final String PARAM_DESCRIPTION
      Constant PARAM_DESCRIPTION="description"
      See Also:
    • MODEL_KEY_NAME_NODEREF

      private static final String MODEL_KEY_NAME_NODEREF
      Constant MODEL_KEY_NAME_NODEREF="noderef"
      See Also:
    • PARAM_BRANCH_TO_NODEREF

      private static final String PARAM_BRANCH_TO_NODEREF
      Constant PARAM_BRANCH_TO_NODEREF="branchToNodeRef"
      See Also:
    • PARAM_IMPACT_WUSED

      private static final String PARAM_IMPACT_WUSED
      Constant PARAM_IMPACT_WUSED="impactWused"
      See Also:
    • PARAM_RENAME_ON_MERGE

      private static final String PARAM_RENAME_ON_MERGE
      Constant PARAM_RENAME_ON_MERGE="renameOnMerge"
      See Also:
    • VALUE_TRUE

      private static final String VALUE_TRUE
      Constant VALUE_TRUE="true"
      See Also:
    • logger

      private static final org.apache.commons.logging.Log logger
      Constant logger
    • checkOutCheckInService

      private org.alfresco.service.cmr.coci.CheckOutCheckInService checkOutCheckInService
    • entityVersionService

      private EntityVersionService entityVersionService
  • Constructor Details

    • FormCheckInWebScript

      public FormCheckInWebScript()
  • Method Details

    • setEntityVersionService

      public void setEntityVersionService(EntityVersionService entityVersionService)

      Setter for the field entityVersionService.

      Parameters:
      entityVersionService - a EntityVersionService object.
    • setCheckOutCheckInService

      public void setCheckOutCheckInService(org.alfresco.service.cmr.coci.CheckOutCheckInService checkOutCheckInService)

      Setter for the field checkOutCheckInService.

      Parameters:
      checkOutCheckInService - a CheckOutCheckInService object.
    • executeImpl

      protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
      Overrides:
      executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript