ontopoly.models
Class AvailableTopicTypesModel

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<java.util.List<TopicType>>
      extended by ontopoly.models.AvailableTopicTypesModel
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<java.util.List<TopicType>>

public abstract class AvailableTopicTypesModel
extends org.apache.wicket.model.LoadableDetachableModel<java.util.List<TopicType>>

See Also:
Serialized Form

Constructor Summary
AvailableTopicTypesModel(TopicModel<Topic> topicModel)
           
 
Method Summary
protected abstract  boolean filter(Topic o)
           
protected  boolean getShouldIncludeExistingTypes()
           
protected  boolean getShouldIncludeSelf()
           
protected  java.util.List<TopicType> 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

AvailableTopicTypesModel

public AvailableTopicTypesModel(TopicModel<Topic> topicModel)
Method Detail

getShouldIncludeSelf

protected boolean getShouldIncludeSelf()

getShouldIncludeExistingTypes

protected boolean getShouldIncludeExistingTypes()

load

protected java.util.List<TopicType> load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel<java.util.List<TopicType>>

filter

protected abstract boolean filter(Topic o)


Copyright © 2000-2012 Ontopia.