public class UIProfileUserSearch
extends org.exoplatform.webui.form.UIForm
| Modifier and Type | Class and Description |
|---|---|
static class |
UIProfileUserSearch.SearchActionListener
Listens to search event from search form, then processes search condition and set search result
to the result variable.
- Gets user name and other filter information from request. - Searches user that matches the condition. - Sets matched users into result list. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_FILTER
All people filter.
|
static char |
EMPTY_CHARACTER
Empty character.
|
static String |
REG_FOR_SPLIT
REGEX FOR SPLIT STRING
|
static String |
SEARCH
SEARCH.
|
static String |
USER_CONTACT
USER CONTACT.
|
| Constructor and Description |
|---|
UIProfileUserSearch()
Initializes user search form fields.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.exoplatform.social.core.identity.model.Identity> |
getIdentitiesBySkills(List<org.exoplatform.social.core.identity.model.Identity> identities)
Filter identity follow skills information.
|
List<org.exoplatform.social.core.identity.model.Identity> |
getIdentityList()
Gets identity list result search.
|
int |
getPeopleNum()
Gets number of matching people.
|
org.exoplatform.social.core.profile.ProfileFilter |
getProfileFilter()
Gets filter object.
|
String |
getRawSearchConditional() |
String |
getSelectedNode()
Returns the current selected node.
|
String |
getSpaceURL()
Gets space url.
|
String |
getTypeOfRelation()
Gets type of relation with current user.
|
protected void |
initPlaceholder() |
boolean |
isHasConnectionLink() |
boolean |
isHasPeopleTab()
Gets the flags to clarify including people tab or not.
|
boolean |
isLoadFromSearch() |
boolean |
isNewSearch() |
void |
setHasConnectionLink(boolean hasConnectionLink) |
void |
setHasPeopleTab(boolean hasPeopleTab)
Sets the flags to clarify including people tab or not.
|
void |
setIdentityList(List<org.exoplatform.social.core.identity.model.Identity> identityList)
Sets list identity.
|
void |
setLoadFromSearch(boolean isLoadFromSearch) |
void |
setNewSearch(boolean isNewSearch) |
void |
setPeopleNum(int peopleNum)
Sets number of matching people.
|
void |
setProfileFilter(org.exoplatform.social.core.profile.ProfileFilter profileFilter)
Sets filter object.
|
void |
setRawSearchConditional(String rawSearchConditional) |
void |
setSpaceURL(String spaceURL)
Sets space url.
|
void |
setTypeOfRelation(String typeOfRelation)
Sets type of relation with current user to variable.
|
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, urladdChild, 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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, urlpublic static final String SEARCH
public static final String USER_CONTACT
public static final String REG_FOR_SPLIT
public static final char EMPTY_CHARACTER
public static final String ALL_FILTER
public boolean isLoadFromSearch()
public void setLoadFromSearch(boolean isLoadFromSearch)
public boolean isHasPeopleTab()
public void setHasPeopleTab(boolean hasPeopleTab)
hasPeopleTab - public boolean isHasConnectionLink()
public void setHasConnectionLink(boolean hasConnectionLink)
hasConnectionLink - the hasConnectionLink to setpublic int getPeopleNum()
public void setPeopleNum(int peopleNum)
peopleNum - public void setIdentityList(List<org.exoplatform.social.core.identity.model.Identity> identityList) throws Exception
identityList - ListExceptionpublic final List<org.exoplatform.social.core.identity.model.Identity> getIdentityList()
public String getRawSearchConditional()
public void setRawSearchConditional(String rawSearchConditional)
public String getTypeOfRelation()
public void setTypeOfRelation(String typeOfRelation)
typeOfRelation - charpublic String getSpaceURL()
public void setSpaceURL(String spaceURL)
spaceURL - charpublic final org.exoplatform.social.core.profile.ProfileFilter getProfileFilter()
public final void setProfileFilter(org.exoplatform.social.core.profile.ProfileFilter profileFilter)
profileFilter - Objectpublic String getSelectedNode()
public List<org.exoplatform.social.core.identity.model.Identity> getIdentitiesBySkills(List<org.exoplatform.social.core.identity.model.Identity> identities)
identities - Objectpublic final boolean isNewSearch()
public final void setNewSearch(boolean isNewSearch)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.