org.exoplatform.calendar.webui.popup
Class UIQuickAddEvent

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by 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 Class Summary
static class UIQuickAddEvent.CancelActionListener
           
static class UIQuickAddEvent.MoreDetailActionListener
           
static class UIQuickAddEvent.SaveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String FIELD_ALLDAY
           
static String FIELD_CALENDAR
           
static String FIELD_CATEGORY
           
static String FIELD_DESCRIPTION
           
static String FIELD_EVENT
           
static String FIELD_FROM
           
static String FIELD_FROM_TIME
           
static String FIELD_TO
           
static String FIELD_TO_TIME
           
static String UIQUICKADDTASK
           
 
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
 
Constructor Summary
UIQuickAddEvent()
           
 
Method Summary
 void activate()
           
 void autoAddReminder(org.exoplatform.calendar.service.CalendarEvent calEvent, Date from, String username)
           
 boolean canEdit(String[] savePerms)
           
 void deActivate()
           
 List<org.exoplatform.webui.core.model.SelectItem> getCalendars()
           
 String getLabel(String id)
           
 org.exoplatform.webui.form.ext.UIFormComboBox getUIFormCombobox(String name)
           
 org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(String id)
           
 void init(org.exoplatform.calendar.service.CalendarSetting calendarSetting, String startTime, String endTime)
           
 boolean isEvent()
           
 void setEvent(boolean isEvent)
           
 void setIsAllday(boolean isChecked)
           
 void setSelectedCalendar(String value)
           
 void setSelectedCategory(String value)
           
 void update(String calType, List<org.exoplatform.webui.core.model.SelectItem> options)
           
 
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 Detail

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
Constructor Detail

UIQuickAddEvent

public UIQuickAddEvent()
                throws Exception
Throws:
Exception
Method Detail

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–2014 eXo Platform SAS. All rights reserved.