com.arsdigita.cms.ui.templates
Class ItemTemplatesListing.ItemTemplatesListingModelBuilder

java.lang.Object
  extended bycom.arsdigita.util.LockableImpl
      extended bycom.arsdigita.toolbox.ui.DataTable.DataBuilderAdapter
          extended bycom.arsdigita.cms.ui.templates.ItemTemplatesListing.ItemTemplatesListingModelBuilder
All Implemented Interfaces:
com.arsdigita.util.Lockable, com.arsdigita.bebop.table.TableModelBuilder
Enclosing class:
ItemTemplatesListing

protected static class ItemTemplatesListing.ItemTemplatesListingModelBuilder
extends com.arsdigita.toolbox.ui.DataTable.DataBuilderAdapter

This class allows us to use a compound key of context plus mimeType instead of only context


Field Summary
 
Fields inherited from interface com.arsdigita.bebop.table.TableModelBuilder
versionId
 
Constructor Summary
protected ItemTemplatesListing.ItemTemplatesListingModelBuilder()
           
 
Method Summary
 com.arsdigita.bebop.table.TableModel makeModel(com.arsdigita.bebop.Table table, com.arsdigita.bebop.PageState s)
          Construct a DataQueryTableModel by wrapping the query.
 
Methods inherited from class com.arsdigita.toolbox.ui.DataTable.DataBuilderAdapter
createQuery
 
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
 

Constructor Detail

ItemTemplatesListing.ItemTemplatesListingModelBuilder

protected ItemTemplatesListing.ItemTemplatesListingModelBuilder()
Method Detail

makeModel

public com.arsdigita.bebop.table.TableModel makeModel(com.arsdigita.bebop.Table table,
                                                      com.arsdigita.bebop.PageState s)
Construct a DataQueryTableModel by wrapping the query.

Parameters:
table - the parent DataTable
s - the current page state
Returns:
a DataQueryTableModel that will iterate through the query
See Also:
DataTable.DataQueryTableModel


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