Class SignOffService

    • Field Detail

      • env

        protected org.springframework.core.env.Environment env
      • dataExtractionService

        @Autowired
        protected com.activeviam.dee.pivot.ILocalDataExtractionService dataExtractionService
    • Constructor Detail

      • SignOffService

        public SignOffService​(org.springframework.core.env.Environment env)
    • Method Detail

      • export

        public Map<String,​String> export​(com.activeviam.signoff.core.model.dto.SignOffProcessInstanceExportDTO instance)
        Requests an export and returns a map of export type and task ID.
        Specified by:
        export in interface ISignOffService
        Parameters:
        instance - The sign-off instance for which the export is requested.
        Returns:
        A map of export type and task ID.
      • status

        public com.activeviam.signoff.core.model.dto.SignOffExportStatusDTO status​(Map<String,​String> tasks)
        Requests the status of the supplied export tasks.
        Specified by:
        status in interface ISignOffService
        Parameters:
        tasks - The map of export type and task ID.
        Returns:
        The status of the tasks.
      • kpis

        public Map<String,​com.activeviam.signoff.core.model.dto.KpiDTO> kpis​(com.activeviam.signoff.core.model.dto.SignOffProcessInstanceExportDTO completion)
        Requests KPI values for a sign-off process instance.
        Specified by:
        kpis in interface ISignOffService
        Parameters:
        completion - The sign-off process instance.
        Returns:
        The map of KPI name to value, goal and status.
      • members

        public Set<String> members​(String[] hierarchy)
        Requests the available members on the first level of a given cube and hierarchy name.
        Specified by:
        members in interface ISignOffService
        Parameters:
        hierarchy - The cube and hierarchy names, as a String array.
        Returns:
        The available members on the first level of the hierarchy.