public class RecordTemplateModel extends Object implements Serializable
Constructor and Description |
---|
RecordTemplateModel() |
RecordTemplateModel(Record record,
ObjectWrapper objectWrapper) |
Modifier and Type | Method and Description |
---|---|
TemplateModel |
get(String key) |
Object |
getAdaptedObject(Class<?> hint) |
ObjectWrapper |
getObjectWrapper() |
Record |
getRecord() |
boolean |
isEmpty() |
TemplateCollectionModel |
keys() |
KeyValuePairIterator |
keyValuePairIterator() |
RecordTemplateModel |
setObjectWrapper(ObjectWrapper objectWrapper) |
RecordTemplateModel |
setRecord(Record record) |
int |
size() |
TemplateCollectionModel |
values() |
static List<RecordTemplateModel> |
wrap(Collection<Record> records,
ObjectWrapper objectWrapper) |
static List<RecordTemplateModel> |
wrap(RecordList recordList,
ObjectWrapper objectWrapper) |
public RecordTemplateModel()
public RecordTemplateModel(Record record, ObjectWrapper objectWrapper)
public Record getRecord()
public RecordTemplateModel setRecord(Record record)
public ObjectWrapper getObjectWrapper()
public RecordTemplateModel setObjectWrapper(ObjectWrapper objectWrapper)
public int size() throws TemplateModelException
TemplateModelException
public TemplateCollectionModel keys() throws TemplateModelException
TemplateModelException
public TemplateCollectionModel values() throws TemplateModelException
TemplateModelException
public TemplateModel get(String key) throws TemplateModelException
TemplateModelException
public boolean isEmpty() throws TemplateModelException
TemplateModelException
public KeyValuePairIterator keyValuePairIterator() throws TemplateModelException
TemplateModelException
public static List<RecordTemplateModel> wrap(RecordList recordList, ObjectWrapper objectWrapper)
public static List<RecordTemplateModel> wrap(Collection<Record> records, ObjectWrapper objectWrapper)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.