org.exoplatform.webui.commons
Class UISpacesSwitcher

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by 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
static class UISpacesSwitcher.SelectSpaceActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static long DEFAULT_INVALIDING_CACHE_TIME
           
protected  long invalidingCacheTime
           
static String SELECT_SPACE_ACTION
           
static String SPACE_ID_PARAMETER
           
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UISpacesSwitcher()
           
 
Method Summary
protected  String createSelectSpaceEvent(String spaceId)
           
protected  String getBaseRestUrl()
           
 String getCurrentSpaceName()
           
 EventUIComponent getEventComponent()
           
 String getMySpaceLabel()
           
 String getPortalSpaceId()
           
 String getPortalSpaceLabel()
           
protected  String getSocialBaseRestUrl()
           
 String getUsername()
           
 void init(EventUIComponent eventComponent)
           
 boolean isAutoResize()
           
 boolean isShowPortalSpace()
           
 boolean isShowUserSpace()
           
 void setAutoResize(boolean isAutoResize)
           
 void setCurrentSpaceName(String currentSpaceName)
           
 void setMySpaceLabel(String mySpaceLabel)
           
 void setPortalSpaceLabel(String portalSpaceLabel)
           
 void setShowPortalSpace(boolean isShowPortalSpace)
           
 void setShowUserSpace(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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

UISpacesSwitcher

public UISpacesSwitcher()
                 throws Exception
Throws:
Exception
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()

getUsername

public String getUsername()

getPortalSpaceId

public String getPortalSpaceId()

getPortalSpaceLabel

public String getPortalSpaceLabel()

setPortalSpaceLabel

public void setPortalSpaceLabel(String portalSpaceLabel)

getBaseRestUrl

protected String getBaseRestUrl()

getSocialBaseRestUrl

protected String getSocialBaseRestUrl()

createSelectSpaceEvent

protected String createSelectSpaceEvent(String spaceId)
                                 throws Exception
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.