org.exoplatform.calendar.webui.popup
Class UIRepeatEventForm
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.calendar.webui.popup.UIRepeatEventForm
- All Implemented Interfaces:
- UIPopupComponent
public class UIRepeatEventForm
- extends org.exoplatform.webui.form.UIForm
- implements UIPopupComponent
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
Mar 2, 2011
| 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, 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_REPEAT_TYPE
public static final String FIELD_REPEAT_TYPE
- See Also:
- Constant Field Values
FIELD_INTERVAL
public static final String FIELD_INTERVAL
- See Also:
- Constant Field Values
FIELD_WEEKLY_BYDAY
public static final String FIELD_WEEKLY_BYDAY
- See Also:
- Constant Field Values
FIELD_MONTHLY_TYPE
public static final String FIELD_MONTHLY_TYPE
- See Also:
- Constant Field Values
FIELD_END_REPEAT
public static final String FIELD_END_REPEAT
- See Also:
- Constant Field Values
FIELD_END_BYDATE
public static final String FIELD_END_BYDATE
- See Also:
- Constant Field Values
FIELD_END_AFTER
public static final String FIELD_END_AFTER
- See Also:
- Constant Field Values
OCCURRENCES
public static final String OCCURRENCES
- See Also:
- Constant Field Values
RP_END_BYDATE
public static final String RP_END_BYDATE
- See Also:
- Constant Field Values
RP_END_AFTER
public static final String RP_END_AFTER
- See Also:
- Constant Field Values
RP_END_NEVER
public static final String RP_END_NEVER
- See Also:
- Constant Field Values
RP_MONTHLY_BYDAY
public static final String RP_MONTHLY_BYDAY
- See Also:
- Constant Field Values
RP_MONTHLY_BYMONTHDAY
public static final String RP_MONTHLY_BYMONTHDAY
- See Also:
- Constant Field Values
UIRepeatEventForm
public UIRepeatEventForm()
throws Exception
- Throws:
Exception
init
public void init(org.exoplatform.calendar.service.CalendarEvent event)
throws Exception
- Throws:
Exception
getRepeatTypeOptions
public List<org.exoplatform.webui.core.model.SelectItemOption<String>> getRepeatTypeOptions()
getIntervalOptions
public List<org.exoplatform.webui.core.model.SelectItemOption<String>> getIntervalOptions()
setRepeatType
protected void setRepeatType(String value)
getRepeatType
protected String getRepeatType()
setInterval
protected void setInterval(String value)
getInterval
protected String getInterval()
setWeeklyByDay
protected void setWeeklyByDay(String value)
getWeeklyByDay
protected List<String> getWeeklyByDay()
setMonthlyType
protected void setMonthlyType(String value)
getMonthlyType
protected String getMonthlyType()
getEndType
protected String getEndType()
setEndType
protected void setEndType(String value)
setEndAfter
protected void setEndAfter(String value)
getEndAfter
protected String getEndAfter()
getEndDate
protected String getEndDate()
getEndDate
protected Date getEndDate(String dateFormat)
throws Exception
- Throws:
Exception
setEndDate
protected void setEndDate(Date date,
String dateFormat)
convertToDayOfWeek
public static int convertToDayOfWeek(String day)
convertToDayOfWeek
public static String convertToDayOfWeek(int day)
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
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.