Class Form
- 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,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.SerializableBusiness class of the Form- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPEName of the resource type of Appointment Formsstatic java.lang.StringROLE_NONE
-
Constructor Summary
Constructors Constructor Description Form()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAnonymizationPattern()intgetCapacityPerSlot()Returns the theoretical capacity per slotjava.lang.StringgetDescription()Get the description of the formjava.time.LocalDategetEndingValidityDate()Get the end date of the validity of the formjava.sql.DategetEndingValiditySqlDate()Get the ending validity date of the form (in sql date format)java.lang.IntegergetIdCategory()Get the category id of the formintgetIdForm()Get the form IdintgetIdWorkflow()Get the workflow idbooleangetIsActive()Returns the IsActivebooleangetIsMultislotAppointment()Returns the IsMultislotAppointmentintgetNbConsecutiveSlots()Get the number of consecutive slotsjava.lang.StringgetReference()Get the reference of the formjava.lang.StringgetResourceId()java.lang.StringgetResourceTypeCode()java.lang.StringgetRole()java.time.LocalDategetStartingValidityDate()Get the starting validity date of the form (in LocalDate format)java.sql.DategetStartingValiditySqlDate()Get the starting validity date of the form (in sql date format)java.lang.StringgetTitle()Get the title of the formjava.lang.StringgetWorkgroup()booleanisAnonymizable()voidsetAnonymizable(boolean bIsAnonymizable)voidsetAnonymizationPattern(java.lang.String strAnonymizationPattern)voidsetCapacityPerSlot(int nCapacityPerSlot)Sets the theoretical capacity per slotvoidsetDescription(java.lang.String strDescription)Set the description of the formvoidsetEndingValidityDate(java.time.LocalDate endingValidityDate)Set the end date of the validity of the formvoidsetEndingValiditySqlDate(java.sql.Date endingValidityDate)Set the ending validity date of the formvoidsetIdCategory(java.lang.Integer nIdCategory)Set the category id of the formvoidsetIdForm(int nIdForm)Set the form IdvoidsetIdWorkflow(int nIdWorkflow)Set the workflow IdvoidsetIsActive(boolean bIsActive)Set the active boolean value of the formvoidsetIsMultislotAppointment(boolean bIsMultislotAppointment)Sets the IsMultislotAppointmentvoidsetNbConsecutiveSlots(int nbConsecutiveSlots)Set the number of consecutive slotsvoidsetReference(java.lang.String strReference)Set the reference of the formvoidsetRole(java.lang.String strRole)voidsetStartingValidityDate(java.time.LocalDate startingValidityDate)Set the starting date of the validity of the formvoidsetStartingValiditySqlDate(java.sql.Date startingValidityDate)Set the starting validity date of the formvoidsetTitle(java.lang.String strTitle)Set the form titlevoidsetWorkgroup(java.lang.String strWorkgroup)Set the workgroup
-
-
-
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
-
ROLE_NONE
public static final java.lang.String ROLE_NONE
- See Also:
- Constant Field Values
-
-
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:
getWorkgroupin interfacefr.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:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceId
public java.lang.String getResourceId()
- Specified by:
getResourceIdin interfacefr.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)
-
-