public class UITaskForm extends org.exoplatform.webui.form.UIFormTabPane implements UIPopupComponent, UISelector
| Modifier and Type | Class and Description |
|---|---|
static class |
UITaskForm.AddActionListener |
static class |
UITaskForm.AddAttachmentActionListener |
static class |
UITaskForm.AddCalendarActionListener |
static class |
UITaskForm.AddCategoryActionListener |
static class |
UITaskForm.CancelActionListener |
static class |
UITaskForm.CloseActionListener |
static class |
UITaskForm.DownloadAttachmentActionListener |
static class |
UITaskForm.RemoveAttachmentActionListener |
static class |
UITaskForm.RemoveEmailActionListener |
static class |
UITaskForm.SaveActionListener |
static class |
UITaskForm.SelectUserActionListener |
| Modifier and Type | Field and Description |
|---|---|
static String |
ACT_ADDCATEGORY |
static String |
ACT_ADDEMAIL |
static String |
ACT_DOWNLOAD |
static String |
ACT_REMOVE |
static String |
ACT_SELECTUSER |
protected String |
calType_ |
boolean |
isAddNew_ |
static String |
ITEM_AVAILABLE |
static String |
ITEM_BUSY |
static String |
ITEM_PRIVATE |
static String |
ITEM_PUBLIC |
static String |
ITEM_REPEAT |
static String |
ITEM_UNREPEAT |
static int |
LIMIT_FILE_UPLOAD |
static String |
TAB_TASKDETAIL |
static String |
TAB_TASKREMINDER |
| Constructor and Description |
|---|
UITaskForm() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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) |
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, 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 TAB_TASKDETAIL
public static final String TAB_TASKREMINDER
public static final String ITEM_PUBLIC
public static final String ITEM_PRIVATE
public static final String ITEM_AVAILABLE
public static final String ITEM_BUSY
public static final String ITEM_REPEAT
public static final String ITEM_UNREPEAT
public static final String ACT_REMOVE
public static final String ACT_DOWNLOAD
public static final String ACT_ADDEMAIL
public static final String ACT_ADDCATEGORY
public static final String ACT_SELECTUSER
public boolean isAddNew_
protected String calType_
public static final int LIMIT_FILE_UPLOAD
public String getLabel(String id)
getLabel in class org.exoplatform.webui.form.UIFormpublic void reset()
reset in class org.exoplatform.webui.form.UIFormpublic void setSelectedEventState(String value)
public void initForm(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent eventCalendar,
String formTime)
throws Exception
Exceptionprotected String getStatus()
protected void setStatus(String value)
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 updateSelect(String selectField, String value) throws Exception
updateSelect in interface UISelectorExceptionprotected boolean isTaskDetailValid(org.exoplatform.calendar.service.CalendarSetting calendarSetting)
protected String getEventSumary()
protected void setEventSumary(String value)
protected String getEventDescription()
protected void setEventDescription(String value)
protected String getCalendarId()
public void setSelectedCalendarId(String value)
protected String getTaskCategory()
public void setSelectedCategory(String value)
protected Date getTaskFromDate(String dateFormat, String timeFormat) throws Exception
Exceptionpublic static Date getBeginDate(boolean isAllDate, String dateFormat, String fromField, String timeFormat, String timeField) throws Exception
Exceptionprotected String getTaskFormDateValue()
protected void setEventFromDate(Date date, String dateFormat, String timeFormat) throws Exception
Exceptionpublic static Date getToDate(boolean isAllDate, String dateFormat, String toField, String timeFormat, String timeField) throws Exception
Exceptionprotected Date getTaskToDate(String dateFormat, String timeFormat) throws Exception
Exceptionprotected String getTaskToDateValue()
protected void setEventToDate(Date date, String dateFormat, String timeFormat) throws Exception
Exceptionprotected boolean getEventAllDate()
protected void setEventAllDate(boolean isCheckAll)
protected String[] getEventDelegationAll()
protected String getEventDelegationValue()
protected void setEventDelegation(String value)
protected boolean getEmailReminder()
protected void setEmailReminder(boolean isChecked)
protected String getEmailRemindBefore()
protected boolean isEmailRepeat()
public void setEmailRepeat(Boolean value)
protected String getEmailRepeatInterVal()
protected void setEmailReminderBefore(String value)
protected String getEmailAddress()
public void setEmailAddress(String value)
protected boolean getPopupReminder()
protected void setPopupReminder(boolean isChecked)
protected String getPopupReminderTime()
protected Boolean isPopupRepeat()
protected void setPopupRepeat(Boolean value)
protected String getPopupRepeatInterVal()
protected void setPopupReminderTime(String value)
protected long getPopupReminderSnooze()
protected void setPopupReminderSnooze(long value)
protected List<org.exoplatform.calendar.service.Attachment> getAttachments(String eventId, boolean isAddNew)
protected void setAttachments(List<org.exoplatform.calendar.service.Attachment> attachment) throws Exception
Exceptionprotected void setEventReminders(List<org.exoplatform.calendar.service.Reminder> reminders)
public boolean isReminderByEmail(List<org.exoplatform.calendar.service.Reminder> reminders)
protected List<org.exoplatform.calendar.service.Reminder> getEventReminders(Date fromDateTime) throws Exception
Exceptionprotected String getEventPriority()
protected void setSelectedEventPriority(String value)
public void update(String calType, List<org.exoplatform.webui.core.model.SelectItem> options) throws Exception
Exceptionprotected long getTotalAttachment()
public org.exoplatform.calendar.service.Attachment getAttachment(String attId)
public static void updateListView(CalendarView calendarView, org.exoplatform.calendar.service.CalendarEvent calendarEvent, org.exoplatform.calendar.service.CalendarService calService, String username) throws Exception
Exceptionpublic void setEmailRemindBefore(String value)
protected void setEmailRepeatInterVal(long value)
protected void setPopupRemindBefore(String value)
protected void setPopupRepeatInterval(long value)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.