Class ListOfValuesGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.ListOfValuesGet
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class ListOfValuesGet
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Implementation for Java backed webscript to return lists
of values for various records management services.
- Author:
- Gavin Cornwell
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DictionaryService
protected DispositionService
protected NamespaceService
protected RecordsManagementActionService
protected RecordsManagementAuditService
protected RecordsManagementEventService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAuditEventsModel
(String baseUrl) Creates the model for the list of audit events.createDispositionActionsModel
(String baseUrl) Creates the model for the list of disposition actions.createEventsModel
(String baseUrl) Creates the model for the list of events.createPeriodPropertiesModel
(String baseUrl) Creates the model for the list of period properties.createPeriodTypesModel
(String baseUrl) Creates the model for the list of period types.executeImpl
(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) void
setDictionaryService
(DictionaryService ddService) Sets the DictionaryService instancevoid
setDispositionService
(DispositionService dispositionService) Sets the disposition servicevoid
setNamespaceService
(NamespaceService namespaceService) Sets the NamespaceService instancevoid
setRecordsManagementActionService
(RecordsManagementActionService rmActionService) Sets the RecordsManagementActionService instancevoid
setRecordsManagementAuditService
(RecordsManagementAuditService rmAuditService) Sets the RecordsManagementAuditService instancevoid
setRecordsManagementEventService
(RecordsManagementEventService rmEventService) Sets the RecordsManagementEventService instanceMethods 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
-
Field Details
-
rmActionService
-
rmAuditService
-
rmEventService
-
dispositionService
-
ddService
-
namespaceService
-
-
Constructor Details
-
ListOfValuesGet
public ListOfValuesGet()
-
-
Method Details
-
setRecordsManagementActionService
Sets the RecordsManagementActionService instance- Parameters:
rmActionService
- The RecordsManagementActionService instance
-
setRecordsManagementAuditService
Sets the RecordsManagementAuditService instance- Parameters:
rmAuditService
- The RecordsManagementAuditService instance
-
setRecordsManagementEventService
Sets the RecordsManagementEventService instance- Parameters:
rmEventService
- The RecordsManagementEventService instance
-
setDispositionService
Sets the disposition service- Parameters:
dispositionService
- the disposition service
-
setDictionaryService
Sets the DictionaryService instance- Parameters:
ddService
- The DictionaryService instance
-
setNamespaceService
Sets the NamespaceService instance- Parameters:
namespaceService
- The NamespaceService instance
-
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
-
createDispositionActionsModel
Creates the model for the list of disposition actions.- Parameters:
baseUrl
- The base URL of the service- Returns:
- model of disposition actions list
-
createEventsModel
Creates the model for the list of events.- Parameters:
baseUrl
- The base URL of the service- Returns:
- model of events list
-
createPeriodTypesModel
Creates the model for the list of period types.- Parameters:
baseUrl
- The base URL of the service- Returns:
- model of period types list
-
createPeriodPropertiesModel
Creates the model for the list of period properties.- Parameters:
baseUrl
- The base URL of the service- Returns:
- model of period properties list
-
createAuditEventsModel
Creates the model for the list of audit events.- Parameters:
baseUrl
- The base URL of the service- Returns:
- model of audit events list
-