org.exoplatform.calendar.webui
Class UICalendarPortlet

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.core.UIApplication
              extended by org.exoplatform.webui.core.UIPortletApplication
                  extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
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
 
Constructor Summary
UICalendarPortlet()
           
 
Method Summary
 void cancelAction()
          close all popups
 org.exoplatform.calendar.service.CalendarSetting getCalendarSetting()
           
protected  String getCometdContextName()
           
static String getGroupIdOfSpace()
           
 String getRemoteUser()
           
 String getRestContextName()
           
 String getSettingTimeZone()
           
static String getSpaceId()
          get space id if the request comes from one Social space, else return null.
 Calendar getUserCalendar()
           
 String getUserToken()
           
static boolean isInSpace()
           
 void processInvitationURL(org.exoplatform.webui.application.WebuiRequestContext context, org.exoplatform.portal.application.PortalRequestContext pContext, String url)
           
 void processRender(org.exoplatform.webui.application.WebuiApplication app, org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setCalendarSetting(org.exoplatform.calendar.service.CalendarSetting setting)
           
 
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
 

Constructor Detail

UICalendarPortlet

public UICalendarPortlet()
                  throws Exception
Throws:
Exception
Method Detail

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

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

Returns:

getGroupIdOfSpace

public static String getGroupIdOfSpace()

isInSpace

public static boolean isInSpace()

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