org.exoplatform.calendar.webui.popup
Class UIGroupCalendarTab
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputSet
org.exoplatform.webui.form.UIFormInputWithActions
org.exoplatform.calendar.webui.popup.UIGroupCalendarTab
public class UIGroupCalendarTab
- extends org.exoplatform.webui.form.UIFormInputWithActions
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
Mar 10, 2008
| Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormInputWithActions |
org.exoplatform.webui.form.UIFormInputWithActions.ActionData |
| Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormInputSet |
org.exoplatform.webui.form.UIFormInputSet.SelectComponentActionListener |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.webui.form.UIFormInputSet |
addUIFormInput, addUIFormInput, getName, getSelectedComponentId, getUICheckBoxInput, getUIFormCheckBoxInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingField, invokeSetBindingField, processDecode, reset, setSelectedComponent, setSelectedComponent |
| 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, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, 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 |
UIGroupCalendarTab
public UIGroupCalendarTab(String id)
throws Exception
- Throws:
Exception
getParentFrom
protected org.exoplatform.webui.form.UIForm getParentFrom()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext arg0)
throws Exception
- Overrides:
processRender in class org.exoplatform.webui.form.UIFormInputWithActions
- Throws:
Exception
setGroupsListInitial
public void setGroupsListInitial()
- copy the group list at the moment of init of tab
getDeletedGroup
public String[] getDeletedGroup()
resetTab
public void resetTab()
- clear field value, hides all input field and remove group permission from group list
addGroupPermissionEntry
public void addGroupPermissionEntry(String groupId)
throws Exception
- add an entry in the permission list for a specific group
if the entry is already there, do nothing otherwise, add it and show it
- Parameters:
groupId -
- Throws:
Exception
removeGroupPermissionEntry
public void removeGroupPermissionEntry(String groupId)
- hides the permission entry for the group being removed
- Parameters:
groupId -
addGroupToDisplay
public boolean addGroupToDisplay(String groupId)
throws Exception
- check if the group belongs to user's groups
if it's ok then add the group to be displayed by the tab
- Parameters:
groupId -
- Returns:
-
- Throws:
Exception
removeGroup
public void removeGroup(String groupId)
getGroupsAddedToTheCalendar
public String[] getGroupsAddedToTheCalendar()
- return the groups that are set permissions
check the string input for all the displayed groups, if it's modified then the groups
is added to the calendar
- Returns:
getDisplayedGroups
public String[] getDisplayedGroups()
containsGroup
public boolean containsGroup(String groupId)
setActionField
public void setActionField(String fieldName,
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
- Overrides:
setActionField in class org.exoplatform.webui.form.UIFormInputWithActions
getActionField
public List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionField(String fieldName)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.