|
||||||||||
| 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.webui.form.UIForm
org.exoplatform.social.webui.space.UISpaceMember
public class UISpaceMember
UISpaceMember is used for managing space member: inviting, validating or declining user's
request to join; set leader...
| Nested Class Summary | |
|---|---|
static class |
UISpaceMember.AddActionListener
Triggers this action when user click on "add" button. |
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.InviteActionListener
Triggers this action when user click on "invite" button. |
static class |
UISpaceMember.MakeLeaderActionListener
Triggers this action when user clicks on "set leader" button |
static class |
UISpaceMember.RemoveLeaderActionListener
Triggers this action when user click on "remove leader" 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.SearchUserActionListener
Triggers this action when user clicks on "search users" button. |
static class |
UISpaceMember.ValidateUserActionListener
Triggers this action when user click on "validate user's request" button |
| 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.form.UIForm |
|---|
ACTION, SUBCOMPONENT_ID |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UISpaceMember()
Constructor. |
|
| Method Summary | |
|---|---|
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 |
boolean |
isCurrentUser(String userName)
|
boolean |
isHasErr()
|
boolean |
isLeader(String userName)
Checks if a user is a leader of a space. |
boolean |
isNewSearch()
|
boolean |
isSuperUser()
Checks whether the remote user is super user |
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 |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
|---|
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url |
| 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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UISpaceMember()
throws Exception
Exception| Method Detail |
|---|
public 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
Exception
public List<String> getInvitedUsers()
throws Exception
Exception
public List<String> getExistingUsers()
throws Exception
Exceptionpublic void setUsersName(String userName)
userName - string of users namepublic String getUsersName()
public boolean isSuperUser()
throws Exception
Exception
public String getHomeSpaceUrl()
throws Exception
Exception
public String getManageSpacesUrl()
throws Exception
Exception
public boolean isLeader(String userName)
throws Exception
userName - logged-in user
Exception
public boolean isCurrentUser(String userName)
throws Exception
Exceptionpublic String getFullName(String userId)
userId -
public boolean isNewSearch()
public void setNewSearch(boolean isNewSearch)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||