org.exoplatform.forum.common.webui
Class UIGroupSelector

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.organization.UIGroupMembershipSelector
              extended by org.exoplatform.forum.common.webui.UIGroupSelector
All Implemented Interfaces:
UISelectComponent, org.exoplatform.webui.core.UIPopupComponent

public class UIGroupSelector
extends org.exoplatform.webui.organization.UIGroupMembershipSelector
implements org.exoplatform.webui.core.UIPopupComponent, UISelectComponent

Created by The eXo Platform SARL Author : Pham Tuan phamtuanchip@yahoo.de Modifier: Vu Duy Tu


Nested Class Summary
static class UIGroupSelector.ChangeNodeActionListener
           
static class UIGroupSelector.SelectMembershipActionListener
           
static class UIGroupSelector.SelectPathActionListener
           
 
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.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Fields inherited from interface org.exoplatform.forum.common.webui.UISelectComponent
BREADCUMB_GROUP_ID, TREE_GROUP_ID, TYPE_GROUP, TYPE_MEMBERSHIP, TYPE_USER
 
Constructor Summary
UIGroupSelector()
           
 
Method Summary
 void activate()
           
 void changeGroup(String groupId)
           
 void deActivate()
           
 List<org.exoplatform.services.organization.Group> getChildGroup()
           
 List<String> getList()
           
 org.exoplatform.webui.core.UIComponent getReturnComponent()
           
 String getReturnField()
           
 String getType()
           
 boolean isSelectGroup()
           
 boolean isSelectMemberShip()
           
 boolean isSelectUser()
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setComponent(org.exoplatform.webui.core.UIComponent uicomponent, String[] initParams)
           
 void setSelectedGroups(List<org.exoplatform.services.organization.Group> groups)
           
 void setSpaceGroupId(String groupId)
           
 void setType(String type)
           
 
Methods inherited from class org.exoplatform.webui.organization.UIGroupMembershipSelector
event, getCurrentGroup, getListMemberhip
 
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, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIGroupSelector

public UIGroupSelector()
                throws Exception
Throws:
Exception
Method Detail

processRender

public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws Exception
Overrides:
processRender in class org.exoplatform.webui.organization.UIGroupMembershipSelector
Throws:
Exception

getReturnComponent

public org.exoplatform.webui.core.UIComponent getReturnComponent()

getReturnField

public String getReturnField()

setComponent

public void setComponent(org.exoplatform.webui.core.UIComponent uicomponent,
                         String[] initParams)
Specified by:
setComponent in interface UISelectComponent

getChildGroup

public List<org.exoplatform.services.organization.Group> getChildGroup()
                                                                throws Exception
Throws:
Exception

isSelectGroup

public boolean isSelectGroup()

isSelectUser

public boolean isSelectUser()

isSelectMemberShip

public boolean isSelectMemberShip()

getList

public List<String> getList()
                     throws Exception
Throws:
Exception

setSelectedGroups

public void setSelectedGroups(List<org.exoplatform.services.organization.Group> groups)

setSpaceGroupId

public void setSpaceGroupId(String groupId)
                     throws Exception
Throws:
Exception

changeGroup

public void changeGroup(String groupId)
                 throws Exception
Overrides:
changeGroup in class org.exoplatform.webui.organization.UIGroupMembershipSelector
Throws:
Exception

activate

public void activate()
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent

deActivate

public void deActivate()
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent

setType

public void setType(String type)

getType

public String getType()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.