Class DocumentActionHome


  • public final class DocumentActionHome
    extends 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 List<DocumentAction> getActionsList​(Document document,
                                                          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