|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.Form
public class Form
Class form
Field Summary | |
---|---|
static java.lang.String |
RESOURCE_TYPE
|
static int |
STATE_DISABLE
|
static int |
STATE_ENABLE
|
Constructor Summary | |
---|---|
Form()
|
Method Summary | |
---|---|
java.util.List<FormAction> |
getActions()
|
Category |
getCategory()
|
java.lang.String |
getCodeTheme()
|
java.util.Date |
getDateBeginDisponibility()
Return the date begin of the publication |
java.sql.Timestamp |
getDateCreation()
|
java.util.Date |
getDateEndDisponibility()
|
java.lang.String |
getDescription()
|
int |
getFormPageId()
|
int |
getIdForm()
|
int |
getIdMailingList()
|
java.lang.String |
getInfoComplementary1()
|
java.lang.String |
getInfoComplementary2()
|
java.lang.String |
getInfoComplementary3()
|
java.lang.String |
getInfoComplementary4()
|
java.lang.String |
getInfoComplementary5()
|
java.lang.String |
getLibelleResetButton()
The label to display for the Reset button |
java.lang.String |
getLibelleValidateButton()
|
Recap |
getRecap()
|
java.lang.String |
getRequirement()
|
java.lang.String |
getResourceId()
RBAC resource implmentation |
java.lang.String |
getResourceTypeCode()
RBAC resource implmentation |
java.lang.String |
getTitle()
|
java.lang.String |
getUnavailabilityMessage()
|
java.lang.String |
getWelcomeMessage()
|
java.lang.String |
getWorkgroup()
|
static void |
init()
Initialize the Form |
boolean |
isActive()
|
boolean |
isActiveCaptcha()
|
boolean |
isActiveMyLuteceAuthentification()
|
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(java.util.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 |
setActiveMyLuteceAuthentification(boolean bActiveMyLuteceAuthentification)
set true if the form require mylutece authentification |
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 |
setCategory(Category category)
set the category associate to the form |
void |
setCodeTheme(java.lang.String strCodeTheme)
set the theme code |
void |
setDateBeginDisponibility(java.util.Date _tDateBeginDisponibility)
Define the date begin of the publication |
void |
setDateCreation(java.sql.Timestamp dateCreation)
set the creation date |
void |
setDateEndDisponibility(java.util.Date dateEndDisponibility)
set the date of end disponibility |
void |
setDescription(java.lang.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(java.lang.String strInfoComplementary1)
set the Information Complementary 1 |
void |
setInfoComplementary2(java.lang.String strInfoComplementary2)
set the Information Complementary 2 |
void |
setInfoComplementary3(java.lang.String strInfoComplementary3)
set the Information Complementary 3 |
void |
setInfoComplementary4(java.lang.String strInfoComplementary4)
set the Information Complementary 4 |
void |
setInfoComplementary5(java.lang.String strInfoComplementary5)
set the Information Complementary 5 |
void |
setLibelleResetButton(java.lang.String _strLibelleResetButton)
The label to display for the Reset button |
void |
setLibelleValidateButton(java.lang.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(java.lang.String requirement)
set the requirement of the form |
void |
setSupportHTTPS(boolean bSupportHTTPS)
Set to true if the form support HTTPS, false otherwise |
void |
setTitle(java.lang.String strTitle)
set the title of the form |
void |
setUnavailabilityMessage(java.lang.String unavailabilityMessage)
set the unavailability message of the form |
void |
setWelcomeMessage(java.lang.String strWelcomeMessage)
set the welcome message of the form |
void |
setWorkgroup(java.lang.String workGroup)
set the work group associate to the form |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESOURCE_TYPE
public static final int STATE_ENABLE
public static final int STATE_DISABLE
Constructor Detail |
---|
public Form()
Method Detail |
---|
public static void init()
public int getIdMailingList()
public void setIdMailingList(int mailingListId)
mailingListId
- the id of the mailing list associate to the formpublic java.lang.String getCodeTheme()
public void setCodeTheme(java.lang.String strCodeTheme)
strCodeTheme
- the theme codepublic 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 java.lang.String getLibelleValidateButton()
public void setLibelleValidateButton(java.lang.String libelleValidateButton)
libelleValidateButton
- the libelle of the validate buttonpublic java.util.Date getDateEndDisponibility()
public void setDateEndDisponibility(java.util.Date dateEndDisponibility)
dateEndDisponibility
- the date of end disponibilitypublic java.lang.String getRequirement()
public void setRequirement(java.lang.String requirement)
requirement
- the requierement of the formpublic java.lang.String getTitle()
public void setTitle(java.lang.String strTitle)
strTitle
- the title of the formpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description of the formpublic java.lang.String getWelcomeMessage()
public void setWelcomeMessage(java.lang.String strWelcomeMessage)
strWelcomeMessage
- the welcome message of the formpublic java.lang.String getUnavailabilityMessage()
public void setUnavailabilityMessage(java.lang.String unavailabilityMessage)
unavailabilityMessage
- the unavailability message of the formpublic java.lang.String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(java.lang.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 java.sql.Timestamp getDateCreation()
public void setDateCreation(java.sql.Timestamp dateCreation)
dateCreation
- the creation datepublic Recap getRecap()
public void setRecap(Recap recap)
recap
- the recap associate to the formpublic java.lang.String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public java.lang.String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public java.util.List<FormAction> getActions()
public void setActions(java.util.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(java.util.Date _tDateBeginDisponibility)
_tDateBeginDisponibility
- The date begin of the publicationpublic java.util.Date getDateBeginDisponibility()
public void setAutoPublicationActive(boolean _bAutoPublicationActive)
_bAutoPublicationActive
- public boolean isAutoPublicationActive()
public boolean isAutoPublished()
public void setLibelleResetButton(java.lang.String _strLibelleResetButton)
_strLibelleResetButton
- The labelpublic java.lang.String getLibelleResetButton()
public java.lang.String getInfoComplementary1()
public void setInfoComplementary1(java.lang.String strInfoComplementary1)
strInfoComplementary1
- the Information Complementary 1public java.lang.String getInfoComplementary2()
public void setInfoComplementary2(java.lang.String strInfoComplementary2)
strInfoComplementary2
- the Information Complementary 2public java.lang.String getInfoComplementary3()
public void setInfoComplementary3(java.lang.String strInfoComplementary3)
strInfoComplementary3
- the Information Complementary 3public java.lang.String getInfoComplementary4()
public void setInfoComplementary4(java.lang.String strInfoComplementary4)
strInfoComplementary4
- the Information Complementary 4public java.lang.String getInfoComplementary5()
public void setInfoComplementary5(java.lang.String strInfoComplementary5)
strInfoComplementary5
- the Information Complementary 5public void setSupportHTTPS(boolean bSupportHTTPS)
_bSupportHTTPS
- the support valuepublic boolean isSupportHTTPS()
public boolean isActiveMyLuteceAuthentification()
public void setActiveMyLuteceAuthentification(boolean bActiveMyLuteceAuthentification)
active
- true if the form require mylutece authentificationpublic Category getCategory()
public void setCategory(Category category)
category
- the category associate to the form
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |