org.exoplatform.calendar.webui.popup
Class UICalendarSettingDisplayTab
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputSet
org.exoplatform.webui.form.UIFormInputWithActions
org.exoplatform.calendar.webui.popup.UICalendarSettingDisplayTab
public class UICalendarSettingDisplayTab
- extends org.exoplatform.webui.form.UIFormInputWithActions
Created by The eXo Platform SARL
Author : Pham Tuan
tuan.pham@exoplatform.com
Jan 07, 2008
| Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormInputWithActions |
org.exoplatform.webui.form.UIFormInputWithActions.ActionData |
| Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormInputSet |
org.exoplatform.webui.form.UIFormInputSet.SelectComponentActionListener |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
|
Method Summary |
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> |
getActionField(String fieldName)
|
List<org.exoplatform.calendar.service.Calendar> |
getAllPrivateCalendars()
get all private calendars for current user
if no calendar is found, return a zero length list of calendar |
List<org.exoplatform.calendar.service.Calendar> |
getAllPublicCalendars()
get group calendar for user, without duplicated items
if no calendar found, return zero length list of calendars |
LinkedHashMap<String,String> |
getColorMap()
|
protected org.exoplatform.webui.form.UIForm |
getParentFrom()
|
org.exoplatform.calendar.service.GroupCalendarData |
getSharedCalendars()
return a group of shared calendars for current users
if no calendar found, return a group calendar with zero length list of calendars |
protected boolean |
isCalendarOfSpace(String[] groupIds)
|
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext arg0)
|
void |
setActionField(String fieldName,
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
|
| Methods inherited from class org.exoplatform.webui.form.UIFormInputSet |
addUIFormInput, addUIFormInput, getName, getSelectedComponentId, getUICheckBoxInput, getUIFormCheckBoxInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingField, invokeSetBindingField, processDecode, reset, setSelectedComponent, setSelectedComponent |
| 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, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UICalendarSettingDisplayTab
public UICalendarSettingDisplayTab(String compId)
throws Exception
- Throws:
Exception
getParentFrom
protected org.exoplatform.webui.form.UIForm getParentFrom()
getColorMap
public LinkedHashMap<String,String> getColorMap()
getAllPrivateCalendars
public List<org.exoplatform.calendar.service.Calendar> getAllPrivateCalendars()
throws Exception
- get all private calendars for current user
if no calendar is found, return a zero length list of calendar
- Returns:
-
- Throws:
Exception- See Also:
UICalendars.gtmpl - used in template
getAllPublicCalendars
public List<org.exoplatform.calendar.service.Calendar> getAllPublicCalendars()
throws Exception
- get group calendar for user, without duplicated items
if no calendar found, return zero length list of calendars
- Returns:
-
- Throws:
Exception- See Also:
UICalendarSettingDisplayTab.gtmpl - used in template
getSharedCalendars
public org.exoplatform.calendar.service.GroupCalendarData getSharedCalendars()
throws Exception
- return a group of shared calendars for current users
if no calendar found, return a group calendar with zero length list of calendars
- Returns:
-
- Throws:
Exception- See Also:
UICalendarSettingDisplayTab.gtmpl - used in template
isCalendarOfSpace
protected boolean isCalendarOfSpace(String[] groupIds)
- Parameters:
groupIds -
- Returns:
- true if the calendar is made by Social Space
else return false.
setActionField
public void setActionField(String fieldName,
List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> actions)
- Overrides:
setActionField in class org.exoplatform.webui.form.UIFormInputWithActions
getActionField
public List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getActionField(String fieldName)
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext arg0)
throws Exception
- Overrides:
processRender in class org.exoplatform.webui.form.UIFormInputWithActions
- Throws:
Exception
Copyright © 2013 eXo Platform SAS. All Rights Reserved.