Class TaskAntsAppointmentHistoryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.appointmentants.business.history.TaskAntsAppointmentHistoryDAO
-
- All Implemented Interfaces:
ITaskAntsAppointmentHistoryDAO
public class TaskAntsAppointmentHistoryDAO extends Object implements ITaskAntsAppointmentHistoryDAO
Provide Data Access methods for the history of the ANTS related tasks
-
-
Constructor Summary
Constructors Constructor Description TaskAntsAppointmentHistoryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByHistory(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the history associated with the history and task specified in parametersvoiddeleteByTask(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the history associated with the task specified in parametersvoidinsert(TaskAntsAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the ANTS task's history tableTaskAntsAppointmentHistoryload(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load data that matches the specified parameters, from the ANTS task's history table
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
insert
public void insert(TaskAntsAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the ANTS task's history table- Specified by:
insertin interfaceITaskAntsAppointmentHistoryDAO- Parameters:
history- TaskAntsAppointmentHistory object to insertplugin- The Plugin
-
load
public TaskAntsAppointmentHistory load(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load data that matches the specified parameters, from the ANTS task's history table- Specified by:
loadin interfaceITaskAntsAppointmentHistoryDAO- Parameters:
idHistory- ID of the resource history used for the taskidTask- ID of the taskplugin- The Plugin- Returns:
- The TaskAntsAppointmentHistory object matching the parameters, or null if none was found
-
deleteByHistory
public void deleteByHistory(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the history associated with the history and task specified in parameters- Specified by:
deleteByHistoryin interfaceITaskAntsAppointmentHistoryDAO- Parameters:
idHistory- ID of the resource history used for the taskidTask- ID of the taskplugin- The Plugin
-
deleteByTask
public void deleteByTask(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the history associated with the task specified in parameters- Specified by:
deleteByTaskin interfaceITaskAntsAppointmentHistoryDAO- Parameters:
idTask- ID of the taskplugin- The Plugin
-
-