Class CompareEntityDataSourceWebScript

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

public class CompareEntityDataSourceWebScript extends org.springframework.extensions.webscripts.AbstractWebScript
The Class CompareEntityDataSourceWebscript.
Version:
$Id: $Id
Author:
querephi, matthieu, kevin
  • 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 static final org.apache.commons.logging.Log
    Constant logger
    private static final int
    Constant MAX_ENTITIES=10
    private org.alfresco.service.cmr.repository.NodeService
     
    private static final String
    Constant PARAM_ENTITIES="entities"
    private static final String
    Constant PARAM_ENTITY="entity"
    private static final String
    Constant PARAM_ID="id"
    private static final String
    Constant PARAM_STORE_ID="store_id"
    private static final String
    Constant PARAM_STORE_TYPE="store_type"
    private static final String
    Constant PARAM_VERSION_LABEL="versionLabel"
    private org.alfresco.service.cmr.version.VersionService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
    void
    Setter for the field compareEntityReportService.
    void
    Setter for the field entityVersionService.
    void
    setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
    Setter for the field nodeService.
    void
    setVersionService(org.alfresco.service.cmr.version.VersionService versionService)
    Setter for the field versionService.

    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

    • MAX_ENTITIES

      private static final int MAX_ENTITIES
      Constant MAX_ENTITIES=10
      See Also:
    • PARAM_ENTITY

      private static final String PARAM_ENTITY
      Constant PARAM_ENTITY="entity"
      See Also:
    • PARAM_STORE_TYPE

      private static final String PARAM_STORE_TYPE
      Constant PARAM_STORE_TYPE="store_type"
      See Also:
    • PARAM_STORE_ID

      private static final String PARAM_STORE_ID
      Constant PARAM_STORE_ID="store_id"
      See Also:
    • PARAM_ID

      private static final String PARAM_ID
      Constant PARAM_ID="id"
      See Also:
    • PARAM_ENTITIES

      private static final String PARAM_ENTITIES
      Constant PARAM_ENTITIES="entities"
      See Also:
    • PARAM_VERSION_LABEL

      private static final String PARAM_VERSION_LABEL
      Constant PARAM_VERSION_LABEL="versionLabel"
      See Also:
    • logger

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

      @Autowired private CompareEntityReportService compareEntityReportService
    • versionService

      @Autowired private org.alfresco.service.cmr.version.VersionService versionService
    • entityVersionService

      @Autowired private EntityVersionService entityVersionService
    • nodeService

      @Autowired private org.alfresco.service.cmr.repository.NodeService nodeService
  • Constructor Details

    • CompareEntityDataSourceWebScript

      public CompareEntityDataSourceWebScript()
  • Method Details

    • setCompareEntityReportService

      public void setCompareEntityReportService(CompareEntityReportService compareEntityReportService)

      Setter for the field compareEntityReportService.

      Parameters:
      compareEntityReportService - a CompareEntityReportService object.
    • setVersionService

      public void setVersionService(org.alfresco.service.cmr.version.VersionService versionService)

      Setter for the field versionService.

      Parameters:
      versionService - a VersionService object.
    • setEntityVersionService

      public void setEntityVersionService(EntityVersionService entityVersionService)

      Setter for the field entityVersionService.

      Parameters:
      entityVersionService - a EntityVersionService object.
    • setNodeService

      public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

      Setter for the field nodeService.

      Parameters:
      nodeService - a NodeService object
    • execute

      public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
      Throws:
      IOException