net.databinder.models.hib
Class ModelPropertyQueryBinder

java.lang.Object
  extended by net.databinder.models.hib.AbstractPropertyQueryBinder
      extended by net.databinder.models.hib.ModelPropertyQueryBinder
All Implemented Interfaces:
java.io.Serializable, QueryBinder, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable

public class ModelPropertyQueryBinder
extends AbstractPropertyQueryBinder
implements org.apache.wicket.model.IDetachable

A query binder that sets query parameters to corresponding properties taken from the given Wicket model object.

Author:
Jonathan
See Also:
Serialized Form

Field Summary
protected  org.apache.wicket.model.IModel model
           
 
Constructor Summary
ModelPropertyQueryBinder(org.apache.wicket.model.IModel model)
           
 
Method Summary
 void bind(org.hibernate.Query query)
          Set values for parameters in the query.
 void detach()
           
 
Methods inherited from class net.databinder.models.hib.AbstractPropertyQueryBinder
bind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected final org.apache.wicket.model.IModel model
Constructor Detail

ModelPropertyQueryBinder

public ModelPropertyQueryBinder(org.apache.wicket.model.IModel model)
Method Detail

detach

public void detach()
Specified by:
detach in interface org.apache.wicket.model.IDetachable

bind

public void bind(org.hibernate.Query query)
Description copied from interface: QueryBinder
Set values for parameters in the query.

Specified by:
bind in interface QueryBinder
Parameters:
query - Hibernate query


Copyright © 2005-2008 Nathan Hamblen. All Rights Reserved.