to.etc.domui.component.input
Class CriteriaComboDataSet<T>

java.lang.Object
  extended by to.etc.domui.component.input.CriteriaComboDataSet<T>
All Implemented Interfaces:
IComboDataSet<T>

public class CriteriaComboDataSet<T>
extends java.lang.Object
implements IComboDataSet<T>

A Combobox dataset provider which creates a dataset by using a QCriteria passed to it.

Author:
Frits Jalvingh Created on Dec 16, 2010

Constructor Summary
CriteriaComboDataSet(QCriteria<T> query)
          Create with the specified immutable QCriteria.
 
Method Summary
 java.util.List<T> getComboDataSet(UrlPage page)
          Execute the query and return the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriteriaComboDataSet

public CriteriaComboDataSet(@Nonnull
                            QCriteria<T> query)
Create with the specified immutable QCriteria.

Parameters:
query -
Method Detail

getComboDataSet

public java.util.List<T> getComboDataSet(UrlPage page)
                                  throws java.lang.Exception
Execute the query and return the result.

Specified by:
getComboDataSet in interface IComboDataSet<T>
Throws:
java.lang.Exception
See Also:
IComboDataSet.getComboDataSet(to.etc.domui.dom.html.UrlPage)