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 DictionaryServiceprotected DispositionServiceprotected NamespaceServiceprotected RecordsManagementActionServiceprotected RecordsManagementAuditServiceprotected 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) voidsetDictionaryService(DictionaryService ddService) Sets the DictionaryService instancevoidsetDispositionService(DispositionService dispositionService) Sets the disposition servicevoidsetNamespaceService(NamespaceService namespaceService) Sets the NamespaceService instancevoidsetRecordsManagementActionService(RecordsManagementActionService rmActionService) Sets the RecordsManagementActionService instancevoidsetRecordsManagementAuditService(RecordsManagementAuditService rmAuditService) Sets the RecordsManagementAuditService instancevoidsetRecordsManagementEventService(RecordsManagementEventService rmEventService) Sets the RecordsManagementEventService instanceMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods 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:
executeImplin 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
-