View Javadoc
1   package fr.paris.lutece.plugins.workflowcore.business.action;
2   
3   import java.util.List;
4   
5   public interface IActionStateDAO {
6   
7   	/**
8        * Insert a new record in the table workflow_action_state_before.
9        *
10       * @param nIdAction
11       *            nIdAction of the Action object to insert
12       * @param listIdStateBefore
13       * 			list of the id state before
14       */
15      void insert( int nIdAction, List<Integer> listIdStateBefore );
16  
17      /**
18       * Load the the list of id stateBefore linked to an action
19       * 
20       * @param nIdAction
21       *            the state id
22       * @return the List of id state before
23       */
24      List<Integer> load( int nIdAction );
25      
26      /**
27       * Load the the list of id stateBefore linked to an action
28       * 
29       * @param nIdAction
30       *            the state id
31       * @return the List of id state before
32       */
33      List<String> load( String strUidAction );
34      
35      /**
36       * Delete the action Object
37       * 
38       * @param nIdAction
39       *            the action id
40       */
41       void delete( int nIdAction );
42  }