com.arsdigita.cms.ui.item
Class Summary

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BlockStylable
                  extended bycom.arsdigita.bebop.SimpleContainer
                      extended bycom.arsdigita.cms.ui.CMSContainer
                          extended bycom.arsdigita.cms.ui.item.Summary
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable

public class Summary
extends CMSContainer

This panel displays basic details about a content item such as attributes and associations.

Container: ContentItemPage

This panel uses an XMLGenerator to convert content items into XML.

Version:
$Revision: #11 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Michael Pih (pihman@arsdigita.com)

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.cms.ui.CMSContainer
CMS_XML_NS
 
Fields inherited from class com.arsdigita.bebop.BlockStylable
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
Summary(ItemSelectionModel m)
           
 
Method Summary
protected  boolean canWorkflowBeExtended(com.arsdigita.kernel.User user, ContentItem item, com.arsdigita.workflow.simple.Workflow workflow)
           
 void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
          Generate XML representation of an item summary.
protected  ContentItem getContentItem(com.arsdigita.bebop.PageState state)
          Fetch the selected content item.
protected  ContentSection getContentSection(com.arsdigita.bebop.PageState state)
          Fetch the current content section.
 void respond(com.arsdigita.bebop.PageState state)
           
 
Methods inherited from class com.arsdigita.bebop.SimpleContainer
add, add, children, contains, generateChildrenXML, generateParent, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size
 
Methods inherited from class com.arsdigita.bebop.BlockStylable
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment
 
Methods inherited from class com.arsdigita.bebop.TextStylable
setBackgroundColor, setColor
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, 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
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
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

Summary

public Summary(ItemSelectionModel m)
Method Detail

generateXML

public void generateXML(com.arsdigita.bebop.PageState state,
                        com.arsdigita.xml.Element parent)
Generate XML representation of an item summary.

Parameters:
state - The page state
parent - The parent DOM element

getContentItem

protected ContentItem getContentItem(com.arsdigita.bebop.PageState state)
Fetch the selected content item.

Parameters:
state - The page state
Returns:
The selected item

getContentSection

protected ContentSection getContentSection(com.arsdigita.bebop.PageState state)
Fetch the current content section.

Parameters:
state - The page state
Returns:
The content section

respond

public void respond(com.arsdigita.bebop.PageState state)
             throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

canWorkflowBeExtended

protected boolean canWorkflowBeExtended(com.arsdigita.kernel.User user,
                                        ContentItem item,
                                        com.arsdigita.workflow.simple.Workflow workflow)


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