org.exoplatform.social.webui.space
Class UISpaceInfo

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.social.webui.space.UISpaceInfo

public class UISpaceInfo
extends org.exoplatform.webui.form.UIForm


Nested Class Summary
static class UISpaceInfo.ChangeAvatarActionListener
          Triggers this action for editing avatar.
static class UISpaceInfo.SaveActionListener
          Triggers this action when user click on the Save button.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UISpaceInfo()
          constructor
 
Method Summary
 org.exoplatform.portal.config.DataStorage getDataSource()
          Gets dataSource.
protected  String getImageSource()
          Gets image source url.
 org.exoplatform.services.organization.OrganizationService getOrganizationService()
          Gets organizationService.
 org.exoplatform.social.core.space.spi.SpaceService getSpaceService()
          Gets spaceService.
 void saveAvatar(UIAvatarUploadContent uiAvatarUploadContent, org.exoplatform.social.core.space.model.Space space)
           
protected  void setCurrentSpace(org.exoplatform.social.core.space.model.Space space)
          Sets the current space to ui component.
 void setValue(org.exoplatform.social.core.space.model.Space space)
          Sets space for this ui component to work with.
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISpaceInfo

public UISpaceInfo()
            throws Exception
constructor

Throws:
Exception
Method Detail

setCurrentSpace

protected void setCurrentSpace(org.exoplatform.social.core.space.model.Space space)
                        throws Exception
Sets the current space to ui component.

Parameters:
space -
Throws:
Exception
Since:
1.2.8

setValue

public void setValue(org.exoplatform.social.core.space.model.Space space)
              throws Exception
Sets space for this ui component to work with.

Parameters:
space -
Throws:
Exception

saveAvatar

public void saveAvatar(UIAvatarUploadContent uiAvatarUploadContent,
                       org.exoplatform.social.core.space.model.Space space)
                throws Exception
Throws:
Exception

getImageSource

protected String getImageSource()
                         throws Exception
Gets image source url.

Returns:
image source url
Throws:
Exception

getSpaceService

public org.exoplatform.social.core.space.spi.SpaceService getSpaceService()
Gets spaceService.

Returns:
spaceService
See Also:
SpaceService

getOrganizationService

public org.exoplatform.services.organization.OrganizationService getOrganizationService()
Gets organizationService.

Returns:
organizationService

getDataSource

public org.exoplatform.portal.config.DataStorage getDataSource()
Gets dataSource.

Returns:


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