Package org.exoplatform.webui.commons
Class UISpacesSwitcher
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.commons.UISpacesSwitcher
public class UISpacesSwitcher
extends org.exoplatform.webui.core.UIContainer
Created by The eXo Platform SAS
Author : Tran Hung Phong
phongth@exoplatform.com
Oct 23, 2012
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longprotected longstatic final Stringstatic final StringFields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateSelectSpaceEvent(String spaceId) getAppId()protected Stringprotected Stringvoidinit(EventUIComponent eventComponent) booleanbooleanbooleanbooleanvoidvoidsetAutoResize(boolean isAutoResize) voidsetCurrentSpaceName(String currentSpaceName) voidsetMySpaceLabel(String mySpaceLabel) voidsetPortalSpaceLabel(String portalSpaceLabel) voidsetShowPortalSpace(boolean isShowPortalSpace) voidsetShowUserSpace(boolean isShowUserSpace) Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
Field Details
-
SPACE_ID_PARAMETER
- See Also:
-
SELECT_SPACE_ACTION
- See Also:
-
DEFAULT_INVALIDING_CACHE_TIME
public static final long DEFAULT_INVALIDING_CACHE_TIME- See Also:
-
invalidingCacheTime
protected long invalidingCacheTime
-
-
Constructor Details
-
UISpacesSwitcher
- Throws:
Exception
-
-
Method Details
-
init
-
getEventComponent
-
setCurrentSpaceName
-
getCurrentSpaceName
-
getMySpaceLabel
-
setMySpaceLabel
-
isShowPortalSpace
public boolean isShowPortalSpace() -
setShowPortalSpace
public void setShowPortalSpace(boolean isShowPortalSpace) -
isShowUserSpace
public boolean isShowUserSpace() -
setShowUserSpace
public void setShowUserSpace(boolean isShowUserSpace) -
setAutoResize
public void setAutoResize(boolean isAutoResize) -
isAutoResize
public boolean isAutoResize() -
setAppId
-
getAppId
-
getUsername
-
getPortalSpaceId
-
isCurrentPortalWiki
public boolean isCurrentPortalWiki() -
getPortalSpaceLabel
-
setPortalSpaceLabel
-
getBaseRestUrl
-
getSocialBaseRestUrl
-
createSelectSpaceEvent
- Throws:
Exception
-