|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAutomaticAssignmentService
IAutomaticAssignmentService
| Method Summary | |
|---|---|
boolean |
checkExist(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if an assignment already exist |
void |
create(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of assign |
java.util.List<java.lang.Integer> |
findAllIdEntriesByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of id from entries with the same task |
java.util.List<AutomaticAssignment> |
findByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of assignment with the same task |
java.util.List<AutomaticAssignment> |
findByTaskByEntry(int nIdTask,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of assignment with the same task and entry |
java.util.List<fr.paris.lutece.util.mail.FileAttachment> |
getFilesAttachment(TaskAutomaticAssignmentConfig config,
int nIdRecord,
int nIdDirectory)
the files Attachments to insert in the mail |
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> |
getListEntriesFile(int nIdTask,
java.util.Locale locale)
Get the list of entries that have the accepted type for file |
boolean |
isEntryTypeFileAccepted(int nIdEntryType)
Check if the given entry type id is accepted for file |
void |
notify(TaskAutomaticAssignmentConfig config,
java.util.List<java.lang.String> listWorkgroup,
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
javax.servlet.http.HttpServletRequest request,
java.util.Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
Notify the mailing list associated to the list of workgroups |
void |
remove(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove assign which is specified in parameter |
void |
removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all assign linked to the task |
| Method Detail |
|---|
@Transactional(value="workflow-automaticassignment.transactionManager")
void create(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
assign - The instance of AutomaticAssignmentplugin - the plugin
@Transactional(value="workflow-automaticassignment.transactionManager")
void remove(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
assign - The AutomaticAssignmentplugin - the plugin
@Transactional(value="workflow-automaticassignment.transactionManager")
void removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask - The id of the taskplugin - the plugin
boolean checkExist(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
assign - the assignment to checkplugin - the plugin
boolean isEntryTypeFileAccepted(int nIdEntryType)
nIdEntryType - the id entry type
java.util.List<AutomaticAssignment> findByTaskByEntry(int nIdTask,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask - the task idnIdEntry - the entry idplugin - the plugin
java.util.List<AutomaticAssignment> findByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask - the task idplugin - the plugin
java.util.List<java.lang.Integer> findAllIdEntriesByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask - the task idplugin - the plugin
java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
nIdTask - the id task
java.util.List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntriesFile(int nIdTask,
java.util.Locale locale)
nIdTask - the id tasklocale - the Locale
java.util.List<fr.paris.lutece.util.mail.FileAttachment> getFilesAttachment(TaskAutomaticAssignmentConfig config,
int nIdRecord,
int nIdDirectory)
config - the configurationnIdRecord - the record idnIdDirectory - the directory id
void notify(TaskAutomaticAssignmentConfig config,
java.util.List<java.lang.String> listWorkgroup,
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
javax.servlet.http.HttpServletRequest request,
java.util.Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
config - the configlistWorkgroup - the list of workgroupsresourceHistory - the resource historyrequest - the HTTP requestlocale - the Localetask - the task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||