Class RecordChoiceModel<R extends PersistentRecord>
java.lang.Object
org.apache.wicket.model.LoadableDetachableModel<List<R>>
com.inductiveautomation.ignition.gateway.web.models.RecordChoiceModel<R>
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<List<R>>
,org.apache.wicket.util.io.IClusterable
public class RecordChoiceModel<R extends PersistentRecord>
extends org.apache.wicket.model.LoadableDetachableModel<List<R>>
A LoadableDetatchable model that will load up the list of all records of type <R>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRecordChoiceModel
(SRecordMeta<R> meta, boolean includeNullOption, String... suppressValues) RecordChoiceModel
(SRecordMeta<R> meta, boolean includeNullOption, R hideRecord, String... suppressValues) -
Method Summary
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, onAttach, onDetach, setObject, toString
-
Constructor Details
-
RecordChoiceModel
-
RecordChoiceModel
public RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, R hideRecord, String... suppressValues)
-
-
Method Details
-
load
- Specified by:
load
in classorg.apache.wicket.model.LoadableDetachableModel<List<R extends PersistentRecord>>
-
getObjectAsRecordList
-