|
|||||||||
| 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.core.UIApplication
org.exoplatform.webui.core.UIPortletApplication
org.exoplatform.social.portlet.UIMembersPortlet
public class UIMembersPortlet
UIMembersPortlet used as a portlet displaying space members.
| Nested Class Summary | |
|---|---|
static class |
UIMembersPortlet.ConfirmActionListener
Listens to accept actions then make connection to accepted person. - Gets information of user who made request. - Checks the relationship to confirm that there still got invited connection. - Makes and Save the new relationship. |
static class |
UIMembersPortlet.ConnectActionListener
Listens to add action then make request to invite person to make connection. - Gets information of user is invited. - Checks the relationship to confirm that there have not got connection yet. - Saves the new connection. |
static class |
UIMembersPortlet.IgnoreActionListener
Listens to deny action then delete the invitation. - Gets information of user is invited or made request. - Checks the relation to confirm that there have not got relation yet. - Removes the current relation and save the new relation. |
static class |
UIMembersPortlet.LoadMoreMemberActionListener
Action when user clicks on loadMoreMember |
static class |
UIMembersPortlet.SearchActionListener
triggers this action when user clicks on search button |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static String |
SEARCH
|
| Fields inherited from class org.exoplatform.webui.core.UIPortletApplication |
|---|
CONFIG_MODE, EDIT_MODE, HELP_MODE, VIEW_MODE |
| Fields inherited from class org.exoplatform.webui.core.UIApplication |
|---|
log |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIMembersPortlet()
constructor |
|
| Method Summary | |
|---|---|
List<org.exoplatform.social.core.identity.model.Identity> |
getManagerList()
gets leader list |
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getManagerListAccess()
|
int |
getManagerNum()
|
List<org.exoplatform.social.core.identity.model.Identity> |
getMemberList()
gets member list |
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getMemberListAccess()
|
int |
getMemberNum()
|
String |
getMemberships(String userName)
gets memberships of a user in a space. |
String |
getPath()
gets current path |
String |
getSelectedChar()
Gets selected character when search by alphabet. |
org.exoplatform.social.core.space.model.Space |
getSpace()
gets space, space identified by the url. |
void |
initManager()
initialize leaders, called from #getLeaderList() |
void |
initMember()
initialize members, called from #getMembers() |
boolean |
isEnableLoadNext()
Gets flag to display LoadNext button or not. |
void |
loadNextMember()
Load next member on UIUserSearch |
void |
loadSearch()
Loads people when searching. |
void |
setEnableLoadNext(boolean enableLoadNext)
Sets flag to display LoadNext button or not. |
void |
setIdentityList(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> identityList)
set identity list |
void |
setLoadAtEnd(boolean loadAtEnd)
Sets flags to clarify that load at the last element or not. |
void |
setManagerList(List<org.exoplatform.social.core.identity.model.Identity> managerList)
sets leader list |
void |
setManagerListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> managerListAccess)
|
void |
setManagerNum(int managerNum)
|
void |
setMemberList(List<org.exoplatform.social.core.identity.model.Identity> memberList)
sets member list |
void |
setMemberListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> memberListAccess)
|
void |
setMemberNum(int memberNum)
|
void |
setSelectedChar(String selectedChar)
Sets selected character to variable. |
| Methods inherited from class org.exoplatform.webui.core.UIPortletApplication |
|---|
getMinHeight, getMinWidth, getUIPopupMessages, processRender, renderChildren, serveResource, setMinHeight, setMinWidth |
| Methods inherited from class org.exoplatform.webui.core.UIApplication |
|---|
addMessage, addMessage, clearMessages, findComponentById, getLastAccessApplication, getOwner, getUIComponentName, processAction, renderBlockToUpdate, setLastAccessApplication, setOwner |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, 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, isRendered, loadConfirmMesssage, 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
| Constructor Detail |
|---|
public UIMembersPortlet()
throws Exception
Exception| Method Detail |
|---|
public void setMemberListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> memberListAccess)
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> getMemberListAccess()
public void setManagerListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> managerListAccess)
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> getManagerListAccess()
public int getMemberNum()
public void setMemberNum(int memberNum)
public int getManagerNum()
public void setManagerNum(int managerNum)
public final String getSelectedChar()
public final void setSelectedChar(String selectedChar)
selectedChar - charpublic void setIdentityList(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> identityList)
identityList - public void setMemberList(List<org.exoplatform.social.core.identity.model.Identity> memberList)
memberList -
public List<org.exoplatform.social.core.identity.model.Identity> getMemberList()
throws Exception
Exceptionpublic void setManagerList(List<org.exoplatform.social.core.identity.model.Identity> managerList)
leaderList -
public List<org.exoplatform.social.core.identity.model.Identity> getManagerList()
throws Exception
Exception
public void initMember()
throws Exception
#getMembers()
Exception
public void initManager()
throws Exception
#getLeaderList()
Exception
public org.exoplatform.social.core.space.model.Space getSpace()
throws org.exoplatform.social.core.space.SpaceException
org.exoplatform.social.core.space.SpaceExceptionpublic String getPath()
public String getMemberships(String userName)
throws Exception
userName -
Exception
public void loadSearch()
throws Exception
Exceptionpublic void setLoadAtEnd(boolean loadAtEnd)
loadAtEnd - the loadAtEnd to set
public void loadNextMember()
throws Exception
Exceptionpublic boolean isEnableLoadNext()
public void setEnableLoadNext(boolean enableLoadNext)
enableLoadNext - the enableLoadNext to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||