org.sakaiproject.profile2.tool.models
Class DetachablePersonModel

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<Person>
      extended by org.sakaiproject.profile2.tool.models.DetachablePersonModel
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<Person>

public class DetachablePersonModel
extends org.apache.wicket.model.LoadableDetachableModel<Person>

Detachable model for an instance of a Person

Author:
Steve Swinsburg (steve.swinsburg@gmail.com)
See Also:
Serialized Form

Field Summary
protected  ProfileLogic profileLogic
           
 
Constructor Summary
DetachablePersonModel(Person p)
           
DetachablePersonModel(String userUuid)
           
 
Method Summary
protected  Person 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
 

Field Detail

profileLogic

@SpringBean(name="org.sakaiproject.profile2.logic.ProfileLogic")
protected ProfileLogic profileLogic
Constructor Detail

DetachablePersonModel

public DetachablePersonModel(Person p)

DetachablePersonModel

public DetachablePersonModel(String userUuid)
Method Detail

load

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


Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.