org.exoplatform.calendar.webui
Class UICalendars

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.UICalendars

public class UICalendars
extends org.exoplatform.webui.form.UIForm

Created by The eXo Platform SARL Author : Hung Nguyen hung.nguyen@exoplatform.com Aus 01, 2007 2:48:18 PM


Nested Class Summary
static class UICalendars.AddCalendarActionListener
           
static class UICalendars.AddCalendarCategoryActionListener
           
static class UICalendars.AddEventActionListener
           
static class UICalendars.AddEventCategoryActionListener
           
static class UICalendars.AddTaskActionListener
           
static class UICalendars.CalendarSettingActionListener
           
static class UICalendars.ChangeColorActionListener
           
static class UICalendars.DeleteGroupActionListener
           
static class UICalendars.EditCalendarActionListener
           
static class UICalendars.EditGroupActionListener
           
static class UICalendars.ExportCalendarActionListener
           
static class UICalendars.ExportCalendarsActionListener
           
static class UICalendars.GenerateCalDavActionListener
           
static class UICalendars.GenerateRssActionListener
           
static class UICalendars.ImportCalendarActionListener
           
static class UICalendars.RemoveCalendarActionListener
           
static class UICalendars.RemoveSharedCalendarActionListener
           
static class UICalendars.ShareCalendarActionListener
           
static class UICalendars.TickActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String CALCOLOR
           
static java.lang.String CALENDARID
           
static java.lang.String CALNAME
           
static java.lang.String CALTYPE
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UICalendars()
           
 
Method Summary
 boolean canEdit(java.lang.String[] savePerms)
           
 void checkAll()
           
 java.util.List<CalendarEvent> getAllTask(java.util.Calendar formDate, java.util.Calendar toDate, java.lang.String taskStatus)
           
 java.util.List<java.lang.String> getCheckedCalendars()
           
 java.util.LinkedHashMap<java.lang.String,java.lang.String> getColorMap()
           
 java.lang.String[] getColors()
           
 java.util.Calendar getCurrentMiniBeginDate()
           
 java.util.Calendar getCurrentMiniEndDate()
           
 java.lang.String getLabel(java.lang.String key)
           
protected  java.util.List<GroupCalendarData> getPrivateCalendars()
           
 java.lang.String[] getPublicCalendarIds()
           
protected  java.util.List<GroupCalendarData> getPublicCalendars()
           
protected  GroupCalendarData getSharedCalendars()
           
 java.lang.String[] getTaskStatus()
           
 boolean isShowTaskList()
           
 void setShowTaskList(boolean isShowTaskList)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, 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, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALENDARID

public static java.lang.String CALENDARID

CALTYPE

public static java.lang.String CALTYPE

CALNAME

public static java.lang.String CALNAME

CALCOLOR

public static java.lang.String CALCOLOR
Constructor Detail

UICalendars

public UICalendars()
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getLabel

public java.lang.String getLabel(java.lang.String key)
Overrides:
getLabel in class org.exoplatform.webui.form.UIForm

getPublicCalendarIds

public java.lang.String[] getPublicCalendarIds()

setShowTaskList

public void setShowTaskList(boolean isShowTaskList)

isShowTaskList

public boolean isShowTaskList()

getCurrentMiniBeginDate

public java.util.Calendar getCurrentMiniBeginDate()

getCurrentMiniEndDate

public java.util.Calendar getCurrentMiniEndDate()

getTaskStatus

public java.lang.String[] getTaskStatus()

getAllTask

public java.util.List<CalendarEvent> getAllTask(java.util.Calendar formDate,
                                                java.util.Calendar toDate,
                                                java.lang.String taskStatus)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

checkAll

public void checkAll()

getCheckedCalendars

public java.util.List<java.lang.String> getCheckedCalendars()

getPrivateCalendars

protected java.util.List<GroupCalendarData> getPrivateCalendars()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

getPublicCalendars

protected java.util.List<GroupCalendarData> getPublicCalendars()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

getSharedCalendars

protected GroupCalendarData getSharedCalendars()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

getColorMap

public java.util.LinkedHashMap<java.lang.String,java.lang.String> getColorMap()

getColors

public java.lang.String[] getColors()

canEdit

public boolean canEdit(java.lang.String[] savePerms)
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.