public class UIDisplayProfileList
extends org.exoplatform.webui.core.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UIDisplayProfileList.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 |
UIDisplayProfileList.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 |
UIDisplayProfileList.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 |
UIDisplayProfileList.LoadMorePeopleActionListener
Listeners loading more people action.
|
static class |
UIDisplayProfileList.SearchActionListener
Listens event that broadcast from UIProfileUserSearch.
|
| Constructor and Description |
|---|
UIDisplayProfileList()
Constructor to initialize iterator.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.exoplatform.social.core.identity.model.Identity> |
getPeopleList()
Gets list of all type of people.
|
org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> |
getPeopleListAccess()
Gets people with ListAccess type.
|
int |
getPeopleNum()
Gets number of people for displaying.
|
org.exoplatform.social.core.relationship.model.Relationship |
getRelationship(org.exoplatform.social.core.identity.model.Identity identity) |
String |
getSelectedChar()
Gets selected character when search by alphabet.
|
String |
getSelectedNode()
Returns the current selected node.
|
void |
increaseOffset()
Increases offset.
|
void |
init()
Inits at the first loading.
|
boolean |
isEnableLoadNext()
Gets flag to display LoadNext button or not.
|
boolean |
isLoadAtEnd()
Gets flags to clarify that load at the last element or not.
|
protected boolean |
isNewOwner()
Checks need to refresh relationship list or not.
|
void |
loadSearch()
Loads people when searching.
|
void |
setEnableLoadNext(boolean enableLoadNext)
Sets flag to display LoadNext button or not.
|
void |
setLoadAtEnd(boolean loadAtEnd)
Sets flags to clarify that load at the last element or not.
|
void |
setLoadingCapacity(int loadingCapacity)
Sets loading capacity.
|
void |
setPeopleList(List<org.exoplatform.social.core.identity.model.Identity> peopleList)
Sets list of all type of people.
|
void |
setPeopleListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> peopleListAccess)
Sets people with ListAccess type.
|
void |
setPeopleNum(int peopleNum)
Sets number of people for displaying.
|
void |
setSelectedChar(String selectedChar)
Sets selected character to variable.
|
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 static final String SEARCH
public final String getSelectedChar()
public final void setSelectedChar(String selectedChar)
selectedChar - charpublic String getSelectedNode() throws Exception
Exceptionpublic 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 List<org.exoplatform.social.core.identity.model.Identity> getPeopleList() throws Exception
Exceptionpublic void setPeopleList(List<org.exoplatform.social.core.identity.model.Identity> peopleList)
peopleList - the peopleList to setpublic int getPeopleNum()
public void setPeopleNum(int peopleNum)
peopleNum - the peopleNum to setpublic org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> getPeopleListAccess()
public void setPeopleListAccess(org.exoplatform.commons.utils.ListAccess<org.exoplatform.social.core.identity.model.Identity> peopleListAccess)
peopleListAccess - the peopleListAccess to setprotected boolean isNewOwner()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.