|
||||||||||
| 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
The Constant 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 |
java.util.List<fr.paris.lutece.plugins.workflowcore.service.task.ITask> |
getListBelowTasks(fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
java.util.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 |
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.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 INotifyMyLuteceServicenIdEntryType - the id entry type
public boolean isEntryTypeAccepted(int nIdEntryType)
isEntryTypeAccepted in interface INotifyMyLuteceServicenIdEntryType - 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 INotifyMyLuteceServicenIdTask - the id tasklocale - the Locale
public java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
getListEntries in interface INotifyMyLuteceServicenIdTask - the id task
public java.lang.String getReceiver(TaskNotifyMyLuteceConfig config,
int nIdRecord,
int nIdDirectory)
getReceiver in interface INotifyMyLuteceServiceconfig - the confignIdRecord - the id recordnIdDirectory - the id directory
public java.util.List<fr.paris.lutece.plugins.workflowcore.service.task.ITask> getListBelowTasks(fr.paris.lutece.plugins.workflowcore.service.task.ITask task,
java.util.Locale locale)
getListBelowTasks in interface INotifyMyLuteceServicetask - the reference tasklocale - the locale
ITaskpublic fr.paris.lutece.util.ReferenceList getAvailableUsers(TaskNotifyMyLuteceConfig config)
getAvailableUsers in interface INotifyMyLuteceServiceconfig - the config
ReferenceListpublic fr.paris.lutece.util.ReferenceList getSelectedUsers(TaskNotifyMyLuteceConfig config)
getSelectedUsers in interface INotifyMyLuteceServiceconfig - 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 INotifyMyLuteceServiceconfig - 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 INotifyMyLuteceServicerequest - 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 | |||||||||