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 Details

    • RecordChoiceModel

      public RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, String... suppressValues)
    • RecordChoiceModel

      public RecordChoiceModel(SRecordMeta<R> meta, boolean includeNullOption, R hideRecord, String... suppressValues)
  • Method Details

    • load

      protected List<R> load()
      Specified by:
      load in class org.apache.wicket.model.LoadableDetachableModel<List<R extends PersistentRecord>>
    • getObjectAsRecordList

      public List<R> getObjectAsRecordList()