Class RecordListModel<R extends PersistentRecord>

java.lang.Object
org.apache.wicket.model.LoadableDetachableModel<List<R>>
com.inductiveautomation.ignition.gateway.web.models.RecordListModel<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 RecordListModel<R extends PersistentRecord> extends org.apache.wicket.model.LoadableDetachableModel<List<R>>
A LoadableDetachableModel that loads a record list on demand
See Also:
  • Constructor Details

    • RecordListModel

      public RecordListModel(RecordMeta<R> meta)
  • Method Details

    • getSortField

      protected SFieldMeta getSortField(SRecordMeta<R> meta)
      Results will be sorted ascending based on this field. Default is Name
    • load

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

      protected boolean filter(R record)