Class AlertGruService
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.service.AlertGruService
- All Implemented Interfaces:
IAlertGruService
@ApplicationScoped
@Named("workflow-alertgru.alertGruService")
public class AlertGruService
extends Object
implements IAlertGruService
AlertGruService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionList<fr.paris.lutece.util.mail.FileAttachment>getFilesAttachment(AlertGruTaskConfig config, int nIdRecord, int nIdDirectory) The files Attachments to insert in the mailfr.paris.lutece.util.ReferenceListgetListStates(int nIdAction) Get the list of statesgetLocale(jakarta.servlet.http.HttpServletRequest request) Gets the locale.fr.paris.lutece.util.ReferenceListgetMailingList(jakarta.servlet.http.HttpServletRequest request) Get the mailing list
-
Field Details
-
BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
-
-
Method Details
-
getMailingList
public fr.paris.lutece.util.ReferenceList getMailingList(jakarta.servlet.http.HttpServletRequest request) Get the mailing list- Specified by:
getMailingListin interfaceIAlertGruService- 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:
getListStatesin interfaceIAlertGruService- Parameters:
nIdAction- the id action- Returns:
- a ReferenceList
-
getFilesAttachment
public List<fr.paris.lutece.util.mail.FileAttachment> getFilesAttachment(AlertGruTaskConfig config, int nIdRecord, int nIdDirectory) The files Attachments to insert in the mail- Specified by:
getFilesAttachmentin interfaceIAlertGruService- Parameters:
config- the configurationnIdRecord- the record idnIdDirectory- the directory id- Returns:
- the files Attachments to insert in the mail
-
getLocale
Gets the locale.- Specified by:
getLocalein interfaceIAlertGruService- Parameters:
request- the request- Returns:
- the locale
-