|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.Entry
fr.paris.lutece.plugins.directory.business.AbstractEntryTypeUpload
fr.paris.lutece.plugins.directory.business.EntryTypeImg
public class EntryTypeImg
class EntryTypeImg
Field Summary | |
---|---|
protected static java.lang.String |
ERROR_FIELD_BIG_THUMBNAIL
|
protected static java.lang.String |
ERROR_FIELD_THUMBNAIL
|
protected static java.lang.String |
FIELD_BIG_THUMBNAIL_HEIGHT
|
protected static java.lang.String |
FIELD_BIG_THUMBNAIL_WIDTH
|
protected static java.lang.String |
FIELD_THUMBNAIL_HEIGHT
|
protected static java.lang.String |
FIELD_THUMBNAIL_WIDTH
|
Fields inherited from class fr.paris.lutece.plugins.directory.business.AbstractEntryTypeUpload |
---|
ALL, COMMA, CONSTANT_FILE_MAX_SIZE, CONSTANT_MAX_FILES, PARAMETER_FILE_MAX_SIZE, PARAMETER_MAX_FILES |
Constructor Summary | |
---|---|
EntryTypeImg()
|
Method Summary | |
---|---|
protected java.lang.String |
checkEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Check the entry data |
protected void |
checkRecordFieldData(org.apache.commons.fileupload.FileItem fileItem,
java.util.Locale locale)
Check the record field data for a single file item |
java.lang.String |
getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Get the request data |
void |
getImportRecordFieldData(Record record,
java.lang.String strImportValue,
boolean bTestDirectoryError,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
fr.paris.lutece.util.html.Paginator |
getPaginator(int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex)
The paginator who is use in the template modify of the entry |
fr.paris.lutece.portal.web.util.LocalizedPaginator |
getPaginator(int nItemPerPage,
java.lang.String strBaseUrl,
java.lang.String strPageIndexParameterName,
java.lang.String strPageIndex,
java.util.Locale locale)
The paginator who is use in the template modify of the entry |
void |
getRecordFieldData(Record record,
javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
boolean bAddNewValue,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
void |
getRecordFieldData(Record record,
java.util.List<java.lang.String> lstValue,
boolean bTestDirectoryError,
boolean bAddNewValue,
java.util.List<RecordField> listRecordField,
java.util.Locale locale)
save in the list of record field the record field associate to the entry |
fr.paris.lutece.util.ReferenceList |
getReferenceListRegularExpression(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of regular expression who is use in the template modify |
java.lang.String |
getTemplateCreate()
Get template create url |
java.lang.String |
getTemplateHtmlFormEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in entry form |
java.lang.String |
getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in display records |
java.lang.String |
getTemplateModify()
Get the template modify url |
protected void |
setFields(javax.servlet.http.HttpServletRequest request,
java.util.List<Field> listFields)
Set the fields |
Methods inherited from class fr.paris.lutece.plugins.directory.business.AbstractEntryTypeUpload |
---|
canUploadFiles, checkRecordFieldData, getFileSources, setFields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String FIELD_THUMBNAIL_WIDTH
protected static final java.lang.String FIELD_THUMBNAIL_HEIGHT
protected static final java.lang.String FIELD_BIG_THUMBNAIL_WIDTH
protected static final java.lang.String FIELD_BIG_THUMBNAIL_HEIGHT
protected static final java.lang.String ERROR_FIELD_THUMBNAIL
protected static final java.lang.String ERROR_FIELD_BIG_THUMBNAIL
Constructor Detail |
---|
public EntryTypeImg()
Method Detail |
---|
public java.lang.String getTemplateHtmlFormEntry(boolean isDisplayFront)
getTemplateHtmlFormEntry
in class Entry
public java.lang.String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
getTemplateHtmlRecordFieldValue
in class Entry
public java.lang.String getEntryData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
getEntryData
in interface IEntry
getEntryData
in class Entry
request
- HttpRequestlocale
- the locale
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 void getRecordFieldData(Record record, java.util.List<java.lang.String> lstValue, boolean bTestDirectoryError, boolean bAddNewValue, java.util.List<RecordField> listRecordField, java.util.Locale locale) throws DirectoryErrorException
getRecordFieldData
in interface IEntry
getRecordFieldData
in class Entry
lstValue
- the list which contains the string value of the record fieldbTestDirectoryError
- true if the value contains in the request must be testedlistRecordField
- the list of record field associate to the recordlocale
- the locale
DirectoryErrorException
public void getImportRecordFieldData(Record record, java.lang.String strImportValue, boolean bTestDirectoryError, java.util.List<RecordField> listRecordField, java.util.Locale locale) throws DirectoryErrorException
getImportRecordFieldData
in interface IEntry
getImportRecordFieldData
in class Entry
record
- the record associated to the record fieldstrImportValue
- the import string which contains the string value of the record fieldbTestDirectoryError
- true if the value contains in the request must be testedlistRecordField
- the list of record field associate to the recordlocale
- the locale
DirectoryErrorException
public void getRecordFieldData(Record record, javax.servlet.http.HttpServletRequest request, boolean bTestDirectoryError, boolean bAddNewValue, java.util.List<RecordField> listRecordField, java.util.Locale locale) throws DirectoryErrorException
getRecordFieldData
in interface IEntry
getRecordFieldData
in class Entry
record
- the record associated to the record fieldrequest
- HttpRequestbTestDirectoryError
- true if the value contains in the request must be testedlistRecordField
- the list of record field associate to the recordlocale
- the locale
DirectoryErrorException
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, java.lang.String strBaseUrl, java.lang.String strPageIndexParameterName, java.lang.String strPageIndex)
getPaginator
in interface IEntry
getPaginator
in class Entry
nItemPerPage
- Number of items to display per pagestrBaseUrl
- The base Url for build links on each page linkstrPageIndexParameterName
- The parameter name for the page indexstrPageIndex
- The current page index
public fr.paris.lutece.util.ReferenceList getReferenceListRegularExpression(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getReferenceListRegularExpression
in interface IEntry
getReferenceListRegularExpression
in class Entry
entry
- the entryplugin
- the plugin
public fr.paris.lutece.portal.web.util.LocalizedPaginator getPaginator(int nItemPerPage, java.lang.String strBaseUrl, java.lang.String strPageIndexParameterName, java.lang.String strPageIndex, java.util.Locale locale)
getPaginator
in interface IEntry
getPaginator
in class Entry
nItemPerPage
- Number of items to display per pagestrBaseUrl
- The base Url for build links on each page linkstrPageIndexParameterName
- The parameter name for the page indexstrPageIndex
- The current page indexlocale
- Locale
protected java.lang.String checkEntryData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
checkEntryData
in class AbstractEntryTypeUpload
request
- the HTTP requestlocale
- the locale
protected void setFields(javax.servlet.http.HttpServletRequest request, java.util.List<Field> listFields)
setFields
in class AbstractEntryTypeUpload
request
- the HTTP requestlistFields
- the list of fields to setprotected void checkRecordFieldData(org.apache.commons.fileupload.FileItem fileItem, java.util.Locale locale) throws DirectoryErrorException
checkRecordFieldData
in class AbstractEntryTypeUpload
fileItem
- the file itemlocale
- the locale
DirectoryErrorException
- exception if there is an error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |