org.gusdb.wdk.model
Class QueryInstance

java.lang.Object
  extended by org.gusdb.wdk.model.QueryInstance
Direct Known Subclasses:
BooleanQueryInstance, SqlQueryInstance

public abstract class QueryInstance
extends java.lang.Object

Simple implementation of QueryInstanceI; generally expects its subclasses to do most of the real implementation.


Method Summary
abstract  java.util.Collection getCacheValues()
           
 boolean getIsCacheable()
           
 boolean getIsPersistent()
           
 boolean getJoinMode()
           
abstract  java.lang.String getLowLevelQuery()
           
abstract  ResultList getPersistentResultPage(int startRow, int endRow)
           
 Query getQuery()
           
abstract  ResultList getResult()
           
abstract  java.lang.String getResultAsTableName()
           
 java.util.Collection getValues()
           
 void setIsCacheable(boolean isCacheable)
           
 void setValues(java.util.Map values)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setValues

public void setValues(java.util.Map values)
               throws WdkUserException,
                      WdkModelException
Throws:
WdkUserException
WdkModelException

getIsCacheable

public boolean getIsCacheable()

getJoinMode

public boolean getJoinMode()

getIsPersistent

public boolean getIsPersistent()

setIsCacheable

public void setIsCacheable(boolean isCacheable)
                    throws WdkModelException
Throws:
WdkModelException

getQuery

public Query getQuery()

getResult

public abstract ResultList getResult()
                              throws WdkModelException
Throws:
WdkModelException

getPersistentResultPage

public abstract ResultList getPersistentResultPage(int startRow,
                                                   int endRow)
                                            throws WdkModelException
Throws:
WdkModelException

getResultAsTableName

public abstract java.lang.String getResultAsTableName()
                                               throws WdkModelException
Throws:
WdkModelException

getValues

public java.util.Collection getValues()

getCacheValues

public abstract java.util.Collection getCacheValues()
                                             throws WdkModelException
Throws:
WdkModelException

getLowLevelQuery

public abstract java.lang.String getLowLevelQuery()
                                           throws WdkModelException
Throws:
WdkModelException