org.exoplatform.calendar.webui.popup
Class UIUserSelector
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.calendar.webui.popup.UIUserSelector
- All Implemented Interfaces:
- UIPopupComponent
public class UIUserSelector
- extends org.exoplatform.webui.form.UIForm
- implements UIPopupComponent
Created by The eXo Platform SARL
Author : Pham Tuan
phamtuanchip@gmail.com
Dec 11, 2007
Modified: dang.tung
tungcnw@gmail.com
Nov 22, 2008
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| 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 |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, 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 |
FIELD_KEYWORD
public static final String FIELD_KEYWORD
- See Also:
- Constant Field Values
FIELD_FILTER
public static final String FIELD_FILTER
- See Also:
- Constant Field Values
FIELD_GROUP
public static final String FIELD_GROUP
- See Also:
- Constant Field Values
USER_NAME
public static String USER_NAME
LAST_NAME
public static String LAST_NAME
FIRST_NAME
public static String FIRST_NAME
EMAIL
public static String EMAIL
userData_
protected Map<String,org.exoplatform.services.organization.User> userData_
groupId_
protected String groupId_
pars_
protected Collection<String> pars_
uiIterator_
public org.exoplatform.webui.core.UIPageIterator uiIterator_
UIUserSelector
public UIUserSelector()
throws Exception
- Throws:
Exception
getData
public List<org.exoplatform.services.organization.User> getData()
throws Exception
- Throws:
Exception
getSelectedUsers
public String getSelectedUsers()
setSelectedUsers
public void setSelectedUsers(String selectedUsers)
setMulti
public void setMulti(boolean multi)
getMulti
public boolean getMulti()
getUIPageIterator
public org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
getAvailablePage
public long getAvailablePage()
getCurrentPage
public long getCurrentPage()
getActions
public String[] getActions()
- Overrides:
getActions in class org.exoplatform.webui.form.UIForm
activate
public void activate()
throws Exception
- Specified by:
activate in interface UIPopupComponent
- Throws:
Exception
deActivate
public void deActivate()
throws Exception
- Specified by:
deActivate in interface UIPopupComponent
- Throws:
Exception
getLabel
public String getLabel(String id)
- Overrides:
getLabel in class org.exoplatform.webui.form.UIForm
setShowSearch
public void setShowSearch(boolean isShowSearch)
isShowSearch
public boolean isShowSearch()
setShowSearchGroup
public void setShowSearchGroup(boolean isShowSearchGroup)
isShowSearchGroup
public boolean isShowSearchGroup()
setShowSearchUser
public void setShowSearchUser(boolean isShowSearchUser)
search
public void search(String keyword,
String filter,
String groupId)
throws Exception
- Throws:
Exception
isShowSearchUser
public boolean isShowSearchUser()
getSelectedGroup
public String getSelectedGroup()
setSelectedGroup
public void setSelectedGroup(String selectedGroup)
removeDuplicate
public org.exoplatform.commons.utils.PageList removeDuplicate(org.exoplatform.commons.utils.PageList users)
throws Exception
- Throws:
Exception
updateCurrentPage
protected void updateCurrentPage(int page)
throws Exception
- Throws:
Exception
setKeyword
public void setKeyword(String value)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.