Class TaskAntsAppointmentHistoryService
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.appointmentants.service.history.TaskAntsAppointmentHistoryService
- All Implemented Interfaces:
ITaskAntsAppointmentHistoryService
public class TaskAntsAppointmentHistoryService
extends Object
implements ITaskAntsAppointmentHistoryService
Class containing methods to handle the history of the ANTS related tasks
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(TaskAntsAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a new entry in the ANTS task's history tablefindByPrimaryKey(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find the data that matches the specified parameters, from the ANTS task's history tablevoidremoveByHistory(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the ANTS task's history associated with the history and task specified in parametersvoidremoveByTask(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the ANTS task's history associated with the task specified in parameters
-
Field Details
-
BEAN_SERVICE
- See Also:
-
-
Method Details
-
create
public void create(TaskAntsAppointmentHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create a new entry in the ANTS task's history table- Specified by:
createin interfaceITaskAntsAppointmentHistoryService- Parameters:
history- TaskAntsAppointmentHistory object to insertplugin- The Plugin
-
removeByHistory
public void removeByHistory(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the ANTS task's history associated with the history and task specified in parameters- Specified by:
removeByHistoryin interfaceITaskAntsAppointmentHistoryService- Parameters:
idHistory- ID of the resource history used for the taskidTask- ID of the taskplugin- The Plugin
-
removeByTask
public void removeByTask(int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the ANTS task's history associated with the task specified in parameters- Specified by:
removeByTaskin interfaceITaskAntsAppointmentHistoryService- Parameters:
idTask- ID of the taskplugin- The Plugin
-
findByPrimaryKey
public TaskAntsAppointmentHistory findByPrimaryKey(int idHistory, int idTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find the data that matches the specified parameters, from the ANTS task's history table- Specified by:
findByPrimaryKeyin interfaceITaskAntsAppointmentHistoryService- 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
-