public abstract class AbstractRecordColumnDisplay extends Object implements IRecordColumnDisplay
| Constructor and Description |
|---|
AbstractRecordColumnDisplay() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCompleteSortUrl(String strSortUrl)
Build the complete sort url for the column
|
abstract String |
buildRecordColumnCellTemplate(RecordColumnCell recordColumnCell,
Locale locale)
Build the template of the given RecordColumnCell for the RecordColumn
|
abstract String |
buildRecordColumnHeaderTemplate(String strSortUrl,
Locale locale)
Build the header template of the RecordColumn
|
int |
getPosition()
Return the position of the element
|
IRecordColumn |
getRecordColumn()
Return the RecordColumn object associated to the RecordColumnDisplay
|
String |
getRecordColumnHeaderTemplate()
Return the header template of the RecordColumn
|
protected String |
getRecordColumnTitle()
Return the title of the RecordColumn or StringUtils.EMPTY if not found
|
void |
setPosition(int nPosition)
Set the position of the element
|
void |
setRecordColumn(IRecordColumn recordColumn)
Set the RecordColumn associated to the current RecordColumnDisplay
|
protected void |
setRecordColumnHeaderTemplate(String strRecordColumnHeaderTemplate)
Set the record column header template to the record column
|
public String getRecordColumnHeaderTemplate()
getRecordColumnHeaderTemplate in interface IRecordColumnDisplayprotected void setRecordColumnHeaderTemplate(String strRecordColumnHeaderTemplate)
strRecordColumnHeaderTemplate - The record column header template to set to the record columnpublic IRecordColumn getRecordColumn()
getRecordColumn in interface IRecordColumnDisplaypublic void setRecordColumn(IRecordColumn recordColumn)
setRecordColumn in interface IRecordColumnDisplayrecordColumn - The RecordColumn to associate to the RecordColumnDisplaypublic int getPosition()
getPosition in interface IRecordListPositionpublic void setPosition(int nPosition)
setPosition in interface IRecordListPositionnPosition - The position to set to the elementpublic abstract String buildRecordColumnHeaderTemplate(String strSortUrl, Locale locale)
buildRecordColumnHeaderTemplate in interface IRecordColumnDisplaystrSortUrl - The url used to sort the columnlocale - The locale to use to build the templatepublic abstract String buildRecordColumnCellTemplate(RecordColumnCell recordColumnCell, Locale locale)
buildRecordColumnCellTemplate in interface IRecordColumnDisplayrecordColumnCell - The RecordColumnCell to use for build the template of the RecordColumnDisplaylocale - The locale to use for build the templateprotected String getRecordColumnTitle()
Copyright © 2020 City of Paris. All rights reserved.