|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.workflow.modules.automaticassignment.service.AutomaticAssignmentService
public final class AutomaticAssignmentService
AutomaticAssignmentService
| Field Summary | |
|---|---|
static String |
BEAN_SERVICE
|
| 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 |
List<Integer> |
findAllIdEntriesByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of id from entries with the same task |
List<AutomaticAssignment> |
findByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of assignment with the same task |
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 |
List<fr.paris.lutece.util.mail.FileAttachment> |
getFilesAttachment(TaskAutomaticAssignmentConfig config,
int nIdRecord,
int nIdDirectory)
the files Attachments to insert in the mail |
List<fr.paris.lutece.plugins.directory.business.IEntry> |
getListEntries(int nIdTask)
Get the list of entries from a given id task |
List<fr.paris.lutece.plugins.directory.business.IEntry> |
getListEntriesFile(int nIdTask,
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,
List<String> listWorkgroup,
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
javax.servlet.http.HttpServletRequest request,
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_SERVICE
| Method Detail |
|---|
@Transactional(value="workflow-automaticassignment.transactionManager")
public void create(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
create in interface IAutomaticAssignmentServiceassign - The instance of AutomaticAssignmentplugin - the plugin
@Transactional(value="workflow-automaticassignment.transactionManager")
public void remove(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove in interface IAutomaticAssignmentServiceassign - The AutomaticAssignmentplugin - the plugin
@Transactional(value="workflow-automaticassignment.transactionManager")
public void removeByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeByTask in interface IAutomaticAssignmentServicenIdTask - The id of the taskplugin - the plugin
public boolean checkExist(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
checkExist in interface IAutomaticAssignmentServiceassign - the assignment to checkplugin - the plugin
public boolean isEntryTypeFileAccepted(int nIdEntryType)
isEntryTypeFileAccepted in interface IAutomaticAssignmentServicenIdEntryType - the id entry type
public List<AutomaticAssignment> findByTaskByEntry(int nIdTask,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByTaskByEntry in interface IAutomaticAssignmentServicenIdTask - the task idnIdEntry - the entry idplugin - the plugin
public List<AutomaticAssignment> findByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByTask in interface IAutomaticAssignmentServicenIdTask - the task idplugin - the plugin
public List<Integer> findAllIdEntriesByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAllIdEntriesByTask in interface IAutomaticAssignmentServicenIdTask - the task idplugin - the plugin
public List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntries(int nIdTask)
getListEntries in interface IAutomaticAssignmentServicenIdTask - the id task
public List<fr.paris.lutece.plugins.directory.business.IEntry> getListEntriesFile(int nIdTask,
Locale locale)
getListEntriesFile in interface IAutomaticAssignmentServicenIdTask - the id tasklocale - the Locale
public List<fr.paris.lutece.util.mail.FileAttachment> getFilesAttachment(TaskAutomaticAssignmentConfig config,
int nIdRecord,
int nIdDirectory)
getFilesAttachment in interface IAutomaticAssignmentServiceconfig - the configurationnIdRecord - the record idnIdDirectory - the directory id
public void notify(TaskAutomaticAssignmentConfig config,
List<String> listWorkgroup,
fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
notify in interface IAutomaticAssignmentServiceconfig - 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 | |||||||||