public class AutomaticAssignmentDAO extends Object implements IAutomaticAssignmentDAO
| Constructor and Description |
|---|
AutomaticAssignmentDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExist(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if an assignment already exist
|
void |
delete(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an automatic assignment
|
void |
deleteByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all automatic assignment linked to a task
|
List<Integer> |
getIdEntriesListByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of id from entries with the same task
|
void |
insert(AutomaticAssignment assign,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new automatic assignment
|
List<AutomaticAssignment> |
loadByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of assignment with the same task
|
List<AutomaticAssignment> |
loadByTaskByEntry(int nIdTask,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of assignment with the same task and entry
|
public boolean checkExist(AutomaticAssignment assign, fr.paris.lutece.portal.service.plugin.Plugin plugin)
checkExist in interface IAutomaticAssignmentDAOassign - the assignment to checkplugin - the pluginpublic void delete(AutomaticAssignment assign, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAutomaticAssignmentDAOassign - the assignment to deleteplugin - the pluginpublic void deleteByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByTask in interface IAutomaticAssignmentDAOnIdTask - the task idplugin - the pluginpublic void insert(AutomaticAssignment assign, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAutomaticAssignmentDAOassign - the assignment to createplugin - the pluginpublic List<AutomaticAssignment> loadByTaskByEntry(int nIdTask, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByTaskByEntry in interface IAutomaticAssignmentDAOnIdTask - the task idnIdEntry - the entry idplugin - the pluginpublic List<AutomaticAssignment> loadByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByTask in interface IAutomaticAssignmentDAOnIdTask - the task idplugin - the pluginpublic List<Integer> getIdEntriesListByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getIdEntriesListByTask in interface IAutomaticAssignmentDAOnIdTask - the task idplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.