Interface IChangeStateTaskService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void doChangeState​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, int nIdResource, java.lang.String strResourceType, int nIdWorkflow, int newState)
      Change State
      fr.paris.lutece.util.ReferenceList getListStates​(int nIdAction)
      Get the list of states
      fr.paris.lutece.plugins.workflowcore.business.resource.ResourceWorkflow getResourceByHistory​(int nIdHistory, int nIdWorkflow)
      Load a resource by it History.
      ChangeStateTaskConfig loadConfig​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
      Load config of task.
    • 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

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

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

        void doChangeState​(fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
                           int nIdResource,
                           java.lang.String strResourceType,
                           int nIdWorkflow,
                           int newState)
        Change State
        Parameters:
        task -
        nIdResource -
        strResourceType -
        nIdWorkflow -
        newState -