org.whatsitcalled.webflange.webapp.model
Class ScriptDetachableModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel
      extended by org.apache.wicket.model.LoadableDetachableModel
          extended by org.whatsitcalled.webflange.webapp.model.ScriptDetachableModel
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel

public class ScriptDetachableModel
extends org.apache.wicket.model.LoadableDetachableModel

See Also:
Serialized Form

Constructor Summary
ScriptDetachableModel(java.lang.Long id)
           
ScriptDetachableModel(Script p)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          used for dataview with ReuseIfModelsEqualStrategy item reuse strategy
protected  ScriptDAO getDAO()
           
 java.lang.Object getObject()
           
 int hashCode()
           
protected  java.lang.Object load()
           
protected  void onAttach()
           
protected  void onDetach()
           
 
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, isAttached, toString
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
getObject, setObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptDetachableModel

public ScriptDetachableModel(Script p)

ScriptDetachableModel

public ScriptDetachableModel(java.lang.Long id)
Method Detail

getDAO

protected ScriptDAO getDAO()

load

protected java.lang.Object load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface org.apache.wicket.model.IModel
Overrides:
getObject in class org.apache.wicket.model.LoadableDetachableModel

onAttach

protected void onAttach()
Overrides:
onAttach in class org.apache.wicket.model.LoadableDetachableModel

onDetach

protected void onDetach()
Overrides:
onDetach in class org.apache.wicket.model.LoadableDetachableModel

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
used for dataview with ReuseIfModelsEqualStrategy item reuse strategy

Overrides:
equals in class java.lang.Object
See Also:
wicket.extensions.markup.html.repeater.pageable.AbstractPageableView#setItemReuseStrategy(IItemReuseStrategy), wicket.extensions.markup.html.repeater.refreshing.ReuseIfModelsEqualStrategy, Object.equals(java.lang.Object)


Copyright © 2008 Innobuilt Software LLC. All Rights Reserved.