Package fr.becpg.repo.web.scripts.entity
Class EntityTplWebScript
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
fr.becpg.repo.web.scripts.entity.EntityTplWebScript
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class EntityTplWebScript
extends org.springframework.extensions.webscripts.AbstractWebScript
EntityTplWebScript class.
- 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
FieldsModifier and TypeFieldDescriptionprivate static final StringConstantACTION_DATALIST_RECURSIVE_DELETE="datalistRecursiveDelete"private static final StringConstantACTION_FORMULATION_ENTITIES="formulateEntities"private static final StringConstantACTION_SYNCHRONIZE_ENTITIES="synchronizeEntities"private EntityTplServiceprivate static final org.apache.commons.logging.LogConstantloggerprivate org.alfresco.service.cmr.repository.NodeServiceprivate static final StringConstantPARAM_ACTION="action"private static final StringConstantPARAM_DATALIST="datalist"private static final StringConstantPARAM_ID="id"private static final StringConstantPARAM_STORE_ID="store_id"private static final StringConstantPARAM_STORE_TYPE="store_type" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) voidsetEntityTplService(EntityTplService entityTplService) Setter for the fieldentityTplService.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the fieldnodeService.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
-
logger
private static final org.apache.commons.logging.Log loggerConstantlogger -
ACTION_SYNCHRONIZE_ENTITIES
ConstantACTION_SYNCHRONIZE_ENTITIES="synchronizeEntities"- See Also:
-
ACTION_FORMULATION_ENTITIES
ConstantACTION_FORMULATION_ENTITIES="formulateEntities"- See Also:
-
ACTION_DATALIST_RECURSIVE_DELETE
ConstantACTION_DATALIST_RECURSIVE_DELETE="datalistRecursiveDelete"- See Also:
-
PARAM_DATALIST
ConstantPARAM_DATALIST="datalist"- See Also:
-
PARAM_ACTION
ConstantPARAM_ACTION="action"- See Also:
-
PARAM_STORE_TYPE
ConstantPARAM_STORE_TYPE="store_type"- See Also:
-
PARAM_STORE_ID
ConstantPARAM_STORE_ID="store_id"- See Also:
-
PARAM_ID
ConstantPARAM_ID="id"- See Also:
-
nodeService
private org.alfresco.service.cmr.repository.NodeService nodeService -
entityTplService
-
-
Constructor Details
-
EntityTplWebScript
public EntityTplWebScript()
-
-
Method Details
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) Setter for the field
nodeService.- Parameters:
nodeService- aNodeServiceobject.
-
setEntityTplService
Setter for the field
entityTplService.- Parameters:
entityTplService- aEntityTplServiceobject.
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws org.springframework.extensions.webscripts.WebScriptException - Throws:
org.springframework.extensions.webscripts.WebScriptException
-