Class TaskAntsAppointmentHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointmentants.business.history.TaskAntsAppointmentHistoryDAO
- All Implemented Interfaces:
ITaskAntsAppointmentHistoryDAO
Provide Data Access methods for the history of the ANTS related tasks
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistory(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 tableload(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 Details
-
BEAN_NAME
- See Also:
-
-
Constructor Details
-
TaskAntsAppointmentHistoryDAO
public TaskAntsAppointmentHistoryDAO()
-
-
Method Details
-
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
-