java.lang.Object
fr.paris.lutece.plugins.appointment.business.form.Form
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, Serializable

public final class Form extends Object implements fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, Serializable
Business class of the Form
Author:
Laurent Payen
See Also:
  • Field Details

  • Constructor Details

    • Form

      public Form()
  • Method Details

    • getIdForm

      public int getIdForm()
      Get the form Id
      Returns:
      the form Id
    • setIdForm

      public void setIdForm(int nIdForm)
      Set the form Id
      Parameters:
      nIdForm - the Id to set
    • getTitle

      public String getTitle()
      Get the title of the form
      Returns:
      the form title
    • setTitle

      public void setTitle(String strTitle)
      Set the form title
      Parameters:
      title - the Title to set
    • getDescription

      public String getDescription()
      Get the description of the form
      Returns:
      the description of the form
    • setDescription

      public void setDescription(String strDescription)
      Set the description of the form
      Parameters:
      description - the description to set
    • getReference

      public String getReference()
      Get the reference of the form
      Returns:
      the reference of the form
    • setReference

      public void setReference(String strReference)
      Set the reference of the form
      Parameters:
      reference - the reference to set
    • getIdCategory

      public Integer getIdCategory()
      Get the category id of the form
      Returns:
      the category id of the form
    • setIdCategory

      public void setIdCategory(Integer nIdCategory)
      Set the category id of the form
      Parameters:
      nIdCategory - the category id to set
    • getStartingValidityDate

      public LocalDate getStartingValidityDate()
      Get the starting validity date of the form (in LocalDate format)
      Returns:
      the starting validity date of the form
    • getStartingValiditySqlDate

      public Date getStartingValiditySqlDate()
      Get the starting validity date of the form (in sql date format)
      Returns:
      the starting validity date
    • setStartingValidityDate

      public void setStartingValidityDate(LocalDate startingValidityDate)
      Set the starting date of the validity of the form
      Parameters:
      startValidity - the starting validity date to set
    • setStartingValiditySqlDate

      public void setStartingValiditySqlDate(Date startingValidityDate)
      Set the starting validity date of the form
      Parameters:
      startingValidityDate - the starting validity date to set (in sql Date format)
    • getEndingValidityDate

      public LocalDate getEndingValidityDate()
      Get the end date of the validity of the form
      Returns:
      the end validity date of the form
    • getEndingValiditySqlDate

      public Date getEndingValiditySqlDate()
      Get the ending validity date of the form (in sql date format)
      Returns:
      the ending validity date
    • setEndingValidityDate

      public void setEndingValidityDate(LocalDate endingValidityDate)
      Set the end date of the validity of the form
      Parameters:
      endValidity - the end validity date to set
    • setEndingValiditySqlDate

      public void setEndingValiditySqlDate(Date endingValidityDate)
      Set the ending validity date of the form
      Parameters:
      endingValidityDate - the ending validity date to set (in sql Date format)
    • getIsActive

      public boolean getIsActive()
      Returns the IsActive
      Returns:
      The IsActive
    • setIsActive

      public void setIsActive(boolean bIsActive)
      Set the active boolean value of the form
      Parameters:
      isActive - the boolean active value to set
    • getIdWorkflow

      public int getIdWorkflow()
      Get the workflow id
      Returns:
      the workflow id
    • setIdWorkflow

      public void setIdWorkflow(int nIdWorkflow)
      Set the workflow Id
      Parameters:
      nIdWorkflow - the workflow id to set
    • getWorkgroup

      public String getWorkgroup()
      Specified by:
      getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
    • setWorkgroup

      public void setWorkgroup(String strWorkgroup)
      Set the workgroup
      Parameters:
      strWorkgroup - the workgroup
    • getResourceTypeCode

      public String getResourceTypeCode()
      Specified by:
      getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
    • getResourceId

      public String getResourceId()
      Specified by:
      getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
    • getIsMultislotAppointment

      public boolean getIsMultislotAppointment()
      Returns the IsMultislotAppointment
      Returns:
      The IsMultislotAppointment
    • setIsMultislotAppointment

      public void setIsMultislotAppointment(boolean bIsMultislotAppointment)
      Sets the IsMultislotAppointment
      Parameters:
      bIsMultislotAppointment - The IsMultislotAppointment
    • getNbConsecutiveSlots

      public int getNbConsecutiveSlots()
      Get the number of consecutive slots
      Returns:
      the number of consecutive slots
    • setNbConsecutiveSlots

      public void setNbConsecutiveSlots(int nbConsecutiveSlots)
      Set the number of consecutive slots
      Parameters:
      nbConsecutiveSlots - the number of consecutive slots
    • getRole

      public String getRole()
      Returns:
      the strRole
    • setRole

      public void setRole(String strRole)
      Parameters:
      strRole - the strRole to set
    • getCapacityPerSlot

      public int getCapacityPerSlot()
      Returns the theoretical capacity per slot
      Returns:
      The theoretical capacity per slot
    • setCapacityPerSlot

      public void setCapacityPerSlot(int nCapacityPerSlot)
      Sets the theoretical capacity per slot
      Parameters:
      nCapacityPerSlot - The theoretical capacity per slot
    • getAnonymizationPattern

      public String getAnonymizationPattern()
    • setAnonymizationPattern

      public void setAnonymizationPattern(String strAnonymizationPattern)
    • isAnonymizable

      public boolean isAnonymizable()
    • setAnonymizable

      public void setAnonymizable(boolean bIsAnonymizable)