public class UICalendarForm extends org.exoplatform.webui.form.UIFormTabPane implements UIPopupComponent, UISelector
| Modifier and Type | Class and Description |
|---|---|
static class |
UICalendarForm.ActiveActionListener |
static class |
UICalendarForm.AddGroupActionListener
add a new entry for a group in the permission list
|
static class |
UICalendarForm.CancelActionListener |
static class |
UICalendarForm.DeactiveActionListener |
static class |
UICalendarForm.DeletePermissionActionListener |
static class |
UICalendarForm.OpenActionListener |
static class |
UICalendarForm.OpenSelectGroupFormActionListener
open popup to select group, only groups that user belong to is displayed
|
static class |
UICalendarForm.ResetActionListener
reset the form to initial state
|
static class |
UICalendarForm.SaveActionListener |
static class |
UICalendarForm.SelectPermissionActionListener
open popup in order to select user or group membership
|
static class |
UICalendarForm.ShowPublicURLActionListener |
| Constructor and Description |
|---|
UICalendarForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deActivate() |
String[] |
getActions() |
String |
getCalType() |
protected String |
getDescription() |
protected String |
getDisplayName() |
String |
getLabel(String id) |
protected String |
getLocale() |
protected List<org.exoplatform.webui.core.model.SelectItemOption<String>> |
getLocales() |
static List<String> |
getPermissions(List<String> listPermission,
String groupPermissions,
org.exoplatform.services.organization.OrganizationService orgService,
String groupIdSelected,
String groupKey,
org.exoplatform.webui.event.Event<?> event,
StringBuffer notFoundUser) |
protected String |
getSelectedColor() |
protected String |
getSelectedGroup() |
protected String |
getTimeZone() |
protected List<org.exoplatform.webui.core.model.SelectItemOption<String>> |
getTimeZones() |
void |
init(org.exoplatform.calendar.service.Calendar calendar,
org.exoplatform.calendar.service.CalendarSetting setting) |
boolean |
isAddNew() |
protected boolean |
isPublic()
check if the calendar is a public or private calendar
|
void |
resetField()
clear all fields and set to initial values
|
protected void |
setDescription(String value) |
protected void |
setDisplayName(String value) |
void |
setLocale(String value) |
protected void |
setSelectedColor(String value) |
void |
setTimeZone(String value) |
void |
updateSelect(String selectField,
String value) |
getName, getSelectedTabId, hasInfoBar, hasRenderResourceTabName, processDecode, setInfoBar, setRenderResourceTabName, setSelectedTab, setSelectedTabaddUIComponentInput, 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, urladdChild, 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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, urlpublic static final String DISPLAY_NAME
public static final String DESCRIPTION
public static final String CATEGORY
public static final String SHARED_GROUPS
public static final String SELECT_COLOR
public static final String SELECT_GROUPS
public static final String EDIT_PERMISSION
public static final String ACTIONS
public static final String ADD_GROUP_INPUT
public static final String ADD_GROUP_INPUT_LABEL
public static final String OPEN_SELECT_GROUP_FORM
public static final String ADD_GROUP
public static final String INPUT_CALENDAR
public static final String INPUT_SHARE
public static final String TIMEZONE
public static final String LOCALE
public static final String PERMISSION_SUB
public static final String PUBLIC_URL
public static final String PRIVATE_URL
public static final String PUBLIC_URL_MSG
public static final String PUBLIC_URL_MSG_D
public static final String ACTION_SELECT_PERMISSION
public static final String ACTION_DELETE_PERMISSION
public static final String ACT_ADD_CATEGORY
public static final String ACT_OPEN
public static final String ACT_SUBSCRIBE
public static final String ACT_ACTIVE
public static final String ACT_DEACTIVE
public static final int TYPE_BUTTON
public org.exoplatform.calendar.service.Calendar calendar_
public String calType_
public String groupCalId_
public String getCalType()
public String[] getActions()
getActions in class org.exoplatform.webui.form.UIFormpublic void activate()
throws Exception
activate in interface UIPopupComponentExceptionpublic void deActivate()
throws Exception
deActivate in interface UIPopupComponentExceptionpublic void resetField()
throws Exception
Exceptionpublic boolean isAddNew()
public void init(org.exoplatform.calendar.service.Calendar calendar,
org.exoplatform.calendar.service.CalendarSetting setting)
throws Exception
Exceptionprotected String getDisplayName()
protected void setDisplayName(String value)
protected String getDescription()
protected void setDescription(String value)
protected String getSelectedGroup()
protected String getSelectedColor()
protected void setSelectedColor(String value)
protected String getLocale()
public void setLocale(String value)
protected String getTimeZone()
public void setTimeZone(String value)
public void updateSelect(String selectField, String value) throws Exception
updateSelect in interface UISelectorExceptionprotected boolean isPublic()
throws Exception
Exceptionprotected List<org.exoplatform.webui.core.model.SelectItemOption<String>> getTimeZones()
public String getLabel(String id)
getLabel in class org.exoplatform.webui.form.UIFormpublic static List<String> getPermissions(List<String> listPermission, String groupPermissions, org.exoplatform.services.organization.OrganizationService orgService, String groupIdSelected, String groupKey, org.exoplatform.webui.event.Event<?> event, StringBuffer notFoundUser) throws Exception
ExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.