Class SimulationWebScript

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

public class SimulationWebScript extends org.springframework.extensions.webscripts.AbstractWebScript

SimulationWebScript class.

Version:
$Id: $Id
Author:
matthieu
  • 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.repository.NodeService
     
     
    private static final String
    Constant PARAM_ALLPAGES="allPages"
    private static final String
    Constant PARAM_BRANCH="branch"
    private static final String
    Constant PARAM_DATALISTITEMS="dataListItems"
    private static final String
    Constant PARAM_DEST_NODEREF="destNodeRef"
    private static final String
    Constant PARAM_ENTITY_NODEREF="entityNodeRef"
    private static final String
    Constant PARAM_MODE="mode"
    private static final String
    Constant PARAM_NODEREFS="nodeRefs"
    private static final String
    Constant PARAM_QUERY_EXECUTION_ID="queryExecutionId"
     
  • 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
    setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
    Setter for the field nodeService.
    void
    Setter for the field paginatedSearchCache.
    void
    Setter for the field simulationService.

    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_ENTITY_NODEREF

      private static final String PARAM_ENTITY_NODEREF
      Constant PARAM_ENTITY_NODEREF="entityNodeRef"
      See Also:
    • PARAM_DATALISTITEMS

      private static final String PARAM_DATALISTITEMS
      Constant PARAM_DATALISTITEMS="dataListItems"
      See Also:
    • PARAM_ALLPAGES

      private static final String PARAM_ALLPAGES
      Constant PARAM_ALLPAGES="allPages"
      See Also:
    • PARAM_QUERY_EXECUTION_ID

      private static final String PARAM_QUERY_EXECUTION_ID
      Constant PARAM_QUERY_EXECUTION_ID="queryExecutionId"
      See Also:
    • PARAM_NODEREFS

      private static final String PARAM_NODEREFS
      Constant PARAM_NODEREFS="nodeRefs"
      See Also:
    • PARAM_MODE

      private static final String PARAM_MODE
      Constant PARAM_MODE="mode"
      See Also:
    • PARAM_DEST_NODEREF

      private static final String PARAM_DEST_NODEREF
      Constant PARAM_DEST_NODEREF="destNodeRef"
      See Also:
    • PARAM_BRANCH

      private static final String PARAM_BRANCH
      Constant PARAM_BRANCH="branch"
      See Also:
    • nodeService

      private org.alfresco.service.cmr.repository.NodeService nodeService
    • simulationService

      private EntitySimulationService simulationService
    • paginatedSearchCache

      private PaginatedSearchCache paginatedSearchCache
  • Constructor Details

    • SimulationWebScript

      public SimulationWebScript()
  • Method Details

    • setNodeService

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

      Setter for the field nodeService.

      Parameters:
      nodeService - a NodeService object.
    • setSimulationService

      public void setSimulationService(EntitySimulationService simulationService)

      Setter for the field simulationService.

      Parameters:
      simulationService - a EntitySimulationService object.
    • setPaginatedSearchCache

      public void setPaginatedSearchCache(PaginatedSearchCache paginatedSearchCache)

      Setter for the field paginatedSearchCache.

      Parameters:
      paginatedSearchCache - a PaginatedSearchCache object.
    • execute

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