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.UIContainerCreated by The eXo Platform SAS Author : Tran Hung Phong phongth@exoplatform.com Oct 23, 2012
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUISpacesSwitcher.SelectSpaceActionListener
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_INVALIDING_CACHE_TIMEprotected longinvalidingCacheTimestatic StringSELECT_SPACE_ACTIONstatic StringSPACE_ID_PARAMETER
-
Constructor Summary
Constructors Constructor Description UISpacesSwitcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateSelectSpaceEvent(String spaceId)StringgetAppId()protected StringgetBaseRestUrl()StringgetCurrentSpaceName()EventUIComponentgetEventComponent()StringgetMySpaceLabel()StringgetPortalSpaceId()StringgetPortalSpaceLabel()protected StringgetSocialBaseRestUrl()StringgetUsername()voidinit(EventUIComponent eventComponent)booleanisAutoResize()booleanisCurrentPortalWiki()booleanisShowPortalSpace()booleanisShowUserSpace()voidsetAppId(String appId)voidsetAutoResize(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, setRenderedChildrenOfTypes
-
Methods 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 Detail
-
SPACE_ID_PARAMETER
public static final String SPACE_ID_PARAMETER
- See Also:
- Constant Field Values
-
SELECT_SPACE_ACTION
public static final String SELECT_SPACE_ACTION
- See Also:
- Constant Field Values
-
DEFAULT_INVALIDING_CACHE_TIME
public static final long DEFAULT_INVALIDING_CACHE_TIME
- See Also:
- Constant Field Values
-
invalidingCacheTime
protected long invalidingCacheTime
-
-
Method Detail
-
init
public void init(EventUIComponent eventComponent)
-
getEventComponent
public EventUIComponent getEventComponent()
-
setCurrentSpaceName
public void setCurrentSpaceName(String currentSpaceName)
-
getCurrentSpaceName
public String getCurrentSpaceName()
-
getMySpaceLabel
public String getMySpaceLabel()
-
setMySpaceLabel
public void setMySpaceLabel(String mySpaceLabel)
-
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
public void setAppId(String appId)
-
getAppId
public String getAppId()
-
getUsername
public String getUsername()
-
getPortalSpaceId
public String getPortalSpaceId()
-
isCurrentPortalWiki
public boolean isCurrentPortalWiki()
-
getPortalSpaceLabel
public String getPortalSpaceLabel()
-
setPortalSpaceLabel
public void setPortalSpaceLabel(String portalSpaceLabel)
-
getBaseRestUrl
protected String getBaseRestUrl()
-
getSocialBaseRestUrl
protected String getSocialBaseRestUrl()
-
-