Class RecordChoiceModel<R extends PersistentRecord>

  • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<R> getObjectAsRecordList()  
      protected java.util.List<R> load()  
      • Methods inherited from class org.apache.wicket.model.LoadableDetachableModel

        detach, getObject, isAttached, onAttach, onDetach, setObject, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class org.apache.wicket.model.LoadableDetachableModel<java.util.List<R extends PersistentRecord>>
      • getObjectAsRecordList

        public java.util.List<R> getObjectAsRecordList()