public class UIEventForm extends org.exoplatform.webui.form.UIFormTabPane implements UIPopupComponent, UISelector
| Constructor and Description |
|---|
UIEventForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
String |
buildRepeatSummary(org.exoplatform.calendar.service.CalendarEvent repeatEvent)
Build the repeating summary, i.e: daily every 2 days, until 02/03/2011.
|
void |
deActivate() |
static void |
downloadAtt(org.exoplatform.webui.event.Event<?> event,
org.exoplatform.webui.form.UIForm uiForm,
boolean isEvent) |
String[] |
getActions() |
org.exoplatform.calendar.service.Attachment |
getAttachment(String attId) |
protected List<org.exoplatform.calendar.service.Attachment> |
getAttachments(String eventId,
boolean isAddNew) |
static Calendar |
getCalendar(org.exoplatform.webui.form.UIForm uiForm,
String formTime,
org.exoplatform.calendar.service.CalendarSetting calSetting) |
protected String |
getCalendarId() |
protected String |
getEmailAddress() |
protected String |
getEmailRemindBefore() |
protected boolean |
getEmailReminder() |
protected String |
getEmailRepeatInterVal() |
protected boolean |
getEventAllDate() |
protected String |
getEventCategory() |
protected String |
getEventDescription() |
protected String |
getEventFormDateValue() |
protected Date |
getEventFromDate() |
protected Date |
getEventFromDate(String dateFormat,
String timeFormat) |
protected boolean |
getEventIsRepeat() |
protected String |
getEventPlace() |
protected String |
getEventPriority() |
protected List<org.exoplatform.calendar.service.Reminder> |
getEventReminders(Date fromDateTime,
List<org.exoplatform.calendar.service.Reminder> currentReminders) |
protected String |
getEventRepeat() |
protected String |
getEventRepeatUntilValue() |
protected String |
getEventState() |
protected String |
getEventSumary() |
protected Date |
getEventToDate() |
protected Date |
getEventToDate(String dateFormat,
String timeFormat) |
protected String |
getEventToDateValue() |
protected String |
getInvitationEmail() |
String |
getLabel(String id) |
protected String[] |
getMeetingInvitation() |
String |
getMessage() |
String |
getParticipantStatus() |
List<UIEventForm.ParticipantStatus> |
getParticipantStatusList() |
protected String |
getParticipantStatusValues() |
protected String |
getParticipantValues() |
protected boolean |
getPopupReminder() |
protected long |
getPopupReminderSnooze() |
protected String |
getPopupReminderTime() |
protected String |
getPopupRepeatInterVal() |
org.exoplatform.calendar.service.CalendarEvent |
getRepeatEvent() |
String |
getRepeatSummary() |
protected String |
getReplyInvitationLink(int answer,
org.exoplatform.services.organization.User invitor,
String invitee,
String eXoId,
org.exoplatform.calendar.service.CalendarEvent event) |
protected String |
getSendOption() |
protected String |
getShareType() |
protected long |
getTotalAttachment() |
void |
importInvitationEvent(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent event,
String calendarId,
String formtime)
Fill data from invitation event to current event form
|
void |
initForm(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent eventCalendar,
String formTime) |
protected boolean |
isEmailRepeat() |
protected boolean |
isEventDetailValid(org.exoplatform.calendar.service.CalendarSetting calendarSetting) |
protected Boolean |
isPopupRepeat() |
boolean |
isReminderByEmail(List<org.exoplatform.calendar.service.Reminder> reminders) |
protected boolean |
isSendMail() |
void |
processSaveEvent(org.exoplatform.webui.event.Event<UIEventForm> event) |
protected void |
refreshCategory() |
void |
saveAndNoAsk(org.exoplatform.webui.event.Event<UIEventForm> event,
boolean isSend,
Boolean updateSeries) |
protected void |
sendMail(org.exoplatform.services.mail.MailService svr,
org.exoplatform.services.organization.OrganizationService orSvr,
org.exoplatform.calendar.service.CalendarSetting setting,
String fromId,
String toId,
org.exoplatform.calendar.service.CalendarEvent event) |
protected void |
setAttachments(List<org.exoplatform.calendar.service.Attachment> attachment) |
void |
setEmailAddress(String value) |
void |
setEmailRemindBefore(String value) |
void |
setEmailReminder(boolean isChecked) |
void |
setEmailRepeat(Boolean value) |
protected void |
setEmailRepeatInterVal(long value) |
protected void |
setEventAllDate(boolean isCheckAll) |
protected void |
setEventDescription(String value) |
protected void |
setEventFromDate(Date date,
String dateFormat,
String timeFormat) |
protected void |
setEventIsRepeat(boolean isRepeat) |
protected void |
setEventPlace(String value) |
protected void |
setEventReminders(List<org.exoplatform.calendar.service.Reminder> reminders) |
protected void |
setEventRepeat(String type) |
protected void |
setEventSumary(String value) |
protected void |
setEventToDate(Date date,
String dateFormat,
String timeFormat) |
protected void |
setMeetingInvitation(String[] values) |
void |
setMessage(String invitationMsg) |
void |
setParticipant(String values) |
void |
setParticipantStatus(String values) |
protected void |
setParticipantStatusValues(String[] values) |
protected void |
setPopupRemindBefore(String value) |
protected void |
setPopupReminder(boolean isChecked) |
protected void |
setPopupRepeat(Boolean value) |
protected void |
setPopupRepeatInterval(long value) |
void |
setRepeatEvent(org.exoplatform.calendar.service.CalendarEvent repeatEvent) |
void |
setRepeatSummary(String summary) |
void |
setSelectedCalendarId(String value) |
void |
setSelectedCategory(String value) |
protected void |
setSelectedEventPriority(String value) |
void |
setSelectedEventState(String value) |
protected void |
setSelectedShareType(String value) |
protected void |
setSendOption(String value) |
void |
update(String calType,
List<org.exoplatform.webui.core.model.SelectItem> options) |
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 TAB_EVENTDETAIL
public static final String TAB_EVENTREMINDER
public static final String TAB_EVENTSHARE
public static final String TAB_EVENTATTENDER
public static final String FIELD_MEETING
public static final String FIELD_ISSENDMAIL
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_OUTSIDE
public static final String ITEM_REPEAT
public static final String ITEM_UNREPEAT
public static final String ITEM_ALWAYS
public static final String ITEM_NERVER
public static final String ITEM_ASK
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_EDITREPEAT
public static final String STATUS_EMPTY
public static final String STATUS_MAYBE
public static final String STATUS_YES
public static final String STATUS_NO
public static final String RP_END_BYDATE
public static final String RP_END_AFTER
public static final String RP_END_NEVER
public boolean isAddNew_
protected String calType_
protected String invitationMsg_
protected String participantList_
protected LinkedList<UIEventForm.ParticipantStatus> participantStatusList_
public static final int LIMIT_FILE_UPLOAD
public String getLabel(String id)
getLabel in class org.exoplatform.webui.form.UIFormpublic void initForm(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent eventCalendar,
String formTime)
throws Exception
Exceptionpublic boolean isReminderByEmail(List<org.exoplatform.calendar.service.Reminder> reminders)
public static Calendar getCalendar(org.exoplatform.webui.form.UIForm uiForm, String formTime, org.exoplatform.calendar.service.CalendarSetting calSetting)
public void update(String calType, List<org.exoplatform.webui.core.model.SelectItem> options) throws Exception
Exceptionpublic 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 isEventDetailValid(org.exoplatform.calendar.service.CalendarSetting calendarSetting)
throws Exception
Exceptionprotected 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 getEventCategory()
public void setSelectedCategory(String value)
protected Date getEventFromDate(String dateFormat, String timeFormat) throws Exception
Exceptionprotected String getEventFormDateValue()
protected Date getEventToDate(String dateFormat, String timeFormat) throws Exception
Exceptionprotected String getEventToDateValue()
protected boolean getEventAllDate()
protected void setEventAllDate(boolean isCheckAll)
protected String getEventRepeat()
protected void setEventRepeat(String type)
protected boolean getEventIsRepeat()
protected void setEventIsRepeat(boolean isRepeat)
protected String getEventRepeatUntilValue()
protected String getEventPlace()
protected void setEventPlace(String value)
protected boolean getEmailReminder()
public void setEmailReminder(boolean isChecked)
protected String getEmailRemindBefore()
protected boolean isEmailRepeat()
public void setEmailRepeat(Boolean value)
protected String getEmailRepeatInterVal()
protected void setEmailRepeatInterVal(long value)
protected Boolean isPopupRepeat()
protected void setPopupRepeat(Boolean value)
protected String getPopupRepeatInterVal()
public void setEmailRemindBefore(String value)
public void setEmailAddress(String value)
protected boolean getPopupReminder()
protected void setPopupReminder(boolean isChecked)
protected String getPopupReminderTime()
protected void setPopupRemindBefore(String value)
protected long getPopupReminderSnooze()
protected List<org.exoplatform.calendar.service.Attachment> getAttachments(String eventId, boolean isAddNew)
protected long getTotalAttachment()
protected void setAttachments(List<org.exoplatform.calendar.service.Attachment> attachment) throws Exception
Exceptionprotected void setPopupRepeatInterval(long value)
protected void setEventReminders(List<org.exoplatform.calendar.service.Reminder> reminders)
protected List<org.exoplatform.calendar.service.Reminder> getEventReminders(Date fromDateTime, List<org.exoplatform.calendar.service.Reminder> currentReminders) throws Exception
Exceptionprotected String getEventPriority()
protected void setSelectedEventPriority(String value)
protected String getEventState()
public void setSelectedEventState(String value)
protected String getShareType()
protected String getSendOption()
protected void setSendOption(String value)
public String getMessage()
public void setMessage(String invitationMsg)
protected void setSelectedShareType(String value)
protected String[] getMeetingInvitation()
protected String getInvitationEmail()
protected void setMeetingInvitation(String[] values)
protected String getParticipantValues()
protected String getParticipantStatusValues()
protected void setParticipantStatusValues(String[] values) throws Exception
Exceptionpublic String getParticipantStatus()
public void setParticipantStatus(String values) throws Exception
Exceptionprotected boolean isSendMail()
public void importInvitationEvent(org.exoplatform.calendar.service.CalendarSetting calSetting,
org.exoplatform.calendar.service.CalendarEvent event,
String calendarId,
String formtime)
throws Exception
calSetting - event - calendarId - formtime - Exceptionprotected void sendMail(org.exoplatform.services.mail.MailService svr,
org.exoplatform.services.organization.OrganizationService orSvr,
org.exoplatform.calendar.service.CalendarSetting setting,
String fromId,
String toId,
org.exoplatform.calendar.service.CalendarEvent event)
throws Exception
Exceptionprotected String getReplyInvitationLink(int answer, org.exoplatform.services.organization.User invitor, String invitee, String eXoId, org.exoplatform.calendar.service.CalendarEvent event) throws Exception
Exceptionpublic org.exoplatform.calendar.service.Attachment getAttachment(String attId)
public List<UIEventForm.ParticipantStatus> getParticipantStatusList()
public static void downloadAtt(org.exoplatform.webui.event.Event<?> event,
org.exoplatform.webui.form.UIForm uiForm,
boolean isEvent)
throws Exception
Exceptionpublic void processSaveEvent(org.exoplatform.webui.event.Event<UIEventForm> event) throws Exception
Exceptionpublic void saveAndNoAsk(org.exoplatform.webui.event.Event<UIEventForm> event, boolean isSend, Boolean updateSeries) throws Exception
Exceptionpublic void setRepeatEvent(org.exoplatform.calendar.service.CalendarEvent repeatEvent)
throws Exception
Exceptionpublic void setRepeatSummary(String summary)
public String getRepeatSummary()
public org.exoplatform.calendar.service.CalendarEvent getRepeatEvent()
public String buildRepeatSummary(org.exoplatform.calendar.service.CalendarEvent repeatEvent) throws Exception
There are 6 parameters: {count}, {until}, {interval}, {byDays}, {theDay}, {theNumber}.
Some labels in resource bundle to define numbers (the first, the second, ...) which were used in summary
repeatEvent - the repeating eventExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.