|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.workflow.modules.notifycrm.service.NotifyCRMService
public final class NotifyCRMService
NotifyCRMService
| Field Summary | |
|---|---|
static java.lang.String |
BEAN_SERVICE
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
fillModel(TaskNotifyCRMConfig config,
fr.paris.lutece.plugins.directory.business.Record record,
fr.paris.lutece.plugins.directory.business.Directory directory,
javax.servlet.http.HttpServletRequest request,
int nIdAction,
int nIdHistory)
Fill the model for the notification message |
java.lang.String |
getIdDemand(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
Get the id demand |
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 from a given id task |
java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> |
getListEntriesFreemarker(int nIdTask)
Get the list of entries that have not the refused type (which are defined in the workflow-notifycrm.properties). |
fr.paris.lutece.util.ReferenceList |
getListEntriesIdDemand(int nIdTask,
java.util.Locale locale)
Get the list of entries that have the accepted type (which are defined in workflow-notifycrm.properties) |
fr.paris.lutece.util.ReferenceList |
getListEntriesUserGuid(int nIdTask,
java.util.Locale locale)
Get the list of entries that have the accepted type (which are defined in workflow-notifycrm.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 |
getUserGuid(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
Get the user guid |
boolean |
isEntryTypeIdDemandAccepted(int nIdEntryType)
Check if the given entry type id is accepted for the id demand |
boolean |
isEntryTypeRefused(int nIdEntryType)
Check if the given entry type id is refused |
boolean |
isEntryTypeUserGuidAccepted(int nIdEntryType)
Check if the given entry type id is accepted for the user guid |
| 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 INotifyCRMServicenIdEntryType - the id entry type
public boolean isEntryTypeIdDemandAccepted(int nIdEntryType)
isEntryTypeIdDemandAccepted in interface INotifyCRMServicenIdEntryType - the id entry type
public boolean isEntryTypeUserGuidAccepted(int nIdEntryType)
isEntryTypeUserGuidAccepted in interface INotifyCRMServicenIdEntryType - the id entry type
public fr.paris.lutece.util.ReferenceList getListDirectories()
getListDirectories in interface INotifyCRMServicepublic java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
getListEntries in interface INotifyCRMServicenIdTask - the id task
public fr.paris.lutece.util.ReferenceList getListEntriesIdDemand(int nIdTask,
java.util.Locale locale)
getListEntriesIdDemand in interface INotifyCRMServicenIdTask - the id tasklocale - the Locale
public fr.paris.lutece.util.ReferenceList getListEntriesUserGuid(int nIdTask,
java.util.Locale locale)
getListEntriesUserGuid in interface INotifyCRMServicenIdTask - the id tasklocale - the Locale
public java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntriesFreemarker(int nIdTask)
getListEntriesFreemarker in interface INotifyCRMServicenIdTask - the id task
IEntry
public java.lang.String getIdDemand(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
getIdDemand in interface INotifyCRMServiceconfig - the confignIdRecord - the id recordnIdDirectory - the id directory
public java.lang.String getUserGuid(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
getUserGuid in interface INotifyCRMServiceconfig - 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 INotifyCRMServicenIdAction - the id actionlocale - the locale
ITask
public java.util.Map<java.lang.String,java.lang.Object> fillModel(TaskNotifyCRMConfig config,
fr.paris.lutece.plugins.directory.business.Record record,
fr.paris.lutece.plugins.directory.business.Directory directory,
javax.servlet.http.HttpServletRequest request,
int nIdAction,
int nIdHistory)
fillModel in interface INotifyCRMServiceconfig - the configrecord - the recorddirectory - the directoryrequest - the HTTP requestnIdAction - the id actionnIdHistory - the id history
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||