| Constructor and Description |
|---|
BaseHold() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected List<org.alfresco.service.cmr.repository.NodeRef> |
getHolds(org.json.JSONObject json)
Helper method to get the list of
NodeRef(s) for the hold(s) which will contain the item (record / record folder) |
protected HoldService |
getHoldService()
Returns the hold service
|
protected List<org.alfresco.service.cmr.repository.NodeRef> |
getItemNodeRefs(org.json.JSONObject json)
Helper method to get the
NodeRefs for the items(s) (record(s) / record folder(s)) which will be added to the hold(s) |
protected org.json.JSONObject |
getJSONFromContent(org.springframework.extensions.webscripts.WebScriptRequest req)
Helper method the get the json object from the request
|
void |
setHoldService(HoldService holdService)
Set the hold service
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRecordFolderService(RecordFolderService recordFolderService) |
void |
setRecordService(RecordService recordService) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringpublic void setHoldService(HoldService holdService)
holdService - the hold servicepublic void setRecordFolderService(RecordFolderService recordFolderService)
recordFolderService - record folder servicepublic void setRecordService(RecordService recordService)
recordService - record servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - node serviceprotected HoldService getHoldService()
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScriptDeclarativeWebScript.executeImpl(org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.Status, org.springframework.extensions.webscripts.Cache)protected org.json.JSONObject getJSONFromContent(org.springframework.extensions.webscripts.WebScriptRequest req)
req - The webscript requestprotected List<org.alfresco.service.cmr.repository.NodeRef> getItemNodeRefs(org.json.JSONObject json)
NodeRefs for the items(s) (record(s) / record folder(s)) which will be added to the hold(s)json - The request content as JSON objectNodeRefs which will be added to the hold(s)protected List<org.alfresco.service.cmr.repository.NodeRef> getHolds(org.json.JSONObject json)
NodeRef(s) for the hold(s) which will contain the item (record / record folder)json - The request content as JSON objectNodeRef(s) of the hold(s)Copyright © 2005–2018 Alfresco Software. All rights reserved.