org.exoplatform.social.webui.space
Class UISpaceUserSearch

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.social.webui.space.UISpaceUserSearch

public class UISpaceUserSearch
extends org.exoplatform.webui.form.UIForm

UISpaceUserSearch used for searching users in a space.
The search event should broadcast for the parent one to catch and get searched userList from UISpaceUserSearch

Since:
Sep 18, 2009
Author:
hoatle

Nested Class Summary
static class UISpaceUserSearch.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
 
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
UISpaceUserSearch()
          Constructor to initialize form fields
 
Method Summary
 List<org.exoplatform.services.organization.User> getUserList()
          userList getter
protected  List<org.exoplatform.services.organization.User> search(String keyword, String filter, String groupId)
          search users based on keyword, filter and groupId provided
 void setUserList(List<org.exoplatform.services.organization.User> userList)
          userList setter
 
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

UISpaceUserSearch

public UISpaceUserSearch()
                  throws Exception
Constructor to initialize form fields

Throws:
Exception
Method Detail

setUserList

public void setUserList(List<org.exoplatform.services.organization.User> userList)
userList setter

Parameters:
userList -

getUserList

public List<org.exoplatform.services.organization.User> getUserList()
userList getter

Returns:
userList

search

protected List<org.exoplatform.services.organization.User> search(String keyword,
                                                                  String filter,
                                                                  String groupId)
                                                           throws Exception
search users based on keyword, filter and groupId provided

Parameters:
keyword -
filter -
groupId -
Returns:
user list
Throws:
Exception


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.