org.wicketopia.persistence.model
Class LoadableDetachableEntityModel<T>

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<T>
      extended by org.wicketopia.persistence.model.LoadableDetachableEntityModel<T>
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<T>, org.apache.wicket.util.io.IClusterable

public class LoadableDetachableEntityModel<T>
extends org.apache.wicket.model.LoadableDetachableModel<T>

Author:
James Carman
See Also:
Serialized Form

Constructor Summary
LoadableDetachableEntityModel(Class<T> entityType, Serializable identifier, PersistenceProvider persistenceProvider)
           
LoadableDetachableEntityModel(Class<T> entityType, T entity, PersistenceProvider persistenceProvider)
           
 
Method Summary
protected  T 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

LoadableDetachableEntityModel

public LoadableDetachableEntityModel(Class<T> entityType,
                                     Serializable identifier,
                                     PersistenceProvider persistenceProvider)

LoadableDetachableEntityModel

public LoadableDetachableEntityModel(Class<T> entityType,
                                     T entity,
                                     PersistenceProvider persistenceProvider)
Method Detail

load

protected T load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel<T>


Copyright © 2010-2013. All Rights Reserved.