public class UISpaceSearch
extends org.exoplatform.webui.form.UIForm
| Modifier and Type | Class and Description |
|---|---|
static class |
UISpaceSearch.AddSpaceActionListener
This action is triggered when user clicks on AddSpace
UIAddSpaceForm will be displayed in a popup window |
static class |
UISpaceSearch.SearchActionListener
Listens to search event is broadcasted from search form, then processes search condition and
set search result to the result variable.
- Gets space name from request. - Searches spaces that have name like input space name. - Sets matched space into result list. |
| Modifier and Type | Field and Description |
|---|---|
static String |
SEARCH
SEARCH.
|
static String |
SPACE_SEARCH
SPACE SEARCH.
|
| Constructor and Description |
|---|
UISpaceSearch()
Initializes search form fields.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.exoplatform.social.core.space.model.Space> |
getSpaceList()
Gets list of searching.
|
String |
getSpaceNameSearch()
Gets input space name search input.
|
int |
getSpaceNum()
Gets number of matching spaces.
|
String |
getSpaceURL()
Gets space url.
|
String |
getTypeOfRelation()
Gets type of relation with current user.
|
protected void |
initPlaceholder() |
boolean |
isNewSearch() |
void |
setNewSearch(boolean isNewSearch) |
void |
setSpaceList(List<org.exoplatform.social.core.space.model.Space> spaceList)
Sets result of searching to list.
|
void |
setSpaceNameSearch(String spaceNameSearch)
Sets input space name search.
|
void |
setSpaceNum(int spaceNum)
Sets number of matching spaces.
|
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 SPACE_SEARCH
public static final String SEARCH
public String getSpaceNameSearch()
public void setSpaceNameSearch(String spaceNameSearch)
spaceNameSearch - A Stringpublic int getSpaceNum()
public void setSpaceNum(int spaceNum)
spaceNum - the spaceNum to setpublic String getTypeOfRelation()
public void setTypeOfRelation(String typeOfRelation)
typeOfRelation - charpublic String getSpaceURL()
public void setSpaceURL(String spaceURL)
spaceURL - charpublic void setSpaceList(List<org.exoplatform.social.core.space.model.Space> spaceList)
spaceList - The list of space. A Listpublic List<org.exoplatform.social.core.space.model.Space> getSpaceList() throws Exception
Exceptionpublic boolean isNewSearch()
public void setNewSearch(boolean isNewSearch)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.