|
||||||||||
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.EntryTypeSQL
public class EntryTypeSQL
class EntryTypeSQL
Field Summary |
---|
Constructor Summary | |
---|---|
EntryTypeSQL()
|
Method Summary | |
---|---|
java.lang.String |
convertRecordFieldTitleToString(RecordField recordField,
java.util.Locale locale,
boolean bDisplayFront)
convert the title contains in the record field to string |
java.lang.String |
convertRecordFieldValueToString(RecordField recordField,
java.util.Locale locale,
boolean bDisplayFront,
boolean bDisplayExport)
convert the value contains in the record field to string |
java.lang.String |
getEntryData(javax.servlet.http.HttpServletRequest request,
java.util.Locale locale)
Get the request data |
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 |
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 |
getSqlQueryFields()
Return fields from a SQL query |
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 |
getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Get the url of the template wich contains the Html code used in search 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryTypeSQL()
Method Detail |
---|
public java.lang.String getTemplateHtmlFormEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormEntry
in class Entry
public java.lang.String getTemplateHtmlRecordFieldValue(boolean isDisplayFront)
Entry
getTemplateHtmlRecordFieldValue
in class Entry
public java.lang.String getTemplateHtmlFormSearchEntry(boolean isDisplayFront)
Entry
getTemplateHtmlFormSearchEntry
in class Entry
public java.lang.String getEntryData(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
IEntry
getEntryData
in interface IEntry
getEntryData
in class Entry
request
- HttpRequestlocale
- the locale
public java.lang.String getTemplateCreate()
IEntry
getTemplateCreate
in interface IEntry
getTemplateCreate
in class Entry
public java.lang.String getTemplateModify()
IEntry
getTemplateModify
in interface IEntry
getTemplateModify
in class Entry
public fr.paris.lutece.util.html.Paginator getPaginator(int nItemPerPage, java.lang.String strBaseUrl, java.lang.String strPageIndexParameterName, java.lang.String strPageIndex)
IEntry
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 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
IEntry
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 fr.paris.lutece.util.ReferenceList getSqlQueryFields()
public java.lang.String convertRecordFieldValueToString(RecordField recordField, java.util.Locale locale, boolean bDisplayFront, boolean bDisplayExport)
IEntry
convertRecordFieldValueToString
in interface IEntry
convertRecordFieldValueToString
in class Entry
recordField
- the recordFieldlocale
- the localebDisplayFront
- true if display front or false if display backbDisplayExport
- true if display export
public java.lang.String convertRecordFieldTitleToString(RecordField recordField, java.util.Locale locale, boolean bDisplayFront)
IEntry
convertRecordFieldTitleToString
in interface IEntry
convertRecordFieldTitleToString
in class Entry
recordField
- the recordFieldlocale
- the localebDisplayFront
- true if display front or false if display back
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |