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,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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the theoretical capacity per slotGet the description of the formGet the end date of the validity of the formGet the ending validity date of the form (in sql date format)Get the category id of the formintGet the form IdintGet the workflow idbooleanReturns the IsActivebooleanReturns the IsMultislotAppointmentintGet the number of consecutive slotsGet the reference of the formgetRole()Get the starting validity date of the form (in LocalDate format)Get the starting validity date of the form (in sql date format)getTitle()Get the title of the formbooleanvoidsetAnonymizable(boolean bIsAnonymizable) voidsetAnonymizationPattern(String strAnonymizationPattern) voidsetCapacityPerSlot(int nCapacityPerSlot) Sets the theoretical capacity per slotvoidsetDescription(String strDescription) Set the description of the formvoidsetEndingValidityDate(LocalDate endingValidityDate) Set the end date of the validity of the formvoidsetEndingValiditySqlDate(Date endingValidityDate) Set the ending validity date of the formvoidsetIdCategory(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(String strReference) Set the reference of the formvoidvoidsetStartingValidityDate(LocalDate startingValidityDate) Set the starting date of the validity of the formvoidsetStartingValiditySqlDate(Date startingValidityDate) Set the starting validity date of the formvoidSet the form titlevoidsetWorkgroup(String strWorkgroup) Set the workgroup
-
Field Details
-
RESOURCE_TYPE
Name of the resource type of Appointment Forms- See Also:
-
ROLE_NONE
- See Also:
-
-
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
Get the title of the form- Returns:
- the form title
-
setTitle
Set the form title- Parameters:
title- the Title to set
-
getDescription
Get the description of the form- Returns:
- the description of the form
-
setDescription
Set the description of the form- Parameters:
description- the description to set
-
getReference
Get the reference of the form- Returns:
- the reference of the form
-
setReference
Set the reference of the form- Parameters:
reference- the reference to set
-
getIdCategory
Get the category id of the form- Returns:
- the category id of the form
-
setIdCategory
Set the category id of the form- Parameters:
nIdCategory- the category id to set
-
getStartingValidityDate
Get the starting validity date of the form (in LocalDate format)- Returns:
- the starting validity date of the form
-
getStartingValiditySqlDate
Get the starting validity date of the form (in sql date format)- Returns:
- the starting validity date
-
setStartingValidityDate
Set the starting date of the validity of the form- Parameters:
startValidity- the starting validity date to set
-
setStartingValiditySqlDate
Set the starting validity date of the form- Parameters:
startingValidityDate- the starting validity date to set (in sql Date format)
-
getEndingValidityDate
Get the end date of the validity of the form- Returns:
- the end validity date of the form
-
getEndingValiditySqlDate
Get the ending validity date of the form (in sql date format)- Returns:
- the ending validity date
-
setEndingValidityDate
Set the end date of the validity of the form- Parameters:
endValidity- the end validity date to set
-
setEndingValiditySqlDate
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
- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
-
setWorkgroup
Set the workgroup- Parameters:
strWorkgroup- the workgroup
-
getResourceTypeCode
- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
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
- Returns:
- the strRole
-
setRole
- 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
-
setAnonymizationPattern
-
isAnonymizable
public boolean isAnonymizable() -
setAnonymizable
public void setAnonymizable(boolean bIsAnonymizable)
-