1 /** 2 * 3 */ 4 package fr.paris.lutece.plugins.document.business.workflow; 5 6 import fr.paris.lutece.plugins.document.business.Document; 7 8 import java.util.List; 9 10 11 /** 12 * This class porvides Data Access methods for DocumentActionDAO interface 13 */ 14 public interface IDocumentActionDAO 15 { 16 /** 17 * Load the data of Document Action from the table 18 * @param nIdAction The identifier of the action 19 * @return the instance of action 20 */ 21 DocumentAction load( int nIdAction ); 22 23 /** 24 * Load the list of actions for a document 25 * 26 * @return The Collection of actions 27 * @param document The document to add available actions 28 */ 29 List<DocumentAction> selectActions( Document document ); 30 }