public interface IEntryTypeService
Modifier and Type | Method and Description |
---|---|
GenericAttributeError |
canUploadFiles(Entry entry,
List<org.apache.commons.fileupload.FileItem> listUploadedFileItems,
List<org.apache.commons.fileupload.FileItem> listFileItemsToUpload,
Locale locale)
Check if the file can be uploaded or not.
|
fr.paris.lutece.util.ReferenceList |
getReferenceListRegularExpression(Entry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of regular expression who is use in the template modify of the entry
|
String |
getRequestData(Entry entry,
javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the request data
|
GenericAttributeError |
getResponseData(Entry entry,
javax.servlet.http.HttpServletRequest request,
List<Response> listResponse,
Locale locale)
Generate the list of responses associated with the given entry from the request, and saved it into the Entry object.
|
int |
getResponseIterationValue(javax.servlet.http.HttpServletRequest request)
Return the iteration number for a response from the request
|
String |
getResponseValueForExport(Entry entry,
javax.servlet.http.HttpServletRequest request,
Response response,
Locale locale)
Get the response value associate to the entry to export in the file export
|
String |
getResponseValueForRecap(Entry entry,
javax.servlet.http.HttpServletRequest request,
Response response,
Locale locale)
Get the response value associate to the entry to write in the recap
|
String |
getTemplateCreate(Entry entry,
boolean bDisplayFront)
Get template create URL of the entry
|
String |
getTemplateEntryReadOnly()
Return the template associated to an EntryType for read only uses
|
String |
getTemplateEntryReadOnly(boolean bDisplayFront)
Return the template associated to an EntryType for read only uses
|
String |
getTemplateHtmlForm(Entry entry,
boolean bDisplayFront)
Get the template to display the creation or modification form of an entry of this entry type
|
String |
getTemplateModify(Entry entry,
boolean bDisplayFront)
Get the template modify URL of the entry
|
void |
setResponseToStringValue(Entry entry,
Response response,
Locale locale)
Sets the string value of the response
|
static final String PARAMETER_MAX_FILES
static final String PARAMETER_FILE_MAX_SIZE
static final String PARAMETER_EXPORT_BINARY
static final String PARAMETER_ENTRY_CODE
static final String PARAMETER_TITLE
static final String PARAMETER_HELP_MESSAGE
static final String PARAMETER_COMMENT
static final String PARAMETER_MANDATORY
static final String PARAMETER_FIELD_IN_LINE
static final String PARAMETER_HEIGHT
static final String PARAMETER_WIDTH
static final String PARAMETER_VALUE
static final String PARAMETER_MAX_SIZE_ENTER
static final String PARAMETER_CONFIRM_FIELD
static final String PARAMETER_CONFIRM_FIELD_TITLE
static final String SUFFIX_CONFIRM_FIELD
static final String PREFIX_ATTRIBUTE
static final String PREFIX_ITERATION_ATTRIBUTE
static final String PARAMETER_UNIQUE
static final String PARAMETER_CSS_CLASS
static final String PARAMETER_ERROR_MESSAGE
static final String PARAMETER_NUMBER_ROWS
static final String PARAMETER_NUMBER_COLUMNS
static final String PARAMETER_ONLY_DISPLAY_IN_BACK
static final String PARAMETER_EDITABLE_BACK
static final String PARAMETER_MAX_IMAGE_SIZE
static final String PARAMETER_IMAGE_TYPE
static final String PARAMETER_INDEXED
static final String PARAMETER_USED_CORRECT_RESPONSE
static final String PARAMETER_USED_COMPLETE_RESPONSE
static final String PARAMETER_EXPORTABLE
static final String FIELD_DATE_VALUE
static final String FIELD_PROVIDER
static final String FIELD_EDIT_MODE
static final String FIELD_VIEW_NUMBER
static final String FIELD_ID_ADDRESS
static final String FIELD_ADDRESS
static final String FIELD_ADDITIONAL_ADDRESS
static final String FIELD_X
static final String FIELD_Y
static final String FIELD_GEOMETRY
static final String FIELD_PREFIX
static final String FIELD_FILE_MAX_SIZE
static final String FIELD_MAX_FILES
static final String FIELD_FILE_BINARY
static final String FIELD_FILE_TYPE
static final String FIELD_ANSWER_CHOICE
static final String FIELD_ARRAY_CELL
static final String FIELD_ATTRIBUTE_NAME
static final String FIELD_CONFIRM
static final String FIELD_MYLUTECE_ATTRIBUTE_NAME_CODE
static final String FIELD_USED_CORRECT_RESPONSE
static final String FIELD_USED_COMPLETE_RESPONSE
static final String FIELD_ARRAY_ROW
static final String FIELD_ARRAY_COLUMN
static final String FIELD_IMAGE_TYPE
static final String FIELD_WIDTH
static final String FIELD_HEIGHT
static final String FIELD_MAX_SIZE
static final String FIELD_TEXT_CONF
static final String FIELD_EXPORTABLE
static final String FIELD_RICHTEXT
static final String ATTRIBUTE_RESPONSE_ITERATION_NUMBER
static final String MESSAGE_MANDATORY_FIELD
static final String MESSAGE_NUMERIC_FIELD
static final String MESSAGE_CONFIRM_FIELD
static final String MESSAGE_UNIQUE_FIELD
static final String MESSAGE_XSS_FIELD
static final String MESSAGE_MAXLENGTH
static final String MESSAGE_INVALID_SQL_QUERY
static final String MESSAGE_MYLUTECE_AUTHENTIFICATION_REQUIRED
static final String ERROR_FIELD_TITLE
static final String ERROR_FIELD_MAX_FILES
static final String ERROR_FIELD_FILE_MAX_SIZE
static final String FIELD_INSERT_GROUP
static final String FIELD_COMMENT
static final String ERROR_FIELD_WIDTH
static final String ERROR_FIELD_HEIGHT
static final String FIELD_MAX_SIZE_ENTER
static final String FIELD_NUMBER_ROWS
static final String FIELD_NUMBER_COLUMNS
static final String FIELD_CONFIRM_FIELD_TITLE
static final String ERROR_FIELD_FILE_TYPE
String getTemplateHtmlForm(Entry entry, boolean bDisplayFront)
entry
- The entrybDisplayFront
- True if the template will be used to display content in Front Office, false if it will be used to display content in back officeString getTemplateCreate(Entry entry, boolean bDisplayFront)
entry
- The entrybDisplayFront
- True if the template will be used to display content in Front Office, false if it will be used to display content in back officeString getTemplateModify(Entry entry, boolean bDisplayFront)
entry
- The entrybDisplayFront
- True if the template will be used to display content in Front Office, false if it will be used to display content in back officeString getRequestData(Entry entry, javax.servlet.http.HttpServletRequest request, Locale locale)
entry
- The entryrequest
- HttpRequestlocale
- the localeGenericAttributeError getResponseData(Entry entry, javax.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale)
entry
- The entryrequest
- HttpRequestlistResponse
- the list of response associate to the entry. Newly created response will be inserted in this list.locale
- the localefr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(Entry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry
- the entryplugin
- the pluginString getResponseValueForExport(Entry entry, javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
entry
- The entryresponse
- the response associate to the entrylocale
- the localerequest
- the requestString getResponseValueForRecap(Entry entry, javax.servlet.http.HttpServletRequest request, Response response, Locale locale)
entry
- The entryresponse
- the response associate to the entrylocale
- the localerequest
- the requestGenericAttributeError canUploadFiles(Entry entry, List<org.apache.commons.fileupload.FileItem> listUploadedFileItems, List<org.apache.commons.fileupload.FileItem> listFileItemsToUpload, Locale locale)
entry
- The entrylistUploadedFileItems
- the list of uploaded fileslistFileItemsToUpload
- the list of files to uploadlocale
- the localevoid setResponseToStringValue(Entry entry, Response response, Locale locale)
entry
- The entryresponse
- the responselocale
- the locale - will use a default one if not specifiedint getResponseIterationValue(javax.servlet.http.HttpServletRequest request)
request
- the request to retrieve the iteration number of the response fromString getTemplateEntryReadOnly()
String getTemplateEntryReadOnly(boolean bDisplayFront)
bDisplayFront
- trueCopyright © 2020 City of Paris. All rights reserved.