org.alfresco.web.ui.repo.component
Class UIUserGroupPicker

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by org.alfresco.web.ui.repo.component.UIUserGroupPicker
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.StateHolder

public class UIUserGroupPicker
extends javax.faces.component.UICommand

Seld rendering component tied to the EmailSpaceUsersDialog bean. Renders a hierarchy of user/group authorities. Each authority can be (de)selected and groups can be expanded/collapsed to display and select from the child authorities in the group. Nested groups are supported.


Nested Class Summary
static class UIUserGroupPicker.PickerEvent
          Class representing the an action relevant to the User Group picker component.
 
Field Summary
static int ACTION_EXPANDCOLLAPSE
           
static int ACTION_NONE
          action ids
static int ACTION_SELECT
           
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
 
Constructor Summary
UIUserGroupPicker()
          Default constructor
 
Method Summary
 void decode(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 java.lang.String getFamily()
           
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, restoreState, saveState, setAction, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_NONE

public static final int ACTION_NONE
action ids

See Also:
Constant Field Values

ACTION_EXPANDCOLLAPSE

public static final int ACTION_EXPANDCOLLAPSE
See Also:
Constant Field Values

ACTION_SELECT

public static final int ACTION_SELECT
See Also:
Constant Field Values
Constructor Detail

UIUserGroupPicker

public UIUserGroupPicker()
Default constructor

Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UICommand
See Also:
UIComponent.getFamily()

decode

public void decode(javax.faces.context.FacesContext context)
Overrides:
decode in class javax.faces.component.UIComponentBase
See Also:
UIComponentBase.decode(javax.faces.context.FacesContext)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.