blackboard.persist.course
Class CourseSearch.CourseSearchQuery

java.lang.Object
  extended by blackboard.persist.impl.Query
      extended by blackboard.persist.impl.SelectQuery
          extended by blackboard.persist.impl.UnmarshallSelectQuery
              extended by blackboard.persist.impl.PagedUnmarshallSelectQuery
                  extended by blackboard.persist.course.CourseSearch.CourseSearchQuery
Enclosing class:
CourseSearch

protected class CourseSearch.CourseSearchQuery
extends blackboard.persist.impl.PagedUnmarshallSelectQuery

Special purpose query that generates SQL based on search criteria of the containing CourseSearch


Nested Class Summary
 
Nested classes/interfaces inherited from class blackboard.persist.impl.PagedUnmarshallSelectQuery
blackboard.persist.impl.PagedUnmarshallSelectQuery.LoadCountQuery
 
Nested classes/interfaces inherited from class blackboard.persist.impl.UnmarshallSelectQuery
blackboard.persist.impl.UnmarshallSelectQuery.CustomResultHandler
 
Field Summary
 
Fields inherited from class blackboard.persist.impl.PagedUnmarshallSelectQuery
_ascending, _bindList, _sort
 
Fields inherited from class blackboard.persist.impl.UnmarshallSelectQuery
_um
 
Fields inherited from class blackboard.persist.impl.SelectQuery
_resultHandler, _results, _rowHandler, _rst
 
Fields inherited from class blackboard.persist.impl.Query
_bbDatabase, _container, _sqlErrorLog, _stmt
 
Constructor Summary
CourseSearch.CourseSearchQuery(boolean heavyLoad, Id userId)
          This constructor initializes the map with CourseDbMap.MAP if heavyLoad is required.
CourseSearch.CourseSearchQuery(Id userId)
          Default constructor
 
Method Summary
protected  void appendServiceLevelClause(java.lang.StringBuilder sqlBuf)
          appendServiceLevelClause
protected  blackboard.persist.impl.DbUnmarshaller createUnmarshaller()
          createUnmarshaller
 java.lang.String generateFromClause()
           
protected  java.lang.String generateOrderByClause()
           
 java.lang.String generateSelectColumns()
           
 java.lang.String generateWhereClause()
           
 java.lang.String getJoinDataSourceClause()
           
 java.lang.String getJoinInstitutionNameClause()
           
 
Methods inherited from class blackboard.persist.impl.PagedUnmarshallSelectQuery
getCountQuery, getQueryWithPaging, isUsePaging, prepareStatement, setAscending, setCurrentPage, setPageSize, setSort, setUsePaging
 
Methods inherited from class blackboard.persist.impl.UnmarshallSelectQuery
processRow, setCustomResultHandler
 
Methods inherited from class blackboard.persist.impl.SelectQuery
addResult, close, doExecute, getCriteria, getGroupBy, getOrderBy, getQuerySupport, getResult, getResults, getResultSet, getStatement, processResults, setResultHandler, setRowHandler
 
Methods inherited from class blackboard.persist.impl.Query
executeQuery, getBbDatabase, getContainer, getStatementHandle, init, run, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CourseSearch.CourseSearchQuery

public CourseSearch.CourseSearchQuery(Id userId)
Default constructor


CourseSearch.CourseSearchQuery

public CourseSearch.CourseSearchQuery(boolean heavyLoad,
                                      Id userId)
This constructor initializes the map with CourseDbMap.MAP if heavyLoad is required.

Parameters:
heavyLoad - boolean value indicating if heavy load is required.
Method Detail

createUnmarshaller

protected blackboard.persist.impl.DbUnmarshaller createUnmarshaller()
createUnmarshaller

Specified by:
createUnmarshaller in class blackboard.persist.impl.UnmarshallSelectQuery

generateSelectColumns

public java.lang.String generateSelectColumns()
Specified by:
generateSelectColumns in class blackboard.persist.impl.PagedUnmarshallSelectQuery

generateFromClause

public java.lang.String generateFromClause()
Specified by:
generateFromClause in class blackboard.persist.impl.PagedUnmarshallSelectQuery

generateWhereClause

public java.lang.String generateWhereClause()
Specified by:
generateWhereClause in class blackboard.persist.impl.PagedUnmarshallSelectQuery

getJoinInstitutionNameClause

public java.lang.String getJoinInstitutionNameClause()

getJoinDataSourceClause

public java.lang.String getJoinDataSourceClause()

appendServiceLevelClause

protected void appendServiceLevelClause(java.lang.StringBuilder sqlBuf)
appendServiceLevelClause


generateOrderByClause

protected java.lang.String generateOrderByClause()
Specified by:
generateOrderByClause in class blackboard.persist.impl.PagedUnmarshallSelectQuery


Copyright 2010 Blackboard, Inc. All Rights Reserved.