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
FieldsModifier and TypeFieldDescriptionprivate org.alfresco.service.cmr.repository.NodeServiceprivate PaginatedSearchCacheprivate static final StringConstantPARAM_ALLPAGES="allPages"private static final StringConstantPARAM_BRANCH="branch"private static final StringConstantPARAM_DATALISTITEMS="dataListItems"private static final StringConstantPARAM_DEST_NODEREF="destNodeRef"private static final StringConstantPARAM_ENTITY_NODEREF="entityNodeRef"private static final StringConstantPARAM_MODE="mode"private static final StringConstantPARAM_NODEREFS="nodeRefs"private static final StringConstantPARAM_QUERY_EXECUTION_ID="queryExecutionId"private EntitySimulationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the fieldnodeService.voidsetPaginatedSearchCache(PaginatedSearchCache paginatedSearchCache) Setter for the fieldpaginatedSearchCache.voidsetSimulationService(EntitySimulationService simulationService) Setter for the fieldsimulationService.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
-
Field Details
-
PARAM_ENTITY_NODEREF
ConstantPARAM_ENTITY_NODEREF="entityNodeRef"- See Also:
-
PARAM_DATALISTITEMS
ConstantPARAM_DATALISTITEMS="dataListItems"- See Also:
-
PARAM_ALLPAGES
ConstantPARAM_ALLPAGES="allPages"- See Also:
-
PARAM_QUERY_EXECUTION_ID
ConstantPARAM_QUERY_EXECUTION_ID="queryExecutionId"- See Also:
-
PARAM_NODEREFS
ConstantPARAM_NODEREFS="nodeRefs"- See Also:
-
PARAM_MODE
ConstantPARAM_MODE="mode"- See Also:
-
PARAM_DEST_NODEREF
ConstantPARAM_DEST_NODEREF="destNodeRef"- See Also:
-
PARAM_BRANCH
ConstantPARAM_BRANCH="branch"- See Also:
-
nodeService
private org.alfresco.service.cmr.repository.NodeService nodeService -
simulationService
-
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- aNodeServiceobject.
-
setSimulationService
Setter for the field
simulationService.- Parameters:
simulationService- aEntitySimulationServiceobject.
-
setPaginatedSearchCache
Setter for the field
paginatedSearchCache.- Parameters:
paginatedSearchCache- aPaginatedSearchCacheobject.
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException - Throws:
IOException
-