|
||||||||||
| 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.UIManageMySpaces
public class UIManageMySpaces
| Nested Class Summary | |
|---|---|
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. |
| 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.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIManageMySpaces()
Constructor for initialize UIPopupWindow for adding new space popup. |
|
| Method Summary | |
|---|---|
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. |
List<org.exoplatform.social.core.space.model.Space> |
getSpaces()
Gets space list. |
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. |
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 unableLoadNext)
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 |
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. |
void |
setSpaces(List<org.exoplatform.social.core.space.model.Space> spaces)
Sets space list. |
| 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 |
| Constructor Detail |
|---|
public UIManageMySpaces()
throws Exception
Exception| Method Detail |
|---|
public void init()
public void setLoadingCapacity(int loadingCapacity)
loadingCapacity - public boolean isEnableLoadNext()
public void setEnableLoadNext(boolean unableLoadNext)
enableLoadNext - public boolean isLoadAtEnd()
public void setLoadAtEnd(boolean loadAtEnd)
loadAtEnd - 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 set
public void loadNext()
throws Exception
Exception
public void loadSearch()
throws Exception
Exception
public int getRole(String spaceId)
throws org.exoplatform.social.core.space.SpaceException
spaceId -
org.exoplatform.social.core.space.SpaceException
public boolean hasMembership(String spaceId)
throws org.exoplatform.social.core.space.SpaceException
spaceId -
org.exoplatform.social.core.space.SpaceExceptionpublic void setSpaces(List<org.exoplatform.social.core.space.model.Space> spaces)
spaces - public List<org.exoplatform.social.core.space.model.Space> getSpaces()
public String getImageSource(org.exoplatform.social.core.space.model.Space space)
throws Exception
space -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||