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 Details

    • 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 ID
      idTask - Task's ID
      taskSuccessState - Task's success state: true = successful, false = failed
      antsApplicationNumbers - ANTS application numbers as a String
  • Method Details

    • 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