org.broadleafcommerce.openadmin.web.form.component
Class ListGridRecord
java.lang.Object
org.broadleafcommerce.openadmin.web.form.component.ListGridRecord
public class ListGridRecord
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listGrid
protected ListGrid listGrid
id
protected String id
fields
protected List<Field> fields
fieldMap
protected Map<String,Field> fieldMap
- Convenience map keyed by the field name. Used to guarantee field ordering with header fields within a ListGrid
ListGridRecord
public ListGridRecord()
getPath
public String getPath()
getCanLinkToExternalEntity
public boolean getCanLinkToExternalEntity()
getExternalEntityPath
public String getExternalEntityPath()
getListGrid
public ListGrid getListGrid()
setListGrid
public void setListGrid(ListGrid listGrid)
getId
public String getId()
setId
public void setId(String id)
getFields
public List<Field> getFields()
- Normally you should not be looping through these fields. In order to preserve proper field ordering, instead you
should loop through
ListGrid.getHeaderFields() and then invoke the getField(String) method
with that header field name.
- Returns:
setFields
public void setFields(List<Field> fields)
getField
public Field getField(String fieldName)
- Returns a
Field in this record for a particular field name. Used when displaying a ListGrid in order
to guarantee proper field ordering
- Parameters:
fieldName -
- Returns:
Copyright © 2013. All Rights Reserved.