Class AbstractWorkflowDefinitionDelegateService

    • Constructor Detail

      • AbstractWorkflowDefinitionDelegateService

        public AbstractWorkflowDefinitionDelegateService()
    • Method Detail

      • search

        public com.lexmark.saperion.search.SearchResultPage<WorkflowDefinitionListItemType> search​(com.lexmark.saperion.search.query.Statement statement,
                                                                                                   com.lexmark.saperion.search.PageDefinition pageDefinition)
                                                                                            throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: WorkflowDefinitionService
        This method returns a list of references for every workflow definition in the system accessible from the current tenant.
        Specified by:
        search in interface com.lexmark.saperion.search.SearchExecutionService<WorkflowDefinitionListItemType>
        Specified by:
        search in interface WorkflowDefinitionService
        Returns:
        a list of every workflow definition in the system accessible from the current tenant
        Throws:
        com.lexmark.saperion.exceptions.EcmException
      • getWorkflowDefinitionById

        public WorkflowDefinitionType getWorkflowDefinitionById​(WorkflowDefinitionReferenceType reference)
                                                         throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: WorkflowDefinitionService
        This method returns further information for a workflow process given by its reference.
        Specified by:
        getWorkflowDefinitionById in interface WorkflowDefinitionService
        Parameters:
        reference - the workflow definition reference in base64 encoded form of {"name":"xxx"}
        Returns:
        further information for a workflow process given by its reference
        Throws:
        com.lexmark.saperion.exceptions.EcmException
      • getInitialTransition

        public TransitionDefinitionType getInitialTransition​(WorkflowDefinitionReferenceType reference)
                                                      throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: WorkflowDefinitionService
        This method returns the initial transition definition for the referenced workflow. If the referenced workflow definition doesn't exist the method throws a ResourceNotFoundException. If the initial transition was not found the method returns null.
        Specified by:
        getInitialTransition in interface WorkflowDefinitionService
        Parameters:
        reference - the workflow definition reference in base64 encoded form of {"name":"xxx"}
        Returns:
        the initial transition of the referenced workflow or null if not present
        Throws:
        com.lexmark.saperion.exceptions.EcmException