Class FormResponse
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.FormResponse
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.resource.IExtendableResource
public class FormResponse extends Object implements fr.paris.lutece.portal.service.resource.IExtendableResource
This is the business class for the object FormResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESOURCE_TYPEForm response resource type
-
Constructor Summary
Constructors Constructor Description FormResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdmin()Gets the formResponse admin depositaryTimestampgetCreation()StringgetEncryptedGuid()StringgetExtendableResourceDescription()StringgetExtendableResourceImageUrl()StringgetExtendableResourceName()StringgetExtendableResourceType()intgetFormId()StringgetGuid()intgetId()StringgetIdExtendableResource()StringgetRole()Gets the formResponse roleList<FormResponseStep>getSteps()Gives the steps containing responsesTimestampgetUpdate()TimestampgetUpdateStatus()booleanisFromSave()booleanisPublished()voidsetAdmin(String strAdmin)Sets the formResponse admin depositaryvoidsetDateCreation(Timestamp dateCreation)voidsetFormId(int nFormId)voidsetFromSave(boolean bFromSave)voidsetGuid(String strGuid)voidsetId(int nId)voidsetPublished(boolean bPublished)voidsetRole(String strRole)Sets the formResponse rolevoidsetSteps(List<FormResponseStep> listFormResponseStep)Sets the steps containing responsesvoidsetUpdate(Timestamp dateUpdate)voidsetUpdateStatus(Timestamp dateUpdateStatus)
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
Form response resource type- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the _nId
-
setId
public void setId(int nId)
- Parameters:
nId- the nId to set
-
getFormId
public int getFormId()
- Returns:
- the _nFormId
-
setFormId
public void setFormId(int nFormId)
- Parameters:
nFormId- the nFormId to set
-
getGuid
public String getGuid()
- Returns:
- the _strGuid
-
setGuid
public void setGuid(String strGuid)
- Parameters:
strGuid- the strGuid to set
-
getEncryptedGuid
public String getEncryptedGuid()
- Returns:
- the RSA-encrypted guid
-
getCreation
public Timestamp getCreation()
- Returns:
- the _dateCreation
-
setDateCreation
public void setDateCreation(Timestamp dateCreation)
- Parameters:
dateCreation- the dateCreation to set
-
getUpdate
public Timestamp getUpdate()
- Returns:
- the _dateUpdate
-
setUpdate
public void setUpdate(Timestamp dateUpdate)
- Parameters:
dateUpdate- the dateUpdate to set
-
isFromSave
public boolean isFromSave()
- Returns:
- the _bFromSave
-
setFromSave
public void setFromSave(boolean bFromSave)
- Parameters:
bFromSave- the bFromSave to set
-
isPublished
public boolean isPublished()
- Returns:
- the _bPublished
-
setPublished
public void setPublished(boolean bPublished)
- Parameters:
bPublished- the bPublished to set
-
getUpdateStatus
public Timestamp getUpdateStatus()
- Returns:
- the _dateUpdate
-
setUpdateStatus
public void setUpdateStatus(Timestamp dateUpdateStatus)
- Parameters:
dateUpdate- the dateUpdate to set
-
getSteps
public List<FormResponseStep> getSteps()
Gives the steps containing responses- Returns:
- the steps
-
setSteps
public void setSteps(List<FormResponseStep> listFormResponseStep)
Sets the steps containing responses- Parameters:
listFormResponseStep- the list of steps
-
getRole
public String getRole()
Gets the formResponse role- Returns:
- formResponse role as a String
-
setRole
public void setRole(String strRole)
Sets the formResponse role- Parameters:
strRole- The role
-
getAdmin
public String getAdmin()
Gets the formResponse admin depositary- Returns:
- formResponse admin as a String
-
setAdmin
public void setAdmin(String strAdmin)
Sets the formResponse admin depositary- Parameters:
strRole- The admin depositary
-
getExtendableResourceDescription
public String getExtendableResourceDescription()
- Specified by:
getExtendableResourceDescriptionin interfacefr.paris.lutece.portal.service.resource.IExtendableResource
-
getExtendableResourceImageUrl
public String getExtendableResourceImageUrl()
- Specified by:
getExtendableResourceImageUrlin interfacefr.paris.lutece.portal.service.resource.IExtendableResource
-
getExtendableResourceName
public String getExtendableResourceName()
- Specified by:
getExtendableResourceNamein interfacefr.paris.lutece.portal.service.resource.IExtendableResource
-
getExtendableResourceType
public String getExtendableResourceType()
- Specified by:
getExtendableResourceTypein interfacefr.paris.lutece.portal.service.resource.IExtendableResource
-
getIdExtendableResource
public String getIdExtendableResource()
- Specified by:
getIdExtendableResourcein interfacefr.paris.lutece.portal.service.resource.IExtendableResource
-
-