Class Form

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, java.io.Serializable

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

      • RESOURCE_TYPE

        public static final java.lang.String RESOURCE_TYPE
        Name of the resource type of Appointment Forms
        See Also:
        Constant Field Values
    • Constructor Detail

      • Form

        public Form()
    • Method Detail

      • 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 java.lang.String getTitle()
        Get the title of the form
        Returns:
        the form title
      • setTitle

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void setEndingValiditySqlDate​(java.sql.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 java.lang.String getWorkgroup()
        Specified by:
        getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
      • setWorkgroup

        public void setWorkgroup​(java.lang.String strWorkgroup)
        Set the workgroup
        Parameters:
        strWorkgroup - the workgroup
      • getResourceTypeCode

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

        public java.lang.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 java.lang.String getRole()
        Returns:
        the strRole
      • setRole

        public void setRole​(java.lang.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 java.lang.String getAnonymizationPattern()
      • setAnonymizationPattern

        public void setAnonymizationPattern​(java.lang.String strAnonymizationPattern)
      • isAnonymizable

        public boolean isAnonymizable()
      • setAnonymizable

        public void setAnonymizable​(boolean bIsAnonymizable)