com.arsdigita.toolbox.ui
Interface DataQueryBuilder

All Superinterfaces:
Lockable
All Known Implementing Classes:
AbstractDataQueryBuilder, StaticDataQueryBuilder

public interface DataQueryBuilder
extends Lockable

This class is used by the DataTable class in order to construct a DataCollection during each request


Field Summary
static String versionId
           
 
Method Summary
 String getKeyColumn()
           
 DataQuery makeDataQuery(DataTable t, PageState s)
          Perform all neccessary database operations and return a DataQuery for the DataTable to use
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked, lock
 

Field Detail

versionId

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

makeDataQuery

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

Parameters:
t - the parent DataTable
s - the page state

getKeyColumn

public String getKeyColumn()
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