org.exoplatform.calendar.webui.popup
Class UIQuickAddEvent
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.calendar.webui.popup.UIQuickAddEvent
- All Implemented Interfaces:
- UIPopupComponent
public class UIQuickAddEvent
- extends org.exoplatform.webui.form.UIForm
- implements UIPopupComponent
Created by The eXo Platform SARL
Author : Pham Tuan
tuan.pham@exoplatform.com
Aug 29, 2007
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.form.UIForm |
ACTION, SUBCOMPONENT_ID |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url |
| 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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_EVENT
public static final String FIELD_EVENT
FIELD_CALENDAR
public static final String FIELD_CALENDAR
FIELD_CATEGORY
public static final String FIELD_CATEGORY
FIELD_FROM
public static final String FIELD_FROM
FIELD_TO
public static final String FIELD_TO
FIELD_FROM_TIME
public static final String FIELD_FROM_TIME
FIELD_TO_TIME
public static final String FIELD_TO_TIME
FIELD_ALLDAY
public static final String FIELD_ALLDAY
FIELD_DESCRIPTION
public static final String FIELD_DESCRIPTION
UIQUICKADDTASK
public static final String UIQUICKADDTASK
UIQuickAddEvent
public UIQuickAddEvent()
throws Exception
- Throws:
Exception
getUIFormCombobox
public org.exoplatform.webui.form.ext.UIFormComboBox getUIFormCombobox(String name)
init
public void init(org.exoplatform.calendar.service.CalendarSetting calendarSetting,
String startTime,
String endTime)
throws Exception
- Throws:
Exception
getCalendars
public List<org.exoplatform.webui.core.model.SelectItem> getCalendars()
throws Exception
- Throws:
Exception
getLabel
public String getLabel(String id)
- Overrides:
getLabel in class org.exoplatform.webui.form.UIForm
setIsAllday
public void setIsAllday(boolean isChecked)
setSelectedCalendar
public void setSelectedCalendar(String value)
getUIFormSelectBoxGroup
public org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(String id)
setSelectedCategory
public void setSelectedCategory(String value)
activate
public void activate()
throws Exception
- Specified by:
activate in interface UIPopupComponent
- Throws:
Exception
deActivate
public void deActivate()
throws Exception
- Specified by:
deActivate in interface UIPopupComponent
- Throws:
Exception
setEvent
public void setEvent(boolean isEvent)
isEvent
public boolean isEvent()
update
public void update(String calType,
List<org.exoplatform.webui.core.model.SelectItem> options)
throws Exception
- Throws:
Exception
canEdit
public boolean canEdit(String[] savePerms)
throws Exception
- Throws:
Exception
autoAddReminder
public void autoAddReminder(org.exoplatform.calendar.service.CalendarEvent calEvent,
Date from,
String username)
throws Exception
- Throws:
Exception
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.