fr.paris.lutece.plugins.form.business
Class EntryTypeTextArea

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.Entry
      extended by fr.paris.lutece.plugins.form.business.EntryTypeTextArea
All Implemented Interfaces:
IEntry

public class EntryTypeTextArea
extends Entry

class EntryTypeTextArea


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.form.business.Entry
EMPTY_STRING, FIELD_COMMENT, FIELD_CONFIRM_FIELD, FIELD_CONFIRM_FIELD_TITLE, FIELD_HEIGHT, FIELD_HELP_MESSAGE, FIELD_INSERT_GROUP, FIELD_MANDATORY, FIELD_MAX_SIZE_ENTER, FIELD_PRESENTATION, FIELD_TITLE, FIELD_VALUE, FIELD_WIDTH, JSP_DOWNLOAD_FILE, MARK_ENTRY, MESSAGE_CONFIRM_FIELD, MESSAGE_MANDATORY_FIELD, MESSAGE_NUMERIC_FIELD, MESSAGE_UNIQUE_FIELD, MESSAGE_XSS_FIELD, PARAMETER_COMMENT, PARAMETER_CONFIRM_FIELD, PARAMETER_CONFIRM_FIELD_TITLE, PARAMETER_FIELD_IN_LINE, PARAMETER_HEIGHT, PARAMETER_HELP_MESSAGE, PARAMETER_MANDATORY, PARAMETER_MAX_SIZE_ENTER, PARAMETER_TITLE, PARAMETER_UNIQUE, PARAMETER_VALUE, PARAMETER_WIDTH, SUFFIX_CONFIRM_FIELD
 
Constructor Summary
EntryTypeTextArea()
           
 
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
getChildren, getComment, getConfirmFieldTitle, getEntryType, getFieldDepend, getFields, getForm, getHelpMessage, getIdEntry, getNumberConditionalQuestion, getPaginator, getParent, getPosition, getReferenceListRegularExpression, getTitle, isConfirmField, isFieldInLine, isFirstInTheList, isLastInTheList, isMandatory, isUnique, setChildren, setComment, setConfirmField, setConfirmFieldTitle, setEntryType, setFieldDepend, setFieldInLine, setFields, setFirstInTheList, setForm, setHelpMessage, setIdEntry, setLastInTheList, setMandatory, setNumberConditionalQuestion, setParent, setPosition, setTitle, setUnique
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryTypeTextArea

public EntryTypeTextArea()
Method Detail

getHtmlCode

public java.lang.String getHtmlCode()
Get the HtmlCode of the entry

Specified by:
getHtmlCode in interface IEntry
Overrides:
getHtmlCode in class Entry
Returns:
the HtmlCode of the entry

getRequestData

public java.lang.String getRequestData(javax.servlet.http.HttpServletRequest request,
                                       java.util.Locale locale)
Get the request data

Specified by:
getRequestData in interface IEntry
Overrides:
getRequestData in class Entry
Parameters:
request - HttpRequest
locale - the locale
Returns:
null if all data requiered are in the request else the url of jsp error

getTemplateCreate

public java.lang.String getTemplateCreate()
Get template create url of the entry

Specified by:
getTemplateCreate in interface IEntry
Overrides:
getTemplateCreate in class Entry
Returns:
template create url of the entry

getTemplateModify

public java.lang.String getTemplateModify()
Get the template modify url of the entry

Specified by:
getTemplateModify in interface IEntry
Overrides:
getTemplateModify in class Entry
Returns:
template modify url of the entry

getResponseData

public 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

Specified by:
getResponseData in interface IEntry
Overrides:
getResponseData in class Entry
Parameters:
request - HttpRequest
listResponse - the list of response associate to the entry in the form submit
locale - the locale
Returns:
a Form error object if there is an error in the response

getResponseValueForExport

public 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

Specified by:
getResponseValueForExport in interface IEntry
Overrides:
getResponseValueForExport in class Entry
Parameters:
response - the response associate to the entry
locale - the locale
request - the request
Returns:
the response value associate to the entry to export in the file export

getResponseValueForRecap

public 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

Specified by:
getResponseValueForRecap in interface IEntry
Overrides:
getResponseValueForRecap in class Entry
Parameters:
response - the response associate to the entry
locale - the locale
request - the request
Returns:
the response value associate to the entry to write in the recap


Copyright © 2010 Mairie de Paris. All Rights Reserved.