|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.Entry
fr.paris.lutece.plugins.form.business.EntryTypeSession
public class EntryTypeSession
class EntryTypeSession This entry is used to fetch the value of a session's attribute. One example is when coupling form with crm, the module-crm-form will put in session the ID demand and the user GUID. This entry will be able to fetch the ID demand and user GUID when validating the form. Then, it is easier to export the value to directory with the module-form-exportdirectory.
Field Summary |
---|
Constructor Summary | |
---|---|
EntryTypeSession()
|
Method Summary | |
---|---|
java.lang.String |
getHtmlCode()
Get the HtmlCode of the entry |
java.lang.String |
getRequestData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Get the request data |
FormError |
getResponseData(javax.servlet.http.HttpServletRequest request,
java.util.List<Response> listResponse,
java.util.Locale locale)
save in the list of response the response associate to the entry in the form submit |
java.lang.String |
getResponseValueForExport(javax.servlet.http.HttpServletRequest request,
Response response,
java.util.Locale locale)
Get the response value associate to the entry to export in the file export |
java.lang.String |
getResponseValueForRecap(javax.servlet.http.HttpServletRequest request,
Response response,
java.util.Locale locale)
Get the response value associate to the entry to write in the recap |
java.lang.String |
getTemplateCreate()
Get template create url of the entry |
java.lang.String |
getTemplateModify()
Get the template modify url of the entry |
Methods inherited from class fr.paris.lutece.plugins.form.business.Entry |
---|
canUploadFiles, getChildren, getComment, getConfirmFieldTitle, getEntryType, getFieldDepend, getFields, getForm, getFormError, getHelpMessage, getIdEntry, getMapProvider, getNumberConditionalQuestion, getPaginator, getPaginator, getParent, getPosition, getReferenceListRegularExpression, getTitle, isConfirmField, isFieldInLine, isFile, isFirstInTheList, isLastInTheList, isMandatory, isUnique, setChildren, setComment, setConfirmField, setConfirmFieldTitle, setEntryType, setFieldDepend, setFieldInLine, setFields, setFirstInTheList, setForm, setFormError, setHelpMessage, setIdEntry, setLastInTheList, setMandatory, setMapProvider, setNumberConditionalQuestion, setParent, setPosition, setResponseToStringValue, setTitle, setUnique |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryTypeSession()
Method Detail |
---|
public java.lang.String getHtmlCode()
getHtmlCode
in interface IEntry
getHtmlCode
in class Entry
public java.lang.String getTemplateCreate()
getTemplateCreate
in interface IEntry
getTemplateCreate
in class Entry
public java.lang.String getTemplateModify()
getTemplateModify
in interface IEntry
getTemplateModify
in class Entry
public java.lang.String getRequestData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
getRequestData
in interface IEntry
getRequestData
in class Entry
request
- HttpRequestlocale
- the locale
public FormError getResponseData(javax.servlet.http.HttpServletRequest request, java.util.List<Response> listResponse, java.util.Locale locale)
getResponseData
in interface IEntry
getResponseData
in class Entry
request
- HttpRequestlistResponse
- the list of response associate to the entry in the form submitlocale
- the locale
public java.lang.String getResponseValueForExport(javax.servlet.http.HttpServletRequest request, Response response, java.util.Locale locale)
getResponseValueForExport
in interface IEntry
getResponseValueForExport
in class Entry
request
- the requestresponse
- the response associate to the entrylocale
- the locale
public java.lang.String getResponseValueForRecap(javax.servlet.http.HttpServletRequest request, Response response, java.util.Locale locale)
getResponseValueForRecap
in interface IEntry
getResponseValueForRecap
in class Entry
request
- the requestresponse
- the response associate to the entrylocale
- the locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |