|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.genericattributes.service.entrytype.EntryTypeService
public abstract class EntryTypeService
Abstract implementation of IEntryTypeService
| Field Summary |
|---|
| Fields inherited from interface fr.paris.lutece.plugins.genericattributes.service.entrytype.IEntryTypeService |
|---|
FIELD_COMMENT, FIELD_CONFIRM_FIELD_TITLE, FIELD_HEIGHT, FIELD_INSERT_GROUP, FIELD_MAX_SIZE_ENTER, FIELD_TITLE, FIELD_WIDTH, MESSAGE_CONFIRM_FIELD, MESSAGE_MANDATORY_FIELD, MESSAGE_MAXLENGTH, MESSAGE_MYLUTECE_AUTHENTIFICATION_REQUIRED, MESSAGE_NUMERIC_FIELD, MESSAGE_UNIQUE_FIELD, MESSAGE_XSS_FIELD, PARAMETER_COMMENT, PARAMETER_CONFIRM_FIELD, PARAMETER_CONFIRM_FIELD_TITLE, PARAMETER_CSS_CLASS, PARAMETER_ERROR_MESSAGE, PARAMETER_FIELD_IN_LINE, PARAMETER_HEIGHT, PARAMETER_HELP_MESSAGE, PARAMETER_MANDATORY, PARAMETER_MAX_SIZE_ENTER, PARAMETER_TITLE, PARAMETER_UNIQUE, PARAMETER_VALUE, PARAMETER_WIDTH, PREFIX_ATTRIBUTE, SUFFIX_CONFIRM_FIELD |
| Constructor Summary | |
|---|---|
EntryTypeService()
|
|
| Method Summary | |
|---|---|
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. |
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 |
void |
setResponseToStringValue(Entry entry,
Response response,
Locale locale)
Sets the string value of the response |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.paris.lutece.plugins.genericattributes.service.entrytype.IEntryTypeService |
|---|
getTemplateCreate, getTemplateHtmlForm, getTemplateModify |
| Constructor Detail |
|---|
public EntryTypeService()
| Method Detail |
|---|
public String getRequestData(Entry entry,
javax.servlet.http.HttpServletRequest request,
Locale locale)
getRequestData in interface IEntryTypeServiceentry - The entryrequest - HttpRequestlocale - the locale
public GenericAttributeError getResponseData(Entry entry,
javax.servlet.http.HttpServletRequest request,
List<Response> listResponse,
Locale locale)
getResponseData in interface IEntryTypeServiceentry - The entryrequest - HttpRequestlistResponse - the list of response associate to the entry. Newly
created response will be inserted in this list.locale - the locale
public String getResponseValueForExport(Entry entry,
javax.servlet.http.HttpServletRequest request,
Response response,
Locale locale)
getResponseValueForExport in interface IEntryTypeServiceentry - The entryrequest - the requestresponse - the response associate to the entrylocale - the locale
public String getResponseValueForRecap(Entry entry,
javax.servlet.http.HttpServletRequest request,
Response response,
Locale locale)
getResponseValueForRecap in interface IEntryTypeServiceentry - The entryrequest - the requestresponse - the response associate to the entrylocale - the locale
public fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(Entry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getReferenceListRegularExpression in interface IEntryTypeServiceentry - the entryplugin - the plugin
public void setResponseToStringValue(Entry entry,
Response response,
Locale locale)
setResponseToStringValue in interface IEntryTypeServiceentry - The entryresponse - the responselocale - the locale - will use a default one if not specified
public GenericAttributeError canUploadFiles(Entry entry,
List<org.apache.commons.fileupload.FileItem> listUploadedFileItems,
List<org.apache.commons.fileupload.FileItem> listFileItemsToUpload,
Locale locale)
canUploadFiles in interface IEntryTypeServiceentry - The entrylistUploadedFileItems - the list of uploaded fileslistFileItemsToUpload - the list of files to uploadlocale - the locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||