Class HoldsGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.hold.HoldsGet
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class HoldsGet
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Implementation for Java backed webscript to return the list of holds in the hold container.
- Since:
- 2.2
- Author:
- Tuna Aksoy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl
(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) void
setFilePlanService
(FilePlanService filePlanService) Set the file plan servicevoid
setHoldService
(HoldService holdService) Set the hold servicevoid
setNodeService
(NodeService nodeService) Set the node servicevoid
setPermissionService
(PermissionService permissionService) Set the permission serviceMethods 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
-
Constructor Details
-
HoldsGet
public HoldsGet()
-
-
Method Details
-
setFilePlanService
Set the file plan service- Parameters:
filePlanService
- the file plan service
-
setNodeService
Set the node service- Parameters:
nodeService
- the node service
-
setHoldService
Set the hold service- Parameters:
holdService
- the hold service
-
setPermissionService
Set the permission service- Parameters:
permissionService
- the permission service
-
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 classorg.springframework.extensions.webscripts.DeclarativeWebScript
- See Also:
-
DeclarativeWebScript.executeImpl(org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.Status, org.springframework.extensions.webscripts.Cache)
-