public class UIGroupCalendarTab
extends org.exoplatform.webui.form.UIFormInputWithActions
org.exoplatform.webui.form.UIFormInputWithActions.ActionData| Constructor and Description |
|---|
UIGroupCalendarTab(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupPermissionEntry(String groupId)
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
|
boolean |
addGroupToDisplay(String groupId)
check if the group belongs to user's groups
if it's ok then add the group to be displayed by the tab
|
boolean |
containsGroup(String groupId) |
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> |
getActionField(String fieldName) |
String[] |
getDeletedGroup() |
String[] |
getDisplayedGroups() |
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
|
protected org.exoplatform.webui.form.UIForm |
getParentFrom() |
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext arg0) |
void |
removeGroup(String groupId) |
void |
removeGroupPermissionEntry(String groupId)
hides the permission entry for the group being removed
|
void |
resetTab()
clear field value, hides all input field and remove group permission from group list
|
void |
setActionField(String fieldName,
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions) |
void |
setGroupsListInitial()
copy the group list at the moment of init of tab
|
addUIFormInput, addUIFormInput, getName, getSelectedComponentId, getUICheckBoxInput, getUIFormCheckBoxInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingField, invokeSetBindingField, processDecode, reset, setSelectedComponent, setSelectedComponentaddChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, 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, urlprotected org.exoplatform.webui.form.UIForm getParentFrom()
public void processRender(org.exoplatform.webui.application.WebuiRequestContext arg0)
throws Exception
processRender in class org.exoplatform.webui.form.UIFormInputWithActionsExceptionpublic void setGroupsListInitial()
public String[] getDeletedGroup()
public void resetTab()
public void addGroupPermissionEntry(String groupId) throws Exception
groupId - Exceptionpublic void removeGroupPermissionEntry(String groupId)
groupId - public boolean addGroupToDisplay(String groupId) throws Exception
groupId - Exceptionpublic void removeGroup(String groupId)
public String[] getGroupsAddedToTheCalendar()
public String[] getDisplayedGroups()
public boolean containsGroup(String groupId)
public void setActionField(String fieldName, List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
setActionField in class org.exoplatform.webui.form.UIFormInputWithActionsCopyright © 2003–2015 eXo Platform SAS. All rights reserved.