|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.model.AbstractReadOnlyModel
org.apache.wicket.model.LoadableDetachableModel
org.apache.wicket.spring.common.web.ContactDetachableModel
public abstract class ContactDetachableModel
Base class for contact detachable models. This class implements all necessary logic except retrieval of the dao object, this way we can isolate that logic in our example implementations.
| Constructor Summary | |
|---|---|
ContactDetachableModel(Contact contact)
|
|
| Method Summary | |
|---|---|
protected abstract ContactDao |
getContactDao()
|
protected Contact |
load()
|
| Methods inherited from class org.apache.wicket.model.LoadableDetachableModel |
|---|
detach, getObject, isAttached, onAttach, onDetach, toString |
| Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel |
|---|
getObject, setObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContactDetachableModel(Contact contact)
contact - | Method Detail |
|---|
protected abstract ContactDao getContactDao()
protected Contact load()
load in class LoadableDetachableModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||