public class Form extends Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResource
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_TYPE |
static int |
STATE_DISABLE |
static int |
STATE_ENABLE |
Constructor and Description |
---|
Form() |
Modifier and Type | Method and Description |
---|---|
List<FormAction> |
getActions() |
Date |
getDateBeginDisponibility()
Return the date begin of the publication
|
Timestamp |
getDateCreation() |
Date |
getDateEndDisponibility() |
String |
getDescription() |
int |
getFormPageId() |
int |
getIdForm() |
int |
getIdMailingList() |
String |
getInfoComplementary1() |
String |
getInfoComplementary2() |
String |
getInfoComplementary3() |
String |
getInfoComplementary4() |
String |
getInfoComplementary5() |
String |
getLibelleResetButton()
The label to display for the Reset button
|
String |
getLibelleValidateButton() |
Recap |
getRecap() |
String |
getRequirement() |
String |
getResourceId()
RBAC resource implmentation
|
String |
getResourceTypeCode()
RBAC resource implmentation
|
String |
getTitle() |
String |
getUnavailabilityMessage() |
String |
getWelcomeMessage() |
String |
getWorkgroup() |
static void |
init()
Initialize the Form
|
boolean |
isActive() |
boolean |
isActiveCaptcha() |
boolean |
isActiveRequirement() |
boolean |
isActiveStoreAdresse()
true if the ip adresse of the user must be store
|
boolean |
isAutoPublicationActive()
Return true if auto publication is effectively active
|
boolean |
isAutoPublished()
Return true if the form is in auto publication mode, false else
|
boolean |
isLimitNumberResponse() |
boolean |
isSupportHTTPS()
Returns true if the form support HTTPS, false otherwise
|
void |
setActions(List<FormAction> formActions)
set a list of action can be use for the form
|
void |
setActive(boolean active)
set true if the form is active
|
void |
setActiveCaptcha(boolean activeCaptcha)
set true if the form contain a captcha
|
void |
setActiveRequirement(boolean activeRequirement)
set true if the requirement must be activate
|
void |
setActiveStoreAdresse(boolean activeStoreAdrese)
set true if the ip adresse of the user must be store
|
void |
setAutoPublicationActive(boolean _bAutoPublicationActive)
Set if Auto publication is effectively active
|
void |
setDateBeginDisponibility(Date _tDateBeginDisponibility)
Define the date begin of the publication
|
void |
setDateCreation(Timestamp dateCreation)
set the creation date
|
void |
setDateEndDisponibility(Date dateEndDisponibility)
set the date of end disponibility
|
void |
setDescription(String description)
set the description of the form
|
void |
setFormPageId(int formPageId)
set the id of the page which contain the form
|
void |
setIdForm(int idForm)
set the id of the form
|
void |
setIdMailingList(int mailingListId)
set the id of the mailing list associate to the form
|
void |
setInfoComplementary1(String strInfoComplementary1)
set the Information Complementary 1
|
void |
setInfoComplementary2(String strInfoComplementary2)
set the Information Complementary 2
|
void |
setInfoComplementary3(String strInfoComplementary3)
set the Information Complementary 3
|
void |
setInfoComplementary4(String strInfoComplementary4)
set the Information Complementary 4
|
void |
setInfoComplementary5(String strInfoComplementary5)
set the Information Complementary 5
|
void |
setLibelleResetButton(String _strLibelleResetButton)
The label to display for the Reset button
|
void |
setLibelleValidateButton(String libelleValidateButton)
set the libelle of the validate button
|
void |
setLimitNumberResponse(boolean numberResponse)
set true if the user can submit just one form
|
void |
setRecap(Recap recap)
set the recap associate to the form
|
void |
setRequirement(String requirement)
set the requirement of the form
|
void |
setSupportHTTPS(boolean bSupportHTTPS)
Set to true if the form support HTTPS, false otherwise
|
void |
setTitle(String strTitle)
set the title of the form
|
void |
setUnavailabilityMessage(String unavailabilityMessage)
set the unavailability message of the form
|
void |
setWelcomeMessage(String strWelcomeMessage)
set the welcome message of the form
|
void |
setWorkgroup(String workGroup)
set the work group associate to the form
|
public static final String RESOURCE_TYPE
public static final int STATE_ENABLE
public static final int STATE_DISABLE
public static void init()
public int getIdMailingList()
public void setIdMailingList(int mailingListId)
mailingListId
- the id of the mailing list associate to the formpublic boolean isActiveCaptcha()
public void setActiveCaptcha(boolean activeCaptcha)
activeCaptcha
- true if the form contain a captchapublic boolean isActiveStoreAdresse()
public void setActiveStoreAdresse(boolean activeStoreAdrese)
activeStoreAdrese
- true if the ip adresse of the user must be storepublic boolean isActiveRequirement()
public void setActiveRequirement(boolean activeRequirement)
activeRequirement
- true if the form contain requirementpublic String getLibelleValidateButton()
public void setLibelleValidateButton(String libelleValidateButton)
libelleValidateButton
- the libelle of the validate buttonpublic Date getDateEndDisponibility()
public void setDateEndDisponibility(Date dateEndDisponibility)
dateEndDisponibility
- the date of end disponibilitypublic String getRequirement()
public void setRequirement(String requirement)
requirement
- the requierement of the formpublic String getTitle()
public void setTitle(String strTitle)
strTitle
- the title of the formpublic String getDescription()
public void setDescription(String description)
description
- the description of the formpublic String getWelcomeMessage()
public void setWelcomeMessage(String strWelcomeMessage)
strWelcomeMessage
- the welcome message of the formpublic String getUnavailabilityMessage()
public void setUnavailabilityMessage(String unavailabilityMessage)
unavailabilityMessage
- the unavailability message of the formpublic String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(String workGroup)
workGroup
- the work group associate to the formpublic int getIdForm()
public void setIdForm(int idForm)
idForm
- the id of the formpublic boolean isActive()
public void setActive(boolean active)
active
- true if the form is activepublic boolean isLimitNumberResponse()
public void setLimitNumberResponse(boolean numberResponse)
numberResponse
- true if the user can submit just one formpublic Timestamp getDateCreation()
public void setDateCreation(Timestamp dateCreation)
dateCreation
- the creation datepublic Recap getRecap()
public void setRecap(Recap recap)
recap
- the recap associate to the formpublic String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public List<FormAction> getActions()
public void setActions(List<FormAction> formActions)
formActions
- a list of action must be use for the formpublic int getFormPageId()
public void setFormPageId(int formPageId)
formPageId
- the id of the page which contain the formpublic void setDateBeginDisponibility(Date _tDateBeginDisponibility)
_tDateBeginDisponibility
- The date begin of the publicationpublic Date getDateBeginDisponibility()
public void setAutoPublicationActive(boolean _bAutoPublicationActive)
_bAutoPublicationActive
- public boolean isAutoPublicationActive()
public boolean isAutoPublished()
public void setLibelleResetButton(String _strLibelleResetButton)
_strLibelleResetButton
- The labelpublic String getLibelleResetButton()
public String getInfoComplementary1()
public void setInfoComplementary1(String strInfoComplementary1)
strInfoComplementary1
- the Information Complementary 1public String getInfoComplementary2()
public void setInfoComplementary2(String strInfoComplementary2)
strInfoComplementary2
- the Information Complementary 2public String getInfoComplementary3()
public void setInfoComplementary3(String strInfoComplementary3)
strInfoComplementary3
- the Information Complementary 3public String getInfoComplementary4()
public void setInfoComplementary4(String strInfoComplementary4)
strInfoComplementary4
- the Information Complementary 4public String getInfoComplementary5()
public void setInfoComplementary5(String strInfoComplementary5)
strInfoComplementary5
- the Information Complementary 5public void setSupportHTTPS(boolean bSupportHTTPS)
_bSupportHTTPS
- the support valuepublic boolean isSupportHTTPS()
Copyright © 2017 City of Paris. All rights reserved.