fr.paris.lutece.plugins.document.business.workflow
Class DocumentActionHome

java.lang.Object
  extended by fr.paris.lutece.plugins.document.business.workflow.DocumentActionHome

public final class DocumentActionHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for DocumentAction objects


Method Summary
static DocumentAction findByPrimaryKey(int nIdAction)
          Load the Document Action
static java.util.List<DocumentAction> getActionsList(Document document, java.util.Locale locale)
          Returns the list of allowed actions for the current document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 document
locale - The locale
Returns:
A list of actions for the current document


Copyright © 2009 Mairie de Paris. All Rights Reserved.