public class UIManageMySpaces
extends org.exoplatform.webui.core.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UIManageMySpaces.BackActionListener
This action trigger when user click on back button from UINavigationManagement.
|
static class |
UIManageMySpaces.DeleteSpaceActionListener
This action is triggered when user click on DeleteSpace a prompt popup is display for
confirmation, if yes delete that space; otherwise, do nothing.
|
static class |
UIManageMySpaces.LeaveSpaceActionListener
This action is triggered when user click on LeaveSpace
The leaving space will remove that user in the space. |
static class |
UIManageMySpaces.LoadMoreSpaceActionListener
Listeners loading more space action.
|
static class |
UIManageMySpaces.SearchActionListener
Listens event that broadcast from UISpaceSearch.
|
| Constructor and Description |
|---|
UIManageMySpaces()
Constructor for initialize UIPopupWindow for adding new space popup.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getImageSource(org.exoplatform.social.core.space.model.Space space)
Gets image source url.
|
List<org.exoplatform.social.core.space.model.Space> |
getMySpacesList()
Gets list of my space.
|
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> |
getMySpacesListAccess()
Gets spaces with ListAccess type.
|
int |
getMySpacesNum()
Gets number of my space.
|
int |
getRole(String spaceId)
Gets role of the user in a specific space for displaying in template.
|
String |
getSelectedChar()
Gets selected character.
|
String |
getSpaceNameSearch()
Gets name of searched space.
|
boolean |
hasMembership(String spaceId)
Checks in case root has membership with current space.
|
void |
init()
Inits at the first loading.
|
boolean |
isEnableLoadNext()
Gets flag to display LoadNext button or not.
|
boolean |
isHasUpdatedSpace()
Gets information that clarify one space is updated or not.
|
void |
loadNext()
Loads more space.
|
void |
loadSearch()
Loads space when searching.
|
void |
setEnableLoadNext(boolean unableLoadNext)
Sets flag to display LoadNext button or not.
|
void |
setHasUpdatedSpace(boolean hasUpdatedSpace)
Sets information that clarify one space is updated or not.
|
void |
setLoadingCapacity(int loadingCapacity)
Sets loading capacity.
|
void |
setMySpacesList(List<org.exoplatform.social.core.space.model.Space> mySpacesList)
Sets list of my space.
|
void |
setMySpacesListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> mySpacesListAccess)
Sets spaces with ListAccess type.
|
void |
setMySpacesNum(int mySpacesNum)
Sets number of my space.
|
void |
setSelectedChar(String selectedChar)
Sets selected character.
|
void |
setSpaceNameSearch(String spaceNameSearch)
Sets name of searched space.
|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, 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, urlpublic void init()
public void setLoadingCapacity(int loadingCapacity)
loadingCapacity - public boolean isEnableLoadNext()
public void setEnableLoadNext(boolean unableLoadNext)
enableLoadNext - public boolean isHasUpdatedSpace()
public void setHasUpdatedSpace(boolean hasUpdatedSpace)
hasUpdatedSpace - public List<org.exoplatform.social.core.space.model.Space> getMySpacesList() throws Exception
Exceptionpublic void setMySpacesList(List<org.exoplatform.social.core.space.model.Space> mySpacesList)
mySpacesList - the mySpacesList to setpublic int getMySpacesNum()
public void setMySpacesNum(int mySpacesNum)
mySpacesNum - the mySpacesNum to setpublic String getSelectedChar()
public void setSelectedChar(String selectedChar)
selectedChar - A Stringpublic String getSpaceNameSearch()
public void setSpaceNameSearch(String spaceNameSearch)
spaceNameSearch - the spaceNameSearch to setpublic org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> getMySpacesListAccess()
public void setMySpacesListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> mySpacesListAccess)
mySpacesListAccess - the mySpacesListAccess to setpublic void loadSearch()
throws Exception
Exceptionpublic int getRole(String spaceId) throws org.exoplatform.social.core.space.SpaceException
spaceId - org.exoplatform.social.core.space.SpaceExceptionpublic boolean hasMembership(String spaceId) throws org.exoplatform.social.core.space.SpaceException
spaceId - org.exoplatform.social.core.space.SpaceExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.