|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.social.webui.space.UIManageAllSpaces
public class UIManageAllSpaces
UI component to list all spaces that is associated with current logged-in user: public spaces to join, invitation spaces to accept or deny to join, his spaces in which he is a member or manager to access or manage.
| Nested Class Summary | |
|---|---|
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
|
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static String |
SEARCH_ALL
|
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIManageAllSpaces()
Constructor to initialize iterator. |
|
| Method Summary | |
|---|---|
String |
getImageSource(org.exoplatform.social.core.space.model.Space space)
Gets image source url. |
String |
getSpaceNameSearch()
Gets name of searched space. |
List<org.exoplatform.social.core.space.model.Space> |
getSpaces()
Gets space list. |
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. |
boolean |
isHasUpdatedSpace()
Gets information that clarify one space is updated or not. |
boolean |
isLoadAtEnd()
Gets flags to clarify that load at the last space or not. |
void |
loadNext()
Loads more space. |
void |
loadSearch()
Loads space when searching. |
void |
setEnableLoadNext(boolean enableLoadNext)
Sets flag to display LoadNext button or not. |
void |
setHasUpdatedSpace(boolean hasUpdatedSpace)
Sets information that clarify one space is updated or not. |
void |
setLoadAtEnd(boolean loadAtEnd)
Sets flags to clarify that load at the last space or not. |
void |
setLoadingCapacity(int loadingCapacity)
Sets loading capacity. |
void |
setSpaceNameSearch(String spaceNameSearch)
Sets name of searched space. |
void |
setSpaces(List<org.exoplatform.social.core.space.model.Space> spaces)
Sets space lists. |
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. |
| 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 |
|---|
public static final String SEARCH_ALL
| Constructor Detail |
|---|
public UIManageAllSpaces()
throws Exception
Exception| Method Detail |
|---|
public void init()
public void setLoadingCapacity(int loadingCapacity)
loadingCapacity - public boolean isEnableLoadNext()
public void setEnableLoadNext(boolean enableLoadNext)
enableLoadNext - the enableLoadNext to setpublic boolean isLoadAtEnd()
public void setLoadAtEnd(boolean loadAtEnd)
loadAtEnd - the loadAtEnd to setpublic boolean isHasUpdatedSpace()
public void setHasUpdatedSpace(boolean hasUpdatedSpace)
hasUpdatedSpace - the hasUpdatedSpace to set
public 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 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 set
public void loadNext()
throws Exception
Exception
public void loadSearch()
throws Exception
Exceptionprotected static String getTypeOfSpace(org.exoplatform.social.core.space.model.Space space)
space -
public boolean hasEditPermission(org.exoplatform.social.core.space.model.Space space)
throws Exception
space -
Exception
protected boolean hasAccessPermission(org.exoplatform.social.core.space.model.Space space)
throws Exception
space -
Exception
public String getImageSource(org.exoplatform.social.core.space.model.Space space)
throws Exception
space -
Exceptionpublic void setSpaces(List<org.exoplatform.social.core.space.model.Space> spaces)
spaces - public List<org.exoplatform.social.core.space.model.Space> getSpaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||