|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.workplace.list.CmsListItem
public class CmsListItem
Generic list item.
| Constructor Summary | |
|---|---|
CmsListItem(CmsListMetadata metadata,
String id)
Default Constructor. |
|
| Method Summary | |
|---|---|
Object |
get(String columnId)
Returns the value of the column for this item. |
String |
getId()
Returns the id of the item. |
CmsListMetadata |
getMetadata()
Returns the metadata. |
Object |
set(String columnId,
Object value)
Sets the object to display at the given column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsListItem(CmsListMetadata metadata,
String id)
id - the id of the item has to be uniquemetadata - the corresponding list definition| Method Detail |
|---|
public Object get(String columnId)
throws CmsIllegalArgumentException
columnId - the column id
null
CmsIllegalArgumentException - if the given columnId is invalidpublic String getId()
CmsHtmlList.getItem(String)public CmsListMetadata getMetadata()
public Object set(String columnId,
Object value)
throws CmsIllegalArgumentException
columnId - the column idvalue - the value to display
null if unset
CmsIllegalArgumentException - if the given columnId is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||