public interface I_CmsDataViewItem
This interface provides both the data to display the data item in the widget used to select data items, as well as the data which should be stored by OpenCms when the data item is selected by the user (its ID, title, description and an additional data string for other information)
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getColumnData(java.lang.String colName)
Gets the data for the column with the given name.
|
java.lang.String |
getData()
Returns the additional data which should be stored by OpenCms.
|
java.lang.String |
getDescription()
Returns the description to be stored by OpenCms.
|
java.lang.String |
getId()
Gets the ID of the data item.
|
java.lang.String |
getImage()
Gets the URL of the image to be displayed for this data item.
|
java.lang.String |
getTitle()
Gets the title to be stored by OpenCms.
|
java.lang.Object getColumnData(java.lang.String colName)
The returned object should be of a type compatible with the type of the column returned by I_CmsDataView.getColumns() with the same name.
colName - the column namejava.lang.String getData()
java.lang.String getDescription()
java.lang.String getId()
The ID should be unique for the given I_CmsDataView implementation which returned this data item.
java.lang.String getImage()
java.lang.String getTitle()