Class TaskAntsAppointmentHistory
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.appointmentants.business.history.TaskAntsAppointmentHistory
-
public class TaskAntsAppointmentHistory extends Object
Class that represents the history of a specific / unique ANTS Workflow task. Used to save the result returned by the task.
-
-
Constructor Summary
Constructors Constructor Description TaskAntsAppointmentHistory()Standard constructorTaskAntsAppointmentHistory(int idResourceHistory, int idTask, boolean taskSuccessState, String antsApplicationNumbers)Construct a TaskAntsAppointmentHistory object with specific parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAntsApplicationNumbers()Get the ANTS application numbers used in this taskintgetIdResourceHistory()Get the task's resource history IDintgetIdTask()Get the task's IDbooleanisTaskSuccessful()Get the task's success resultvoidsetAntsApplicationNumbers(String antsApplicationNumbers)Set the value of the ANTS application numbersvoidsetIdResourceHistory(int idResourceHistory)Set the task's resource history's IDvoidsetIdTask(int idTask)Set the task's IDvoidsetTaskSuccessState(boolean taskSuccessState)Set the task's success result: true = successful, false = failed
-
-
-
Constructor Detail
-
TaskAntsAppointmentHistory
public TaskAntsAppointmentHistory()
Standard constructor
-
TaskAntsAppointmentHistory
public TaskAntsAppointmentHistory(int idResourceHistory, int idTask, boolean taskSuccessState, String antsApplicationNumbers)Construct a TaskAntsAppointmentHistory object with specific parameters- Parameters:
idResourceHistory- Task's resource history IDidTask- Task's IDtaskSuccessState- Task's success state: true = successful, false = failedantsApplicationNumbers- ANTS application numbers as a String
-
-
Method Detail
-
getIdTask
public int getIdTask()
Get the task's ID- Returns:
- The task's ID
-
setIdTask
public void setIdTask(int idTask)
Set the task's ID- Parameters:
idTask- Task's ID
-
getIdResourceHistory
public int getIdResourceHistory()
Get the task's resource history ID- Returns:
- The resource history's ID
-
setIdResourceHistory
public void setIdResourceHistory(int idResourceHistory)
Set the task's resource history's ID- Parameters:
idResourceHistory- Resource history's ID
-
isTaskSuccessful
public boolean isTaskSuccessful()
Get the task's success result- Returns:
- The task's success result: true = successful, false = failed
-
setTaskSuccessState
public void setTaskSuccessState(boolean taskSuccessState)
Set the task's success result: true = successful, false = failed- Parameters:
taskSuccessState- The task's success result
-
getAntsApplicationNumbers
public String getAntsApplicationNumbers()
Get the ANTS application numbers used in this task- Returns:
- a String containing the application numbers' value
-
setAntsApplicationNumbers
public void setAntsApplicationNumbers(String antsApplicationNumbers)
Set the value of the ANTS application numbers- Parameters:
antsApplicationNumbers- ANTS application numbers as a String
-
-