Class DocumentActionHome
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.workflow.DocumentActionHome
-
public final class DocumentActionHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for DocumentAction objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentActionfindByPrimaryKey(int nIdAction)Load the Document Actionstatic java.util.List<DocumentAction>getActionsList(Document document, java.util.Locale locale)Returns the list of allowed actions for the current document
-
-
-
Method Detail
-
findByPrimaryKey
public static DocumentAction findByPrimaryKey(int nIdAction)
Load the Document Action- Parameters:
nIdAction- The identifier of the action- Returns:
- the instance of action
-
getActionsList
public static java.util.List<DocumentAction> getActionsList(Document document, java.util.Locale locale)
Returns the list of allowed actions for the current document- Parameters:
document- The documentlocale- The locale- Returns:
- A list of actions for the current document
-
-