|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.SimpleContainer
com.arsdigita.cms.ui.staff.PartyInfo
This panel displays information for a particular party.
Field Summary | |
static String |
versionId
|
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 | |
PartyInfo(com.arsdigita.bebop.SingleSelectionModel parties)
Constructor. |
|
PartyInfo(com.arsdigita.bebop.SingleSelectionModel parties,
boolean useViewersGroup)
Constructor. |
Method Summary | |
void |
generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent)
Adds a roleMemberInfo element to the DOM. |
protected com.arsdigita.bebop.ActionLink |
getBackLink()
Return the back link. |
protected com.arsdigita.bebop.List |
getList()
Return the list of roles. |
protected BigDecimal |
getPartyId(com.arsdigita.bebop.PageState state)
Gets the party ID. |
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, respond, 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, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked, lock |
Field Detail |
public static final String versionId
Constructor Detail |
public PartyInfo(com.arsdigita.bebop.SingleSelectionModel parties)
parties
- A selection model for partiespublic PartyInfo(com.arsdigita.bebop.SingleSelectionModel parties, boolean useViewersGroup)
parties
- A selection model for usersuseViewersGroup
- Whether to use viewers roles instead of staff admin rolesMethod Detail |
protected com.arsdigita.bebop.List getList()
protected com.arsdigita.bebop.ActionLink getBackLink()
protected BigDecimal getPartyId(com.arsdigita.bebop.PageState state)
state
- The page state
public void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
The XML generated has the form
<cms:roleMemberInfo party_id="id" name="Name" email="email"> <bebop:list id="party_roles_list"> ... XML generated for component returned by renderer ... </bebop:list> <bebop:link id="back_link"> ... XML generated for component returned by renderer ... </bebop:link> </cms:roleMemberInfo>
state
- the state of the current requestparent
- the element into which XML is generated
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |