org.exoplatform.calendar.webui.popup
Class UITaskForm
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.webui.form.UIFormTabPane
org.exoplatform.calendar.webui.popup.UITaskForm
- All Implemented Interfaces:
- UIPopupComponent, UISelector
public class UITaskForm
- extends org.exoplatform.webui.form.UIFormTabPane
- implements UIPopupComponent, UISelector
Created by The eXo Platform SARL
Author : Tuan Pham
tuan.pham@exoplatform.com
| Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormTabPane |
org.exoplatform.webui.form.UIFormTabPane.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.form.UIFormTabPane |
name_, RENDER_TAB |
| 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 |
|
Method Summary |
void |
activate()
|
void |
deActivate()
|
String[] |
getActions()
|
org.exoplatform.calendar.service.Attachment |
getAttachment(String attId)
|
protected List<org.exoplatform.calendar.service.Attachment> |
getAttachments(String eventId,
boolean isAddNew)
|
static Date |
getBeginDate(boolean isAllDate,
String dateFormat,
String fromField,
String timeFormat,
String timeField)
|
protected String |
getCalendarId()
|
protected String |
getEmailAddress()
|
protected String |
getEmailRemindBefore()
|
protected boolean |
getEmailReminder()
|
protected String |
getEmailRepeatInterVal()
|
protected boolean |
getEventAllDate()
|
protected String |
getEventDelegation()
|
protected String[] |
getEventDelegationAll()
|
protected String |
getEventDelegationValue()
|
protected String |
getEventDescription()
|
protected String |
getEventPriority()
|
protected List<org.exoplatform.calendar.service.Reminder> |
getEventReminders(Date fromDateTime)
|
protected String |
getEventSumary()
|
String |
getLabel(String id)
|
protected boolean |
getPopupReminder()
|
protected long |
getPopupReminderSnooze()
|
protected String |
getPopupReminderTime()
|
protected String |
getPopupRepeatInterVal()
|
protected String |
getStatus()
|
protected String |
getTaskCategory()
|
protected String |
getTaskFormDateValue()
|
protected Date |
getTaskFromDate(String dateFormat,
String timeFormat)
|
protected Date |
getTaskToDate(String dateFormat,
String timeFormat)
|
protected String |
getTaskToDateValue()
|
static Date |
getToDate(boolean isAllDate,
String dateFormat,
String toField,
String timeFormat,
String timeField)
|
protected long |
getTotalAttachment()
|
void |
initForm(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent eventCalendar,
String formTime)
|
protected boolean |
isEmailRepeat()
|
protected Boolean |
isPopupRepeat()
|
boolean |
isReminderByEmail(List<org.exoplatform.calendar.service.Reminder> reminders)
|
protected boolean |
isTaskDetailValid(org.exoplatform.calendar.service.CalendarSetting calendarSetting)
|
protected void |
refreshCategory()
|
void |
reset()
|
protected void |
setAttachments(List<org.exoplatform.calendar.service.Attachment> attachment)
|
void |
setEmailAddress(String value)
|
void |
setEmailRemindBefore(String value)
|
protected void |
setEmailReminder(boolean isChecked)
|
protected void |
setEmailReminderBefore(String value)
|
void |
setEmailRepeat(Boolean value)
|
protected void |
setEmailRepeatInterVal(long value)
|
protected void |
setEventAllDate(boolean isCheckAll)
|
protected void |
setEventDelegation(String value)
|
protected void |
setEventDescription(String value)
|
protected void |
setEventFromDate(Date date,
String dateFormat,
String timeFormat)
|
protected void |
setEventReminders(List<org.exoplatform.calendar.service.Reminder> reminders)
|
protected void |
setEventSumary(String value)
|
protected void |
setEventToDate(Date date,
String dateFormat,
String timeFormat)
|
protected void |
setPopupRemindBefore(String value)
|
protected void |
setPopupReminder(boolean isChecked)
|
protected void |
setPopupReminderSnooze(long value)
|
protected void |
setPopupReminderTime(String value)
|
protected void |
setPopupRepeat(Boolean value)
|
protected void |
setPopupRepeatInterval(long value)
|
void |
setSelectedCalendarId(String value)
|
void |
setSelectedCategory(String value)
|
protected void |
setSelectedEventPriority(String value)
|
void |
setSelectedEventState(String value)
|
protected void |
setStatus(String value)
|
static void |
showAddressForm(UIAddressForm uiAddressForm,
String oldAddress)
|
void |
update(String calType,
List<org.exoplatform.webui.core.model.SelectItem> options)
|
static void |
updateListView(CalendarView calendarView,
org.exoplatform.calendar.service.CalendarEvent calendarEvent,
org.exoplatform.calendar.service.CalendarService calService,
String username)
|
void |
updateSelect(String selectField,
String value)
|
| Methods inherited from class org.exoplatform.webui.form.UIFormTabPane |
getName, getSelectedTabId, hasInfoBar, hasRenderResourceTabName, processDecode, setInfoBar, setRenderResourceTabName, setSelectedTab, setSelectedTab |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, 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, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, 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 |
TAB_TASKDETAIL
public static final String TAB_TASKDETAIL
TAB_TASKREMINDER
public static final String TAB_TASKREMINDER
ITEM_PUBLIC
public static final String ITEM_PUBLIC
ITEM_PRIVATE
public static final String ITEM_PRIVATE
ITEM_AVAILABLE
public static final String ITEM_AVAILABLE
ITEM_BUSY
public static final String ITEM_BUSY
ITEM_REPEAT
public static final String ITEM_REPEAT
ITEM_UNREPEAT
public static final String ITEM_UNREPEAT
ACT_REMOVE
public static final String ACT_REMOVE
ACT_DOWNLOAD
public static final String ACT_DOWNLOAD
ACT_ADDEMAIL
public static final String ACT_ADDEMAIL
ACT_ADDCATEGORY
public static final String ACT_ADDCATEGORY
ACT_SELECTUSER
public static final String ACT_SELECTUSER
isAddNew_
public boolean isAddNew_
calType_
protected String calType_
LIMIT_FILE_UPLOAD
public static final int LIMIT_FILE_UPLOAD
- See Also:
- Constant Field Values
UITaskForm
public UITaskForm()
throws Exception
- Throws:
Exception
getLabel
public String getLabel(String id)
- Overrides:
getLabel in class org.exoplatform.webui.form.UIForm
reset
public void reset()
- Overrides:
reset in class org.exoplatform.webui.form.UIForm
setSelectedEventState
public void setSelectedEventState(String value)
initForm
public void initForm(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent eventCalendar,
String formTime)
throws Exception
- Throws:
Exception
refreshCategory
protected void refreshCategory()
throws Exception
- Throws:
Exception
getStatus
protected String getStatus()
setStatus
protected void setStatus(String value)
getActions
public String[] getActions()
- Overrides:
getActions in class org.exoplatform.webui.form.UIForm
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
updateSelect
public void updateSelect(String selectField,
String value)
throws Exception
- Specified by:
updateSelect in interface UISelector
- Throws:
Exception
isTaskDetailValid
protected boolean isTaskDetailValid(org.exoplatform.calendar.service.CalendarSetting calendarSetting)
getEventSumary
protected String getEventSumary()
setEventSumary
protected void setEventSumary(String value)
getEventDescription
protected String getEventDescription()
setEventDescription
protected void setEventDescription(String value)
getCalendarId
protected String getCalendarId()
setSelectedCalendarId
public void setSelectedCalendarId(String value)
getTaskCategory
protected String getTaskCategory()
setSelectedCategory
public void setSelectedCategory(String value)
getTaskFromDate
protected Date getTaskFromDate(String dateFormat,
String timeFormat)
throws Exception
- Throws:
Exception
getBeginDate
public static Date getBeginDate(boolean isAllDate,
String dateFormat,
String fromField,
String timeFormat,
String timeField)
throws Exception
- Throws:
Exception
getTaskFormDateValue
protected String getTaskFormDateValue()
setEventFromDate
protected void setEventFromDate(Date date,
String dateFormat,
String timeFormat)
throws Exception
- Throws:
Exception
getToDate
public static Date getToDate(boolean isAllDate,
String dateFormat,
String toField,
String timeFormat,
String timeField)
throws Exception
- Throws:
Exception
getTaskToDate
protected Date getTaskToDate(String dateFormat,
String timeFormat)
throws Exception
- Throws:
Exception
getTaskToDateValue
protected String getTaskToDateValue()
setEventToDate
protected void setEventToDate(Date date,
String dateFormat,
String timeFormat)
throws Exception
- Throws:
Exception
getEventAllDate
protected boolean getEventAllDate()
setEventAllDate
protected void setEventAllDate(boolean isCheckAll)
getEventDelegation
protected String getEventDelegation()
throws Exception
- Throws:
Exception
getEventDelegationAll
protected String[] getEventDelegationAll()
getEventDelegationValue
protected String getEventDelegationValue()
setEventDelegation
protected void setEventDelegation(String value)
getEmailReminder
protected boolean getEmailReminder()
setEmailReminder
protected void setEmailReminder(boolean isChecked)
getEmailRemindBefore
protected String getEmailRemindBefore()
isEmailRepeat
protected boolean isEmailRepeat()
setEmailRepeat
public void setEmailRepeat(Boolean value)
getEmailRepeatInterVal
protected String getEmailRepeatInterVal()
setEmailReminderBefore
protected void setEmailReminderBefore(String value)
getEmailAddress
protected String getEmailAddress()
setEmailAddress
public void setEmailAddress(String value)
getPopupReminder
protected boolean getPopupReminder()
setPopupReminder
protected void setPopupReminder(boolean isChecked)
getPopupReminderTime
protected String getPopupReminderTime()
isPopupRepeat
protected Boolean isPopupRepeat()
setPopupRepeat
protected void setPopupRepeat(Boolean value)
getPopupRepeatInterVal
protected String getPopupRepeatInterVal()
setPopupReminderTime
protected void setPopupReminderTime(String value)
getPopupReminderSnooze
protected long getPopupReminderSnooze()
setPopupReminderSnooze
protected void setPopupReminderSnooze(long value)
getAttachments
protected List<org.exoplatform.calendar.service.Attachment> getAttachments(String eventId,
boolean isAddNew)
setAttachments
protected void setAttachments(List<org.exoplatform.calendar.service.Attachment> attachment)
throws Exception
- Throws:
Exception
setEventReminders
protected void setEventReminders(List<org.exoplatform.calendar.service.Reminder> reminders)
isReminderByEmail
public boolean isReminderByEmail(List<org.exoplatform.calendar.service.Reminder> reminders)
getEventReminders
protected List<org.exoplatform.calendar.service.Reminder> getEventReminders(Date fromDateTime)
throws Exception
- Throws:
Exception
getEventPriority
protected String getEventPriority()
setSelectedEventPriority
protected void setSelectedEventPriority(String value)
update
public void update(String calType,
List<org.exoplatform.webui.core.model.SelectItem> options)
throws Exception
- Throws:
Exception
getTotalAttachment
protected long getTotalAttachment()
getAttachment
public org.exoplatform.calendar.service.Attachment getAttachment(String attId)
showAddressForm
public static void showAddressForm(UIAddressForm uiAddressForm,
String oldAddress)
throws Exception
- Throws:
Exception
updateListView
public static void updateListView(CalendarView calendarView,
org.exoplatform.calendar.service.CalendarEvent calendarEvent,
org.exoplatform.calendar.service.CalendarService calService,
String username)
throws Exception
- Throws:
Exception
setEmailRemindBefore
public void setEmailRemindBefore(String value)
setEmailRepeatInterVal
protected void setEmailRepeatInterVal(long value)
setPopupRemindBefore
protected void setPopupRemindBefore(String value)
setPopupRepeatInterval
protected void setPopupRepeatInterval(long value)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.