|
||||||||||
| 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.EntryTypeDownloadUrl
public class EntryTypeDownloadUrl
class EntryTypeDownloadUrl
| Field Summary | |
|---|---|
static String |
CONSTANT_BLOBSTORE
|
static String |
CONSTANT_OPTION
|
static String |
CONSTANT_WS_REST_URL
|
| 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 | |
|---|---|
EntryTypeDownloadUrl()
|
|
| Method Summary | |
|---|---|
protected String |
checkEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
Check the entry data |
protected void |
checkRecordFieldData(org.apache.commons.fileupload.FileItem fileItem,
Locale locale)
Check the record field data for a single file item |
String |
convertRecordFieldTitleToString(RecordField recordField,
Locale locale,
boolean bDisplayFront)
convert the title contains in the record field to string |
String |
getEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
Get the request data |
fr.paris.lutece.util.html.Paginator<fr.paris.lutece.portal.business.regularexpression.RegularExpression> |
getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex)
The paginator who is use in the template modify of the entry |
fr.paris.lutece.portal.web.util.LocalizedPaginator<fr.paris.lutece.portal.business.regularexpression.RegularExpression> |
getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
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,
List<RecordField> listRecordField,
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 |
String |
getTemplateCreate()
Get template create url |
String |
getTemplateHtmlFormEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in entry form |
String |
getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in search form |
String |
getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in display records |
String |
getTemplateModify()
Get the template modify url |
boolean |
isSortable()
Check if the entry is sortable |
protected void |
setFields(javax.servlet.http.HttpServletRequest request,
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 |
|---|
public static final String CONSTANT_WS_REST_URL
public static final String CONSTANT_BLOBSTORE
public static final String CONSTANT_OPTION
| Constructor Detail |
|---|
public EntryTypeDownloadUrl()
| Method Detail |
|---|
public String getTemplateHtmlFormEntry(boolean isDisplayFront)
getTemplateHtmlFormEntry in class Entrypublic String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
getTemplateHtmlRecordFieldValue in class Entrypublic String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
getTemplateHtmlFormSearchEntry in class Entry
public String getEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
getEntryData in interface IEntrygetEntryData in class Entryrequest - HttpRequestlocale - the locale
public String getTemplateCreate()
getTemplateCreate in interface IEntrygetTemplateCreate in class Entrypublic String getTemplateModify()
getTemplateModify in interface IEntrygetTemplateModify in class Entry
public fr.paris.lutece.util.html.Paginator<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex)
getPaginator in interface IEntrygetPaginator in class EntrynItemPerPage - 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 IEntrygetReferenceListRegularExpression in class Entryentry - the entryplugin - the plugin
public void getRecordFieldData(Record record,
javax.servlet.http.HttpServletRequest request,
boolean bTestDirectoryError,
boolean bAddNewValue,
List<RecordField> listRecordField,
Locale locale)
throws DirectoryErrorException
getRecordFieldData in interface IEntrygetRecordFieldData in class Entryrecord - 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 String convertRecordFieldTitleToString(RecordField recordField,
Locale locale,
boolean bDisplayFront)
convertRecordFieldTitleToString in interface IEntryconvertRecordFieldTitleToString in class EntryrecordField - the recordFieldlocale - the localebDisplayFront - true if display front or false if display back
public boolean isSortable()
isSortable in interface IEntryisSortable in class Entry
public fr.paris.lutece.portal.web.util.LocalizedPaginator<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getPaginator(int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
Locale locale)
getPaginator in interface IEntrygetPaginator in class EntrynItemPerPage - 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 void setFields(javax.servlet.http.HttpServletRequest request,
List<Field> listFields)
setFields in class AbstractEntryTypeUploadrequest - the HTTP requestlistFields - the list of fields to set
protected String checkEntryData(javax.servlet.http.HttpServletRequest request,
Locale locale)
checkEntryData in class AbstractEntryTypeUploadrequest - the HTTP requestlocale - the locale
protected void checkRecordFieldData(org.apache.commons.fileupload.FileItem fileItem,
Locale locale)
throws DirectoryErrorException
checkRecordFieldData in class AbstractEntryTypeUploadfileItem - 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 | |||||||||