public interface INotifyCRMService
| Modifier and Type | Method and Description |
|---|---|
Map<String,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
|
String |
getCrmWebAppCode(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
Get the crm Web app code associate to the demand
|
String |
getIdDemand(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
Get the id demand
|
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 from a given id task
|
fr.paris.lutece.util.ReferenceList |
getListEntriesCrmWebAppCode(int nIdTask,
Locale locale)
Get the list of entries that have the accepted type (which are defined in workflow-notifycrm.properties)
|
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,
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,
Locale locale)
Get the list of entries that have the accepted type (which are defined in workflow-notifycrm.properties)
|
Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
Gets the locale.
|
String |
getUserGuid(TaskNotifyCRMConfig config,
int nIdRecord,
int nIdDirectory)
Get the user guid
|
boolean |
isEntryTypeCrmWebAppCodeAccepted(int nIdEntryType)
Check if the given entry type id is accepted for the crm web app code
|
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
|
boolean isEntryTypeRefused(int nIdEntryType)
nIdEntryType - the id entry typeboolean isEntryTypeIdDemandAccepted(int nIdEntryType)
nIdEntryType - the id entry typeboolean isEntryTypeUserGuidAccepted(int nIdEntryType)
nIdEntryType - the id entry typeboolean isEntryTypeCrmWebAppCodeAccepted(int nIdEntryType)
nIdEntryType - the id entry typefr.paris.lutece.util.ReferenceList getListDirectories()
List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
nIdTask - the id taskfr.paris.lutece.util.ReferenceList getListEntriesIdDemand(int nIdTask,
Locale locale)
nIdTask - the id tasklocale - the Localefr.paris.lutece.util.ReferenceList getListEntriesUserGuid(int nIdTask,
Locale locale)
nIdTask - the id tasklocale - the Localefr.paris.lutece.util.ReferenceList getListEntriesCrmWebAppCode(int nIdTask,
Locale locale)
nIdTask - the id tasklocale - the LocaleList<fr.paris.lutece.plugins.directory.business.IEntry> getListEntriesFreemarker(int nIdTask)
nIdTask - the id taskIEntryString getIdDemand(TaskNotifyCRMConfig config, int nIdRecord, int nIdDirectory)
config - the confignIdRecord - the id recordnIdDirectory - the id directoryString getUserGuid(TaskNotifyCRMConfig config, int nIdRecord, int nIdDirectory)
config - the confignIdRecord - the id recordnIdDirectory - the id directoryString getCrmWebAppCode(TaskNotifyCRMConfig config, int nIdRecord, int nIdDirectory)
config - the confignIdRecord - the id recordnIdDirectory - the id directoryList<fr.paris.lutece.plugins.workflowcore.service.task.ITask> getListBelowTasks(fr.paris.lutece.plugins.workflowcore.service.task.ITask task, Locale locale)
task - the reference tasklocale - the localeITaskMap<String,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)
config - the configrecord - the recorddirectory - the directoryrequest - the HTTP requestnIdAction - the id actionnIdHistory - the id historyLocale getLocale(javax.servlet.http.HttpServletRequest request)
request - the requestCopyright © 2015 City of Paris. All rights reserved.