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.ImportCalendarActionListener
           
static class UICalendars.RefreshRemoteCalendarActionListener
           
static class UICalendars.RemoteCalendarActionListener
           
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 String CALCOLOR
           
static String CALENDARID
           
static String CALNAME
           
static String CALTYPE
           
 
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
UICalendars()
           
 
Method Summary
 boolean canEdit(String[] savePerms, String[] checkPerms)
           
 void checkAll()
           
 List<org.exoplatform.calendar.service.CalendarEvent> getAllTask(Calendar formDate, Calendar toDate, String taskStatus)
           
 List<String> getCheckedCalendars()
           
 String[] getCheckedPublicCalendars()
           
 String getCheckPermissionString()
           
 LinkedHashMap<String,String> getColorMap()
           
 String[] getColors()
           
 Calendar getCurrentMiniBeginDate()
           
 Calendar getCurrentMiniEndDate()
           
 org.exoplatform.calendar.service.EventQuery getEventQuery(org.exoplatform.calendar.service.EventQuery eventQuery)
           
 String getLabel(String key)
           
 List<org.exoplatform.calendar.service.GroupCalendarData> getPrivateCalendars()
           
 String[] getPublicCalendarIds()
           
 List<org.exoplatform.calendar.service.GroupCalendarData> getPublicCalendars()
           
 org.exoplatform.calendar.service.GroupCalendarData getSharedCalendars()
           
 String[] getTaskStatus()
           
protected  boolean isCalendarOfSpace(String[] groupIds)
           
 boolean isRemoteCalendar(String calendarId)
           
 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, 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

CALENDARID

public static String CALENDARID

CALTYPE

public static String CALTYPE

CALNAME

public static String CALNAME

CALCOLOR

public static String CALCOLOR
Constructor Detail

UICalendars

public UICalendars()
            throws Exception
Throws:
Exception
Method Detail

getLabel

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

getPublicCalendarIds

public String[] getPublicCalendarIds()

setShowTaskList

public void setShowTaskList(boolean isShowTaskList)

isShowTaskList

public boolean isShowTaskList()

getCurrentMiniBeginDate

public Calendar getCurrentMiniBeginDate()

getCurrentMiniEndDate

public Calendar getCurrentMiniEndDate()

getTaskStatus

public String[] getTaskStatus()

getAllTask

public List<org.exoplatform.calendar.service.CalendarEvent> getAllTask(Calendar formDate,
                                                                       Calendar toDate,
                                                                       String taskStatus)
                                                                throws Exception
Throws:
Exception

checkAll

public void checkAll()

getCheckedCalendars

public List<String> getCheckedCalendars()

getCheckedPublicCalendars

public String[] getCheckedPublicCalendars()

getEventQuery

public org.exoplatform.calendar.service.EventQuery getEventQuery(org.exoplatform.calendar.service.EventQuery eventQuery)
                                                          throws Exception
Throws:
Exception

getPrivateCalendars

public List<org.exoplatform.calendar.service.GroupCalendarData> getPrivateCalendars()
                                                                             throws Exception
Throws:
Exception

isCalendarOfSpace

protected boolean isCalendarOfSpace(String[] groupIds)
Parameters:
groupIds -
Returns:
true if the calendar is made by Social Space else return false.

getPublicCalendars

public List<org.exoplatform.calendar.service.GroupCalendarData> getPublicCalendars()
                                                                            throws Exception
Throws:
Exception

getSharedCalendars

public org.exoplatform.calendar.service.GroupCalendarData getSharedCalendars()
                                                                      throws Exception
Throws:
Exception

getColorMap

public LinkedHashMap<String,String> getColorMap()

getColors

public String[] getColors()

canEdit

public boolean canEdit(String[] savePerms,
                       String[] checkPerms)
                throws Exception
Throws:
Exception

getCheckPermissionString

public String getCheckPermissionString()
                                throws Exception
Throws:
Exception

isRemoteCalendar

public boolean isRemoteCalendar(String calendarId)
                         throws Exception
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.