public class UIManageAllSpaces
extends org.exoplatform.webui.core.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UIManageAllSpaces.AcceptInvitationActionListener
This action is triggered when user clicks on Accept Space Invitation.
|
static class |
UIManageAllSpaces.CancelInvitationActionListener
This action is triggered when user clicks on RevokePending action.
|
static class |
UIManageAllSpaces.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 |
UIManageAllSpaces.IgnoreInvitationActionListener
This action is triggered when user clicks on Ignore Space Invitation.
|
static class |
UIManageAllSpaces.LeaveSpaceActionListener
This action is triggered when user click on LeaveSpace
The leaving space will remove that user in the space. |
static class |
UIManageAllSpaces.LoadMoreSpaceActionListener
Listeners loading more space action.
|
static class |
UIManageAllSpaces.RequestToJoinActionListener
Listener for request to join space action.
|
static class |
UIManageAllSpaces.SearchActionListener
Listens event that broadcast from UISpaceSearch.
|
static class |
UIManageAllSpaces.TypeOfSpace |
| Modifier and Type | Field and Description |
|---|---|
static String |
SEARCH_ALL |
| Constructor and Description |
|---|
UIManageAllSpaces()
Constructor to initialize iterator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getImageSource(org.exoplatform.social.core.space.model.Space space)
Gets image source url.
|
String |
getSelectedChar()
Gets selected character.
|
String |
getSpaceNameSearch()
Gets name of searched space.
|
List<org.exoplatform.social.core.space.model.Space> |
getSpacesList()
Gets list of all type of space.
|
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> |
getSpacesListAccess()
Gets spaces with ListAccess type.
|
int |
getSpacesNum()
Gets number of spaces for displaying.
|
protected static String |
getTypeOfSpace(org.exoplatform.social.core.space.model.Space space)
Gets type of one given space of current user.
|
protected boolean |
hasAccessPermission(org.exoplatform.social.core.space.model.Space space)
Check if the remote user has access permission.
|
boolean |
hasEditPermission(org.exoplatform.social.core.space.model.Space space)
Checks if the remote user has edit permission of a space.
|
void |
init()
Inits at the first loading.
|
boolean |
isEnableLoadNext()
Gets flag to display LoadNext button or not.
|
protected boolean |
isSuperManager(org.exoplatform.social.core.space.model.Space space) |
void |
loadNext()
Loads more space.
|
void |
loadSearch()
Loads space when searching.
|
void |
setEnableLoadNext(boolean enableLoadNext)
Sets flag to display LoadNext button or not.
|
void |
setLoadingCapacity(int loadingCapacity)
Sets loading capacity.
|
void |
setSelectedChar(String selectedChar)
Sets selected character.
|
void |
setSpaceNameSearch(String spaceNameSearch)
Sets name of searched space.
|
void |
setSpacesList(List<org.exoplatform.social.core.space.model.Space> spacesList)
Sets list of all type of space.
|
void |
setSpacesListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> spacesListAccess)
Sets spaces with ListAccess type.
|
void |
setSpacesNum(int spacesNum)
Sets number of spaces for displaying.
|
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 static final String SEARCH_ALL
public void init()
public void setLoadingCapacity(int loadingCapacity)
loadingCapacity - public boolean isEnableLoadNext()
public void setEnableLoadNext(boolean enableLoadNext)
enableLoadNext - the enableLoadNext to setpublic List<org.exoplatform.social.core.space.model.Space> getSpacesList() throws Exception
Exceptionpublic void setSpacesList(List<org.exoplatform.social.core.space.model.Space> spacesList)
spacesList - the spacesList to setpublic int getSpacesNum()
public void setSpacesNum(int spacesNum)
spacesNum - the spacesNum 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> getSpacesListAccess()
public void setSpacesListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.space.model.Space> spacesListAccess)
spacesListAccess - the spacesListAccess to setprotected static String getTypeOfSpace(org.exoplatform.social.core.space.model.Space space)
space - protected boolean isSuperManager(org.exoplatform.social.core.space.model.Space space)
public boolean hasEditPermission(org.exoplatform.social.core.space.model.Space space)
throws Exception
space - Exceptionprotected boolean hasAccessPermission(org.exoplatform.social.core.space.model.Space space)
throws Exception
space - ExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.