Class RecordChoiceModel<R extends PersistentRecord>
- java.lang.Object
-
- org.apache.wicket.model.LoadableDetachableModel<java.util.List<R>>
-
- com.inductiveautomation.ignition.gateway.web.models.RecordChoiceModel<R>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<java.util.List<R>>
,org.apache.wicket.util.io.IClusterable
public class RecordChoiceModel<R extends PersistentRecord> extends org.apache.wicket.model.LoadableDetachableModel<java.util.List<R>>
A LoadableDetatchable model that will load up the list of all records of type <R>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, java.lang.String... suppressValues)
RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, R hideRecord, java.lang.String... suppressValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<R>
getObjectAsRecordList()
protected java.util.List<R>
load()
-
-
-
Constructor Detail
-
RecordChoiceModel
public RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, java.lang.String... suppressValues)
-
RecordChoiceModel
public RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, R hideRecord, java.lang.String... suppressValues)
-
-
Method Detail
-
load
protected java.util.List<R> load()
- Specified by:
load
in classorg.apache.wicket.model.LoadableDetachableModel<java.util.List<R extends PersistentRecord>>
-
getObjectAsRecordList
public java.util.List<R> getObjectAsRecordList()
-
-