|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.portal.webui.portal.UIPortalComponent
org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.wcm.webui.administration.UISiteAdminToolbar
public class UISiteAdminToolbar
| Nested Class Summary | |
|---|---|
static class |
UISiteAdminToolbar.AccountSettingsActionListener
The listener interface for receiving accountSettingsAction events. |
static class |
UISiteAdminToolbar.AddContentActionListener
The listener interface for receiving addContentAction events. |
static class |
UISiteAdminToolbar.AddPageActionListener
The listener interface for receiving addPageAction events. |
static class |
UISiteAdminToolbar.BrowsePageActionListener
The listener interface for receiving browsePageAction events. |
static class |
UISiteAdminToolbar.BrowsePortalActionListener
The listener interface for receiving browsePortalAction events. |
static class |
UISiteAdminToolbar.ChangePageActionListener
The listener interface for receiving changePageAction events. |
static class |
UISiteAdminToolbar.ChangePortalActionListener
The listener interface for receiving changePortalAction events. |
static class |
UISiteAdminToolbar.CreatePortalActionListener
The listener interface for receiving createPortalAction events. |
static class |
UISiteAdminToolbar.EditPageActionListener
The listener interface for receiving editPageAction events. |
static class |
UISiteAdminToolbar.EditPageAndNavigationActionListener
The listener interface for receiving editPageAndNavigationAction events. |
static class |
UISiteAdminToolbar.EditPortalActionListener
The listener interface for receiving editPortalAction events. |
static class |
UISiteAdminToolbar.LanguageSettingsActionListener
The listener interface for receiving languageSettingsAction events. |
static class |
UISiteAdminToolbar.SkinSettingsActionListener
The listener interface for receiving skinSettingsAction events. |
static class |
UISiteAdminToolbar.TurnOffQuickEditActionListener
The listener interface for receiving turnOffQuickEditAction events. |
static class |
UISiteAdminToolbar.TurnOnQuickEditActionListener
The listener interface for receiving turnOnQuickEditAction events. |
| Nested classes/interfaces inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
org.exoplatform.portal.webui.container.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static int |
ADMIN
The Constant ADMIN. |
static int |
EDITOR
The Constant EDITOR. |
static java.lang.String |
MESSAGE
The Constant MESSAGE. |
static int |
REDACTOR
The Constant REDACTOR. |
static java.lang.String |
TURN_ON_QUICK_EDIT
The Constant TURN_ON_QUICK_EDIT. |
static int |
VISITOR
The Constant VISITOR. |
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
creator, description, icon, modifier |
| Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UISiteAdminToolbar()
Instantiates a new uI site admin toolbar. |
|
| Method Summary | |
|---|---|
void |
changeNavigationsLanguage(java.lang.String language)
Change navigations language. |
java.util.List<java.lang.String> |
getAllPortals()
Gets the all portals. |
java.lang.String |
getCurrentPortalURI()
Gets the current portal uri. |
java.util.List<org.exoplatform.portal.config.model.PageNavigation> |
getCurrentSiteNavigations()
Gets the current site navigations. |
java.util.List<org.exoplatform.portal.config.model.PageNavigation> |
getGroupNavigations()
Get the list of group navigation nodes. |
int |
getRole()
gets the current user role based on the current site context. |
boolean |
hasGroupNavigations()
Return true if the user has at least one group navigation node. |
boolean |
isShowWorkspaceArea()
Checks if is show workspace area. |
void |
refresh()
Checks if we changed portal in order to refresh the user role and the navigation if needed. |
protected void |
setRole()
Sets the role of the current user. |
| Methods inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
getCreator, getDescription, getIcon, getModifier, setCreator, setDescription, setIcon, setModifier |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
getFactoryId, getHeight, getMode, getName, getTemplate, getTitle, getWidth, isEditMode, isModifiable, isShowEditControl, setFactoryId, setHeight, setMode, setModifiable, setName, setShowEditControl, setTemplate, setTitle, setWidth |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MESSAGE
public static final java.lang.String TURN_ON_QUICK_EDIT
public static final int ADMIN
public static final int EDITOR
public static final int REDACTOR
public static final int VISITOR
| Constructor Detail |
|---|
public UISiteAdminToolbar()
throws java.lang.Exception
java.lang.Exception - the exception| Method Detail |
|---|
protected void setRole()
throws java.lang.Exception
java.lang.Exception - the exception
public int getRole()
throws java.lang.Exception
java.lang.Exception - the exception
public void refresh()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic void changeNavigationsLanguage(java.lang.String language)
language - the language
public boolean isShowWorkspaceArea()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic java.lang.String getCurrentPortalURI()
public java.util.List<java.lang.String> getAllPortals()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic boolean hasGroupNavigations()
public java.util.List<org.exoplatform.portal.config.model.PageNavigation> getCurrentSiteNavigations()
throws java.lang.Exception
java.lang.Exception - the exception
public java.util.List<org.exoplatform.portal.config.model.PageNavigation> getGroupNavigations()
throws java.lang.Exception
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||