|
|||||||||||
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.Page
com.arsdigita.cms.dispatcher.CMSPage
com.arsdigita.cms.ui.ContentSectionPage
Contains the entire admin UI for a content section.
Field Summary | |
static int |
BROWSE_TAB
Index of the browse tab |
static int |
CATEGORIES_TAB
Index of the categories tab |
static int |
CONTENTTYPES_TAB
Index of the content types tab |
static int |
LIFECYCLES_TAB
Index of the lifecycles tab |
static String |
RESOURCE_BUNDLE
|
static int |
ROLES_TAB
Index of the roles tab |
static int |
SEARCH_TAB
Index of the search tab |
static String |
SET_FOLDER
The URL parameter that can be passed in in order to set the current folder. |
static String |
SET_TAB
The URL parameter that can be passed in in order to set the current tab. |
static String |
SET_TEMPLATE
The URL parameter that can be passed in in order to set the current template (for setting the content type) |
static int |
USER_ADMIN_TAB
|
static String |
versionId
|
static int |
WORKFLOW_TAB
Index of the workflows tab |
Fields inherited from class com.arsdigita.cms.dispatcher.CMSPage |
ASSETS, CMS_XML_NS, PAGE_CLASS |
Fields inherited from class com.arsdigita.bebop.Page |
m_invisible, m_panel |
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 | |
ContentSectionPage()
Contains the UI for administering a content section. |
Method Summary | |
void |
actionPerformed(com.arsdigita.bebop.event.ActionEvent event)
When a new tab is selected, reset the state of the formerly-selected pane. |
protected void |
addToPane(com.arsdigita.bebop.TabbedPane pane,
String tabName,
com.arsdigita.bebop.Component comp)
Adds the specified component, with the specified tab name, to the tabbed pane only if it is not null. |
protected com.arsdigita.bebop.TabbedPane |
createTabbedPane()
Created the TabbedPane to use for this page. |
protected BrowsePane |
getBrowsePane()
Creates, and then caches, the browse pane. |
protected CategoryAdminPane |
getCategoryAdminPane()
Creates, and then caches, the category administration pane. |
ContentSection |
getContentSection(javax.servlet.http.HttpServletRequest request)
Fetch the request-local content section. |
protected ContentTypeAdminPane |
getContentTypeAdminPane()
Creates, and then caches, the content type administration pane. |
protected FolderAdminPane |
getFolderAdminPane()
Creates, and then caches, the browse pane. |
protected LifecycleAdminPane |
getLifecycleAdminPane()
Creates, and then caches, the lifecycle administration pane. |
protected RoleAdminPane |
getRoleAdminPane()
|
protected ItemSearch |
getSearchPane()
Creates, and then caches, the search pane. |
static String |
getSectionURL(ContentItem item,
int tab)
Construct a URL for displaying the tab |
protected UserAdminPane |
getUserAdminPane()
|
protected WorkflowAdminPane |
getWorkflowAdminPane()
Creates, and then caches, the workflow administration pane. |
static com.arsdigita.globalization.GlobalizedMessage |
globalize(String key)
Getting the GlobalizedMessage using a CMS Class targetBundle. |
Methods inherited from class com.arsdigita.cms.dispatcher.CMSPage |
buildPage, dispatch, generateXMLHelper, getContentItem, getContentItem, getContentSection, getCurrentUser, getXMLParameter, init, setXMLParameter |
Methods inherited from class com.arsdigita.bebop.Page |
add, add, addActionListener, addClientStylesheet, addComponent, addComponentStateParam, addGlobalStateParam, addRequestListener, buildDocument, children, contains, fireActionEvent, fireRequestEvent, generateXML, generateXML, get, getComponent, getComponentParameters, getErrorDisplay, getPanel, getParameters, getStateModel, getTitle, getTitle, indexOf, isEmpty, isUsingHttpSession, isVisibleDefault, lock, parameterName, parameterName, prepare, process, process, removeActionListener, removeRequestListener, respond, setErrorDisplay, setPanel, setStyleSheet, setTitle, setTitle, setUsingHttpSession, setVisibleDefault, size, stateContains, stateIndex, stateSize |
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, 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 |
Field Detail |
public static final String versionId
public static final String RESOURCE_BUNDLE
public static final String SET_FOLDER
public static final String SET_TEMPLATE
public static final String SET_TAB
public static final int SEARCH_TAB
public static final int BROWSE_TAB
public static final int ROLES_TAB
public static final int WORKFLOW_TAB
public static final int LIFECYCLES_TAB
public static final int CATEGORIES_TAB
public static final int CONTENTTYPES_TAB
public static final int USER_ADMIN_TAB
Constructor Detail |
public ContentSectionPage()
Method Detail |
protected FolderAdminPane getFolderAdminPane()
protected BrowsePane getBrowsePane()
protected ItemSearch getSearchPane()
protected RoleAdminPane getRoleAdminPane()
protected WorkflowAdminPane getWorkflowAdminPane()
protected LifecycleAdminPane getLifecycleAdminPane()
protected CategoryAdminPane getCategoryAdminPane()
protected ContentTypeAdminPane getContentTypeAdminPane()
protected UserAdminPane getUserAdminPane()
protected void addToPane(com.arsdigita.bebop.TabbedPane pane, String tabName, com.arsdigita.bebop.Component comp)
pane
- The pane to which to add the tabtabName
- The name of the tab if it's addedcomp
- The component to add to the paneprotected com.arsdigita.bebop.TabbedPane createTabbedPane()
Created the TabbedPane to use for this page. Adds the tabs
to the pane. The default implementation uses a TabbedPane
. This implementation also adds
browse, search, staff admin, viewers admin, workflow admin,
category admin, and content type panes.
Developers can override this method to add only the tabs they want, or to add additional tabs after the default CMS tabs are added.
public ContentSection getContentSection(javax.servlet.http.HttpServletRequest request)
getContentSection
in interface ResourceHandler
getContentSection
in class CMSPage
request
- The HTTP request
public void actionPerformed(com.arsdigita.bebop.event.ActionEvent event)
actionPerformed
in interface com.arsdigita.bebop.event.ActionListener
event
- The event fired by selecting a tabpublic static String getSectionURL(ContentItem item, int tab)
item
- The item from which we get the corresponding content sectiontab
- The index of the tab to displaypublic static com.arsdigita.globalization.GlobalizedMessage globalize(String key)
key
- The resource key
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |