public class UISpaceMember
extends org.exoplatform.webui.core.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UISpaceMember.CloseActionListener
Triggers this action when user clicks on popup's close button.
|
static class |
UISpaceMember.DeclineUserActionListener
Triggers this action when user clicks on "decline user's request" button.
|
static class |
UISpaceMember.RemoveUserActionListener
Triggers this action when user clicks on "remove user" button.
|
static class |
UISpaceMember.RevokeInvitedUserActionListener
Triggers this action when user clicks on "revoke invited" button.
|
static class |
UISpaceMember.ToggleLeadershipActionListener |
static class |
UISpaceMember.ValidateUserActionListener
Triggers this action when user click on "validate user's request" button
|
| Constructor and Description |
|---|
UISpaceMember()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentUserName()
Gets current user name.
|
List<String> |
getExistingUsers()
Gets list of existing users in a space
|
String |
getFullName(String userId)
Get full name from userId.
|
String |
getHomeSpaceUrl()
Gets spaceUrl
|
List<String> |
getInvitedUsers()
Gets list of invited users in a space
|
String |
getManageSpacesUrl()
Gets Manage Spaces Url (UIManageMySpaces)
|
List<String> |
getPendingUsers()
Gets list of pending users in a space
|
protected String |
getPortalName()
Gets portal name.
|
protected String |
getRestContextName()
Gets current rest context name.
|
String |
getSpaceURL()
Gets space url.
|
String |
getTypeOfRelation()
Gets type of relation with current user.
|
org.exoplatform.webui.core.UIPageIterator |
getUIPageIteratorExistingUsers()
Gets uiPageIteratorExistingUsers to display; remove or set/remove leader.
|
org.exoplatform.webui.core.UIPageIterator |
getUIPageIteratorInvitedUsers()
Gets uiPageIteratorInvitedUsers to display; revoke
|
org.exoplatform.webui.core.UIPageIterator |
getUIPageIteratorPendingUsers()
Gets uiPageIteratorPendingUsers
|
String |
getUsersName()
Gets string of user names input: a, b, c
|
protected boolean |
hasWildCardMembership(String userId)
Checks if user has wild card membership.
|
boolean |
isCurrentUser(String userName) |
boolean |
isHasErr() |
boolean |
isLeader(String userName)
Checks if a user is a leader of a space.
|
protected boolean |
isMember(String userId) |
boolean |
isNewSearch() |
boolean |
isSuperManager()
Checks whether the remote user is a spaces super manager
|
void |
setHasErr(boolean hasErr) |
void |
setNewSearch(boolean isNewSearch) |
void |
setSpaceURL(String spaceURL)
Sets space url.
|
void |
setTypeOfRelation(String typeOfRelation)
Sets type of relation with current user to variable.
|
void |
setUsersName(String userName)
Sets users name to the input string
|
void |
setValue(String spaceId)
Sets spaceId to this for getting current 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 org.exoplatform.webui.core.UIPageIterator getUIPageIteratorPendingUsers()
public org.exoplatform.webui.core.UIPageIterator getUIPageIteratorInvitedUsers()
public org.exoplatform.webui.core.UIPageIterator getUIPageIteratorExistingUsers()
public void setValue(String spaceId) throws Exception
spaceId - Exceptionpublic String getTypeOfRelation()
public void setTypeOfRelation(String typeOfRelation)
typeOfRelation - charpublic String getSpaceURL()
public void setSpaceURL(String spaceURL)
spaceURL - charpublic boolean isHasErr()
public void setHasErr(boolean hasErr)
hasErr - the hasErr to setpublic String getCurrentUserName()
protected String getRestContextName()
protected String getPortalName()
public List<String> getPendingUsers() throws Exception
Exceptionpublic List<String> getInvitedUsers()
public List<String> getExistingUsers()
public void setUsersName(String userName)
userName - string of users namepublic String getUsersName()
public boolean isSuperManager()
throws Exception
Exceptionpublic String getHomeSpaceUrl() throws Exception
Exceptionpublic String getManageSpacesUrl() throws Exception
Exceptionpublic boolean isLeader(String userName) throws Exception
userName - logged-in userExceptionprotected boolean hasWildCardMembership(String userId)
userId - target user to check.protected boolean isMember(String userId)
public String getFullName(String userId)
userId - public boolean isNewSearch()
public void setNewSearch(boolean isNewSearch)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.