2.17.2: 2011-06-17

net.sf.basedb.core
Class ReporterScoreQuery

java.lang.Object
  extended by net.sf.basedb.core.AbstractQuery
      extended by net.sf.basedb.core.AbstractHqlQuery
          extended by net.sf.basedb.core.AbstractEntityQuery
              extended by net.sf.basedb.core.ReporterScoreQuery
All Implemented Interfaces:
EntityQuery, HqlQuery, Query

public class ReporterScoreQuery
extends AbstractEntityQuery

This is a temporary solution to query against the reporter list's score. This class will be replaced by a more generic query functionality in the future.

Version:
2.0
Author:
Nicklas
Last modified
$Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $

Constructor Summary
ReporterScoreQuery()
          Create a new query for the specified item, using the default optional runtime filter.
 
Method Summary
 ReporterScoreResultIterator iterate(DbControl dc)
          Execute the query and return the results as an iterator.
 
Methods inherited from class net.sf.basedb.core.AbstractEntityQuery
count, disableFilters, enableFilters, exclude, exclude, getItemPermission, getItemType, getQueryType, getRootType, group, groupPermanent, having, havingPermanent, include, include, isIncluded, isIncluded, select, selectPermanent, setAutoJoinType, setIncludes, setItemPermission
 
Methods inherited from class net.sf.basedb.core.AbstractHqlQuery
getCountHqlQuery, getMainHqlQuery, getRootAlias, isCachingResult, isReadonly, isStateless, postProcessQuery, reset, setCacheResult, setEntityParameter, setPermanentEntityParameter
 
Methods inherited from class net.sf.basedb.core.AbstractQuery
addAutoJoiner, getCountQuery, getFirstResult, getMainQuery, getMaxResults, getParameterNames, getParameters, getParameterType, getParameterValue, getPermanentSelects, getQueryParameter, getQuerySection, getSelects, hasParameterValue, isCounting, isDistinct, isReturningTotalCount, join, joinPermanent, order, orderPermanent, resetTemporary, restrict, restrictPermanent, setCounting, setDistinct, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, temporaryJoin, temporarySelect, toQl, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.basedb.core.query.HqlQuery
isCachingResult, setCacheResult, setEntityParameter, setPermanentEntityParameter
 
Methods inherited from interface net.sf.basedb.core.query.Query
addAutoJoiner, getFirstResult, getMaxResults, getParameterNames, getQueryParameter, getQuerySection, getRootAlias, hasParameterValue, isCounting, isDistinct, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, setDistinct, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, toQl
 

Constructor Detail

ReporterScoreQuery

ReporterScoreQuery()
Create a new query for the specified item, using the default optional runtime filter.

Method Detail

iterate

public ReporterScoreResultIterator iterate(DbControl dc)
                                    throws BaseException
Execute the query and return the results as an iterator.

Parameters:
dc - The DbControl used to access the database and check permissions
Throws:
BaseException - If there is an error

2.17.2: 2011-06-17