Class AlertGruService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The Constant BEAN_SERVICE.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<fr.paris.lutece.util.mail.FileAttachment> getFilesAttachment​(AlertGruTaskConfig config, int nIdRecord, int nIdDirectory)
      The files Attachments to insert in the mail
      fr.paris.lutece.util.ReferenceList getListStates​(int nIdAction)
      Get the list of states
      java.util.Locale getLocale​(javax.servlet.http.HttpServletRequest request)
      Gets the locale.
      fr.paris.lutece.util.ReferenceList getMailingList​(javax.servlet.http.HttpServletRequest request)
      Get the mailing list
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The Constant BEAN_SERVICE.
        See Also:
        Constant Field Values
    • Method Detail

      • getMailingList

        public fr.paris.lutece.util.ReferenceList getMailingList​(javax.servlet.http.HttpServletRequest request)
        Get the mailing list
        Specified by:
        getMailingList in interface IAlertGruService
        Parameters:
        request - the HTTP request
        Returns:
        a ReferenceList
      • getListStates

        public fr.paris.lutece.util.ReferenceList getListStates​(int nIdAction)
        Get the list of states
        Specified by:
        getListStates in interface IAlertGruService
        Parameters:
        nIdAction - the id action
        Returns:
        a ReferenceList
      • getFilesAttachment

        public java.util.List<fr.paris.lutece.util.mail.FileAttachment> getFilesAttachment​(AlertGruTaskConfig config,
                                                                                           int nIdRecord,
                                                                                           int nIdDirectory)
        The files Attachments to insert in the mail
        Specified by:
        getFilesAttachment in interface IAlertGruService
        Parameters:
        config - the configuration
        nIdRecord - the record id
        nIdDirectory - the directory id
        Returns:
        the files Attachments to insert in the mail
      • getLocale

        public java.util.Locale getLocale​(javax.servlet.http.HttpServletRequest request)
        Gets the locale.
        Specified by:
        getLocale in interface IAlertGruService
        Parameters:
        request - the request
        Returns:
        the locale