java.lang .Object com.sun.portal.wireless.taglibs.base .Context com.sun.portal.wireless.taglibs.cal .CalContext com.sun.portal.wireless.taglibs.cal.socs .CalContextHolder com.sun.portal.wireless.taglibs.cal.socs .SOCSContext SOCSContext public class SOCSContext extends CalContextHolder (Code) SOCSContext - This Context adds SOCS specfic features to CalContext
This SOCSContext uses the same ContextCache,ContextType as CalContext.
Hence this instance replaces the CalContext but hold the CalContext as parentContext.
It delegates all the calls to this parentcontext and exposes the SOCS features only.
version: 1.0See Also: com.sun.portal.wireless.taglibs.cal.Context
CONTEXT_CLASS_NAME final public static String CONTEXT_CLASS_NAME (Code)
SOCSContext public SOCSContext()(Code) the default constructor
getCalIds public String [] getCalIds()(Code) gets the user's subscribed Calendars
the list of subscribed calendars
getCalIdsCount public int getCalIdsCount()(Code) Get the count of the current calId list
the event list count
getReminderEmail public String getReminderEmail()(Code) Get the Email addr of the user for Reminder from CalSession's property
the email Addr.
isCalIdsEmpty public boolean isCalIdsEmpty()(Code) Returns whether the calid list is empty or not
true if the calid list is emptyfalse otherwise
isDeletePermGranted public boolean isDeletePermGranted()(Code) Checks if user has the delete permission for this calendar
true if the user can delete it, false otherwise
isUserTheOwner public boolean isUserTheOwner()(Code) Checks if user is the Owner of this calendar
true if the user can modify it, false otherwise
isWritePermGranted public boolean isWritePermGranted()(Code) Checks if user has the modify permission for this calendar
true if the user can modify it, false otherwise
setCalIds public void setCalIds(String [] subCals)(Code) Set the user's subscribed Calendars as t
toEventBean public EventBean toEventBean(VEvent event)(Code) Get the SubComponent Specific EventBean
an instance of SOCSEventBean
toTaskBean public TaskBean toTaskBean(VTodo task)(Code) Get the SubComponent Specific TaskBean
an instance of SOCSTaskBean
Methods inherited from com.sun.portal.wireless.taglibs.base.Context public void closeConnection()(Code) (Java Doc) public Set getAttributeSet(String name)(Code) (Java Doc) public Set getAttributeSet(String name, String clientType)(Code) (Java Doc) public String getAttributeString(String name)(Code) (Java Doc) public String getAttributeString(String name, String value)(Code) (Java Doc) public String getCharset()(Code) (Java Doc) public String getClientType()(Code) (Java Doc) public String getConfigName()(Code) (Java Doc) public String getContentType()(Code) (Java Doc) public static Context getContext(PageContext pageContext, String contextClassName, String contextCacheClassName, String contextType) throws Exception (Code) (Java Doc) public String getErrorCode()(Code) (Java Doc) public Locale getLocale()(Code) (Java Doc) public Context getParentContext()(Code) (Java Doc) public SSOAdapter getSSOAdapter()(Code) (Java Doc) public SSOToken getSession()(Code) (Java Doc) public SSOTokenID getSessionID()(Code) (Java Doc) public TimeZone getTimeZone()(Code) (Java Doc) public Locale getUserLocale()(Code) (Java Doc) public String getUserLocaleString()(Code) (Java Doc) public void init(HttpServletRequest request, SSOToken session, String serviceName, SSOAdapter ssoAdapter) throws Exception (Code) (Java Doc) public void init(HttpServletRequest request, SSOToken session, SSOAdapter ssoAdapter) throws Exception (Code) (Java Doc) public void loadTimeZone()(Code) (Java Doc) public void reloadUserPreferences()(Code) (Java Doc) public static void reset(PageContext pageContext, String contextClassName, String contextCacheClassName, String contextType)(Code) (Java Doc) public void setAttribute(String name, Set value)(Code) (Java Doc) public void setAttribute(String clientType, String name, Set value)(Code) (Java Doc) public void setAttributeString(String name, String value)(Code) (Java Doc) public void setErrorCode(String errorCode)(Code) (Java Doc) public void setParentContext(Context context)(Code) (Java Doc) public void ssoTokenChanged(SSOTokenEvent evt)(Code) (Java Doc)