public final class NotifyMyLuteceService extends Object implements INotifyMyLuteceService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
fillModel(TaskNotifyMyLuteceConfig config,
fr.paris.lutece.plugins.directory.business.Record record,
fr.paris.lutece.plugins.directory.business.Directory directory,
String strReceiver,
javax.servlet.http.HttpServletRequest request,
int nIdAction,
int nIdHistory)
Fill the model for the notification message
|
fr.paris.lutece.util.ReferenceList |
getAvailableUsers(TaskNotifyMyLuteceConfig config)
Get the list of available users
|
List<fr.paris.lutece.plugins.workflowcore.service.task.ITask> |
getListBelowTasks(fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
Locale locale)
Get the list of tasks that have an order below the given reference task and that
have a ITaskProvider .
|
fr.paris.lutece.util.ReferenceList |
getListDirectories()
Get the list of directorise
|
List<fr.paris.lutece.plugins.directory.business.IEntry> |
getListEntries(int nIdTask)
Get the list of entries that have not the refused type (which are defined in the workflow-notifymylutece.properties)
|
fr.paris.lutece.util.ReferenceList |
getListEntries(int nIdTask,
Locale locale)
Get the list of entries that have the accepted type (which are defined in workflow-notifymylutece.properties)
|
String |
getReceiver(TaskNotifyMyLuteceConfig config,
int nIdRecord,
int nIdDirectory)
Get the receiver
|
fr.paris.lutece.util.ReferenceList |
getSelectedUsers(TaskNotifyMyLuteceConfig config)
Get the list of selected users
|
boolean |
isEntryTypeAccepted(int nIdEntryType)
Check if the given entry type id is accepted
|
boolean |
isEntryTypeRefused(int nIdEntryType)
Check if the given entry type id is refused
|
void |
sendMessage(javax.servlet.http.HttpServletRequest request,
int nIdResourceHistory,
Locale locale,
fr.paris.lutece.plugins.directory.business.Record record,
fr.paris.lutece.plugins.directory.business.Directory directory,
TaskNotifyMyLuteceConfig config,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Send the message
|
public static final String BEAN_SERVICE
public boolean isEntryTypeRefused(int nIdEntryType)
isEntryTypeRefused in interface INotifyMyLuteceServicenIdEntryType - the id entry typepublic boolean isEntryTypeAccepted(int nIdEntryType)
isEntryTypeAccepted in interface INotifyMyLuteceServicenIdEntryType - the id entry typepublic fr.paris.lutece.util.ReferenceList getListDirectories()
getListDirectories in interface INotifyMyLuteceServicepublic fr.paris.lutece.util.ReferenceList getListEntries(int nIdTask,
Locale locale)
getListEntries in interface INotifyMyLuteceServicenIdTask - the id tasklocale - the Localepublic List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
getListEntries in interface INotifyMyLuteceServicenIdTask - the id taskpublic String getReceiver(TaskNotifyMyLuteceConfig config, int nIdRecord, int nIdDirectory)
getReceiver in interface INotifyMyLuteceServiceconfig - the confignIdRecord - the id recordnIdDirectory - the id directorypublic List<fr.paris.lutece.plugins.workflowcore.service.task.ITask> getListBelowTasks(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, Locale locale)
getListBelowTasks in interface INotifyMyLuteceServicetask - the reference tasklocale - the localeITaskpublic fr.paris.lutece.util.ReferenceList getAvailableUsers(TaskNotifyMyLuteceConfig config)
getAvailableUsers in interface INotifyMyLuteceServiceconfig - the configReferenceListpublic fr.paris.lutece.util.ReferenceList getSelectedUsers(TaskNotifyMyLuteceConfig config)
getSelectedUsers in interface INotifyMyLuteceServiceconfig - the configReferenceListpublic Map<String,Object> fillModel(TaskNotifyMyLuteceConfig config, fr.paris.lutece.plugins.directory.business.Record record, fr.paris.lutece.plugins.directory.business.Directory directory, String strReceiver, javax.servlet.http.HttpServletRequest request, int nIdAction, int nIdHistory)
fillModel in interface INotifyMyLuteceServiceconfig - the configrecord - the recorddirectory - the directorystrReceiver - the user guid of the receiverrequest - the HTTP requsetnIdAction - the id actionnIdHistory - the id historypublic void sendMessage(javax.servlet.http.HttpServletRequest request,
int nIdResourceHistory,
Locale locale,
fr.paris.lutece.plugins.directory.business.Record record,
fr.paris.lutece.plugins.directory.business.Directory directory,
TaskNotifyMyLuteceConfig config,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
sendMessage in interface INotifyMyLuteceServicerequest - the HTTP requestnIdResourceHistory - the id resource historylocale - the localerecord - the recorddirectory - the directoryconfig - the configtask - the taskCopyright © 2016 City of Paris. All rights reserved.