org.exoplatform.calendar.webui.popup
Class UIRepeatEventForm

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.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 Class Summary
static class UIRepeatEventForm.CancelActionListener
           
static class UIRepeatEventForm.SaveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String FIELD_END_AFTER
           
static String FIELD_END_BYDATE
           
static String FIELD_END_REPEAT
           
static String FIELD_INTERVAL
           
static String FIELD_MONTHLY_TYPE
           
static String FIELD_REPEAT_TYPE
           
static String FIELD_WEEKLY_BYDAY
           
static String OCCURRENCES
           
static String RP_END_AFTER
           
static String RP_END_BYDATE
           
static String RP_END_NEVER
           
static String RP_MONTHLY_BYDAY
           
static String RP_MONTHLY_BYMONTHDAY
           
 
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
UIRepeatEventForm()
           
 
Method Summary
 void activate()
           
static String convertToDayOfWeek(int day)
           
static int convertToDayOfWeek(String day)
           
 void deActivate()
           
protected  String getEndAfter()
           
protected  String getEndDate()
           
protected  Date getEndDate(String dateFormat)
           
protected  String getEndType()
           
protected  String getInterval()
           
 List<org.exoplatform.webui.core.model.SelectItemOption<String>> getIntervalOptions()
           
protected  String getMonthlyType()
           
protected  String getRepeatType()
           
 List<org.exoplatform.webui.core.model.SelectItemOption<String>> getRepeatTypeOptions()
           
protected  List<String> getWeeklyByDay()
           
 void init(org.exoplatform.calendar.service.CalendarEvent event)
           
protected  void setEndAfter(String value)
           
protected  void setEndDate(Date date, String dateFormat)
           
protected  void setEndType(String value)
           
protected  void setInterval(String value)
           
protected  void setMonthlyType(String value)
           
protected  void setRepeatType(String value)
           
protected  void setWeeklyByDay(String value)
           
 
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 Detail

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

UIRepeatEventForm

public UIRepeatEventForm()
                  throws Exception
Throws:
Exception
Method Detail

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 © 2013 eXo Platform SAS. All Rights Reserved.