Class 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
    • Constructor Detail

      • ListOfValuesGet

        public ListOfValuesGet()
    • Method Detail

      • setRecordsManagementActionService

        public void setRecordsManagementActionService​(RecordsManagementActionService rmActionService)
        Sets the RecordsManagementActionService instance
        Parameters:
        rmActionService - The RecordsManagementActionService instance
      • setRecordsManagementAuditService

        public void setRecordsManagementAuditService​(RecordsManagementAuditService rmAuditService)
        Sets the RecordsManagementAuditService instance
        Parameters:
        rmAuditService - The RecordsManagementAuditService instance
      • setRecordsManagementEventService

        public void setRecordsManagementEventService​(RecordsManagementEventService rmEventService)
        Sets the RecordsManagementEventService instance
        Parameters:
        rmEventService - The RecordsManagementEventService instance
      • setDispositionService

        public void setDispositionService​(DispositionService dispositionService)
        Sets the disposition service
        Parameters:
        dispositionService - the disposition service
      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService ddService)
        Sets the DictionaryService instance
        Parameters:
        ddService - The DictionaryService instance
      • setNamespaceService

        public void setNamespaceService​(org.alfresco.service.namespace.NamespaceService namespaceService)
        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 class org.springframework.extensions.webscripts.DeclarativeWebScript
      • createDispositionActionsModel

        protected Map<String,​Object> createDispositionActionsModel​(String baseUrl)
        Creates the model for the list of disposition actions.
        Parameters:
        baseUrl - The base URL of the service
        Returns:
        model of disposition actions list
      • createEventsModel

        protected Map<String,​Object> createEventsModel​(String baseUrl)
        Creates the model for the list of events.
        Parameters:
        baseUrl - The base URL of the service
        Returns:
        model of events list
      • createPeriodTypesModel

        protected Map<String,​Object> createPeriodTypesModel​(String baseUrl)
        Creates the model for the list of period types.
        Parameters:
        baseUrl - The base URL of the service
        Returns:
        model of period types list
      • createPeriodPropertiesModel

        protected Map<String,​Object> createPeriodPropertiesModel​(String baseUrl)
        Creates the model for the list of period properties.
        Parameters:
        baseUrl - The base URL of the service
        Returns:
        model of period properties list
      • createAuditEventsModel

        protected Map<String,​Object> createAuditEventsModel​(String baseUrl)
        Creates the model for the list of audit events.
        Parameters:
        baseUrl - The base URL of the service
        Returns:
        model of audit events list