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
-
-
Constructor Summary
Constructors Constructor Description HoldsGet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
executeImpl(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 service-
Methods 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
-
-
-
-
Method Detail
-
setFilePlanService
public void setFilePlanService(FilePlanService filePlanService)
Set the file plan service- Parameters:
filePlanService
- the file plan service
-
setNodeService
public void setNodeService(NodeService nodeService)
Set the node service- Parameters:
nodeService
- the node service
-
setHoldService
public void setHoldService(HoldService holdService)
Set the hold service- Parameters:
holdService
- the hold service
-
setPermissionService
public void setPermissionService(PermissionService permissionService)
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)
-
-