|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.workflow.modules.notifymylutece.service.NotifyMyLuteceService
public final class NotifyMyLuteceService
NotifyMyLuteceService
Field Summary | |
---|---|
static java.lang.String |
BEAN_SERVICE
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
fillModel(TaskNotifyMyLuteceConfig config,
fr.paris.lutece.plugins.directory.business.Record record,
fr.paris.lutece.plugins.directory.business.Directory directory,
java.lang.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 |
fr.paris.lutece.util.ReferenceList |
getListDirectories()
Get the list of directorise |
java.util.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,
java.util.Locale locale)
Get the list of entries that have the accepted type (which are defined in workflow-notifymylutece.properties) |
java.util.List<fr.paris.lutece.plugins.workflowcore.service.task.ITask> |
getListTasks(int nIdAction,
java.util.Locale locale)
Get the list of tasks |
java.lang.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,
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BEAN_SERVICE
Method Detail |
---|
public boolean isEntryTypeRefused(int nIdEntryType)
isEntryTypeRefused
in interface INotifyMyLuteceService
nIdEntryType
- the id entry type
public boolean isEntryTypeAccepted(int nIdEntryType)
isEntryTypeAccepted
in interface INotifyMyLuteceService
nIdEntryType
- the id entry type
public fr.paris.lutece.util.ReferenceList getListDirectories()
getListDirectories
in interface INotifyMyLuteceService
public fr.paris.lutece.util.ReferenceList getListEntries(int nIdTask, java.util.Locale locale)
getListEntries
in interface INotifyMyLuteceService
nIdTask
- the id tasklocale
- the Locale
public java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
getListEntries
in interface INotifyMyLuteceService
nIdTask
- the id task
public java.lang.String getReceiver(TaskNotifyMyLuteceConfig config, int nIdRecord, int nIdDirectory)
getReceiver
in interface INotifyMyLuteceService
config
- the confignIdRecord
- the id recordnIdDirectory
- the id directory
public java.util.List<fr.paris.lutece.plugins.workflowcore.service.task.ITask> getListTasks(int nIdAction, java.util.Locale locale)
getListTasks
in interface INotifyMyLuteceService
nIdAction
- the id actionlocale
- the locale
ITask
public fr.paris.lutece.util.ReferenceList getAvailableUsers(TaskNotifyMyLuteceConfig config)
getAvailableUsers
in interface INotifyMyLuteceService
config
- the config
ReferenceList
public fr.paris.lutece.util.ReferenceList getSelectedUsers(TaskNotifyMyLuteceConfig config)
getSelectedUsers
in interface INotifyMyLuteceService
config
- the config
ReferenceList
public java.util.Map<java.lang.String,java.lang.Object> fillModel(TaskNotifyMyLuteceConfig config, fr.paris.lutece.plugins.directory.business.Record record, fr.paris.lutece.plugins.directory.business.Directory directory, java.lang.String strReceiver, javax.servlet.http.HttpServletRequest request, int nIdAction, int nIdHistory)
fillModel
in interface INotifyMyLuteceService
config
- the configrecord
- the recorddirectory
- the directorystrReceiver
- the user guid of the receiverrequest
- the HTTP requsetnIdAction
- the id actionnIdHistory
- the id history
public void sendMessage(javax.servlet.http.HttpServletRequest request, int nIdResourceHistory, java.util.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 INotifyMyLuteceService
request
- the HTTP requestnIdResourceHistory
- the id resource historylocale
- the localerecord
- the recorddirectory
- the directoryconfig
- the configtask
- the task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |