Interface IChooseStateTaskService

  • All Known Implementing Classes:
    ChooseStateTaskService

    public interface IChooseStateTaskService
    Service for IChooseStateTask
    • Method Detail

      • getListStates

        fr.paris.lutece.util.ReferenceList getListStates​(int nIdAction)
        Get the list of states
        Parameters:
        nIdAction - the id action
        Returns:
        a ReferenceList
      • loadConfig

        ChooseStateTaskConfig loadConfig​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
        Load config of task.
        Parameters:
        task -
        Returns:
      • chooseNewState

        void chooseNewState​(int nIdResource,
                            String strResourceType,
                            fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                            ChooseStateTaskConfig config,
                            int nIdWorkflow,
                            int oldState)
        Change the state of the given resource if the control is satisfied.
        Parameters:
        nIdResource -
        strResourceType -
        task -
        config -
        nIdWorkflow -
        oldState -
      • getResourceByHistory

        fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow getResourceByHistory​(int nIdHistory,
                                                                                                     int nIdWorkflow)
        Load a resource by it History.
        Parameters:
        nIdHistory -
        nIdWorkflow -
        Returns: