com.arsdigita.cms.contenttypes.ui
Class LinkTableModelBuilder

java.lang.Object
  extended bycom.arsdigita.util.LockableImpl
      extended bycom.arsdigita.cms.contenttypes.ui.LinkTableModelBuilder
All Implemented Interfaces:
com.arsdigita.util.Lockable, com.arsdigita.bebop.table.TableModelBuilder

public abstract class LinkTableModelBuilder
extends com.arsdigita.util.LockableImpl
implements com.arsdigita.bebop.table.TableModelBuilder

Reusable TableModel for displaying Links associated to a ContentItem

Version:
$Revision: #3 $ $Date: 2004/04/07 $
Author:
Nobuko Asakai (nasakai@redhat.com)

Nested Class Summary
static class LinkTableModelBuilder.LinkTableModel
          TableModel implementation for Links
 
Field Summary
 
Fields inherited from interface com.arsdigita.bebop.table.TableModelBuilder
versionId
 
Constructor Summary
LinkTableModelBuilder()
           
 
Method Summary
abstract  com.arsdigita.persistence.DataCollection getLinks(com.arsdigita.bebop.PageState s)
          Returns the DataCollection of Links for the current TableModel.
 com.arsdigita.bebop.table.TableModel makeModel(com.arsdigita.bebop.Table t, com.arsdigita.bebop.PageState s)
          Creates the LinKTableModel based on the current table and pagestate
 
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

LinkTableModelBuilder

public LinkTableModelBuilder()
Method Detail

makeModel

public com.arsdigita.bebop.table.TableModel makeModel(com.arsdigita.bebop.Table t,
                                                      com.arsdigita.bebop.PageState s)
Creates the LinKTableModel based on the current table and pagestate

Specified by:
makeModel in interface com.arsdigita.bebop.table.TableModelBuilder
Parameters:
t - The Table for the current page.
s - The PageState for the current request

getLinks

public abstract com.arsdigita.persistence.DataCollection getLinks(com.arsdigita.bebop.PageState s)
Returns the DataCollection of Links for the current TableModel. Not implemented for LinkTableModelBuilder

Parameters:
s - The PageState for the current request
Returns:
The DataCollection of Links


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