org.exoplatform.calendar.webui
Class UICalendarPortlet
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIApplication
org.exoplatform.webui.core.UIPortletApplication
org.exoplatform.calendar.webui.UICalendarPortlet
public class UICalendarPortlet
- extends org.exoplatform.webui.core.UIPortletApplication
Author : Nguyen Quang Hung
hung.nguyen@exoplatform.com
Aug 01, 2007
| 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.UIPortletApplication |
CONFIG_MODE, EDIT_MODE, HELP_MODE, VIEW_MODE |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.webui.core.UIPortletApplication |
getMinHeight, getMinWidth, getUIPopupMessages, renderChildren, serveResource, setMinHeight, setMinWidth |
| Methods inherited from class org.exoplatform.webui.core.UIApplication |
addMessage, addMessage, clearMessages, findComponentById, getLastAccessApplication, getOwner, getUIComponentName, processAction, renderBlockToUpdate, setLastAccessApplication, setOwner |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
addChild, addChild, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, 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, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processDecode, processRender, 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 |
UICalendarPortlet
public UICalendarPortlet()
throws Exception
- Throws:
Exception
getCalendarSetting
public org.exoplatform.calendar.service.CalendarSetting getCalendarSetting()
throws Exception
- Throws:
Exception
setCalendarSetting
public void setCalendarSetting(org.exoplatform.calendar.service.CalendarSetting setting)
throws Exception
- Throws:
Exception
getUserCalendar
public Calendar getUserCalendar()
- Returns:
- a calendar that contains configuration of the user, such as: Time zone, First day of week.
- Throws:
Exception
getSettingTimeZone
public String getSettingTimeZone()
throws Exception
- Throws:
Exception
getWeekStartOn
public String getWeekStartOn()
throws Exception
- Throws:
Exception
cancelAction
public void cancelAction()
throws Exception
- close all popups
- Throws:
Exception
getRemoteUser
public String getRemoteUser()
throws Exception
- Throws:
Exception
getUserToken
public String getUserToken()
throws Exception
- Throws:
Exception
getCometdContextName
protected String getCometdContextName()
getRestContextName
public String getRestContextName()
getSpaceId
public static String getSpaceId()
- get space id if the request comes from one Social space, else return empty string.
- Returns:
getGroupIdOfSpace
public static String getGroupIdOfSpace()
getSpaceGroupId
public String getSpaceGroupId()
isInSpace
public static boolean isInSpace()
isInSpaceContext
public boolean isInSpaceContext()
processInvitationURL
public void processInvitationURL(org.exoplatform.webui.application.WebuiRequestContext context,
org.exoplatform.portal.application.PortalRequestContext pContext,
String url)
throws Exception
- Throws:
Exception
processRender
public void processRender(org.exoplatform.webui.application.WebuiApplication app,
org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
- Overrides:
processRender in class org.exoplatform.webui.core.UIPortletApplication
- Throws:
Exception
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.