com.arsdigita.toolbox.ui
Class AbstractDataQueryBuilder

java.lang.Object
  extended bycom.arsdigita.util.LockableImpl
      extended bycom.arsdigita.toolbox.ui.AbstractDataQueryBuilder
All Implemented Interfaces:
DataQueryBuilder, Lockable

public abstract class AbstractDataQueryBuilder
extends LockableImpl
implements DataQueryBuilder

An abstract class that implements DataQueryBuilder, allowing on the fly implementations of DataQueryBuilder.


Field Summary
static String versionId
           
 
Constructor Summary
AbstractDataQueryBuilder()
           
 
Method Summary
abstract  String getKeyColumn()
           
abstract  DataQuery makeDataQuery(DataTable t, PageState s)
          Perform all neccessary database operations and return a DataQuery for the DataTable to use
 
Methods inherited from class com.arsdigita.util.LockableImpl
isLocked, lock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked, lock
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

AbstractDataQueryBuilder

public AbstractDataQueryBuilder()
Method Detail

makeDataQuery

public abstract DataQuery makeDataQuery(DataTable t,
                                        PageState s)
Perform all neccessary database operations and return a DataQuery for the DataTable to use

Specified by:
makeDataQuery in interface DataQueryBuilder
Parameters:
t - the parent DataTable
s - the page state

getKeyColumn

public abstract String getKeyColumn()
Specified by:
getKeyColumn in interface DataQueryBuilder
Returns:
the name of the column in the query that serves as the primary key for the items


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC