Class DocumentActionHome
java.lang.Object
fr.paris.lutece.plugins.document.business.workflow.DocumentActionHome
This class provides instances management methods (create, find, ...) for DocumentAction objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentActionfindByPrimaryKey(int nIdAction) Load the Document Actionstatic List<DocumentAction>getActionsList(Document document, Locale locale) Returns the list of allowed actions for the current document
-
Method Details
-
findByPrimaryKey
Load the Document Action- Parameters:
nIdAction- The identifier of the action- Returns:
- the instance of action
-
getActionsList
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
-