com.arsdigita.cms.ui.category
Class CategorizedObjectsList

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.List
              extended bycom.arsdigita.cms.ui.SortableList
                  extended bycom.arsdigita.cms.ui.category.SortableCategoryList
                      extended bycom.arsdigita.cms.ui.category.CategorizedObjectsList
All Implemented Interfaces:
com.arsdigita.bebop.util.BebopConstants, Cloneable, com.arsdigita.bebop.Component, com.arsdigita.util.Lockable
Direct Known Subclasses:
OrderedCategorizedObjectsList

public class CategorizedObjectsList
extends com.arsdigita.cms.ui.category.SortableCategoryList

A List of all objects currently categorized under this category

Version:
$Revision: #17 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Randy Graebner (randyg@redhat.com)

Field Summary
static String CATEGORIZED_OBJECTS
           
static String CHILDREN
           
static String versionId
           
 
Fields inherited from class com.arsdigita.cms.ui.SortableList
NEXT_EVENT, PREV_EVENT
 
Fields inherited from class com.arsdigita.bebop.List
EMPTY_MODEL, HORIZONTAL, SELECTED, VERTICAL
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
CategorizedObjectsList(CategoryRequestLocal category)
           
 
Method Summary
protected  com.arsdigita.categorization.Category getCategory(com.arsdigita.bebop.PageState state)
           
protected  BigDecimal getSwapID(com.arsdigita.categorization.Category category, BigDecimal selectedID, String event)
           
 void respond(com.arsdigita.bebop.PageState ps)
          This actually performs the sorting
 
Methods inherited from class com.arsdigita.cms.ui.SortableList
generateLabelXML, generateXML
 
Methods inherited from class com.arsdigita.bebop.List
addActionListener, addChangeListener, clearSelection, createChangeListener, fireActionEvent, fireStateChanged, getCellRenderer, getEmptyView, getLayout, getModel, getModelBuilder, getSelectedKey, getSelectionModel, getStateParamsAreRegistered, isSelected, register, removeActionListener, removeChangeListener, setCellRenderer, setEmptyView, setLayout, setListData, setListData, setModelBuilder, setSelectedKey, setSelectionModel, setStateParamsAreRegistered
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
children, clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

CATEGORIZED_OBJECTS

public static final String CATEGORIZED_OBJECTS
See Also:
Constant Field Values

CHILDREN

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

CategorizedObjectsList

public CategorizedObjectsList(CategoryRequestLocal category)
Method Detail

respond

public void respond(com.arsdigita.bebop.PageState ps)
             throws javax.servlet.ServletException
This actually performs the sorting

Throws:
javax.servlet.ServletException

getSwapID

protected BigDecimal getSwapID(com.arsdigita.categorization.Category category,
                               BigDecimal selectedID,
                               String event)

getCategory

protected final com.arsdigita.categorization.Category getCategory(com.arsdigita.bebop.PageState state)


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