Class DocumentActionHome


  • public final class DocumentActionHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for DocumentAction objects
    • 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