Class AbstractRmWebScript
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
- Direct Known Subclasses:
BaseCustomPropertyWebScript
,CustomPropertyDefinitionDelete
,CustomRefDelete
,CustomReferenceDefinitionBase
,CustomRefPost
,CustomRefsGet
,DispositionAbstractBase
,RecordedVersionConfigGet
,RecordedVersionConfigPost
,RelationshipDelete
,RelationshipLabelsGet
,RelationshipsGet
public abstract class AbstractRmWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Abstract base class for all RM webscript classes.
Includes utility methods for processing the webscript request.
- Author:
- Neil McErlean, Tuna Aksoy, Gavin Cornwell
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DispositionService
Gets the disposition service instanceprotected NamespaceService
Gets the namespace service instanceprotected NodeService
Gets the node service instanceprotected NodeRef
parseRequestForNodeRef
(org.springframework.extensions.webscripts.WebScriptRequest req) Parses the request and providing it's valid returns the NodeRef.void
setDispositionService
(DispositionService dispositionService) Sets the disposition service instancevoid
setNamespaceService
(NamespaceService namespaceService) Sets the namespace service instancevoid
setNodeService
(NodeService nodeService) Sets the node service instanceMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, 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
-
Field Details
-
PATH_SEPARATOR
Constants- See Also:
-
STORE_TYPE
- See Also:
-
STORE_ID
- See Also:
-
ID
- See Also:
-
SUCCESS
- See Also:
-
INVERT
- See Also:
-
-
Constructor Details
-
AbstractRmWebScript
public AbstractRmWebScript()
-
-
Method Details
-
getDispositionService
Gets the disposition service instance- Returns:
- The disposition service instance
-
setDispositionService
Sets the disposition service instance- Parameters:
dispositionService
- The disposition service instance
-
getNamespaceService
Gets the namespace service instance- Returns:
- The namespace service instance
-
setNamespaceService
Sets the namespace service instance- Parameters:
namespaceService
- The namespace service instance
-
getNodeService
Gets the node service instance- Returns:
- The node service instance
-
setNodeService
Sets the node service instance- Parameters:
nodeService
- The node service instance
-
parseRequestForNodeRef
protected NodeRef parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req) Parses the request and providing it's valid returns the NodeRef.- Parameters:
req
- The webscript request- Returns:
- The NodeRef passed in the request
-