| java.lang.Object com.sun.portal.providers.ProviderAdapter com.sun.portal.providers.ProfileProviderAdapter com.sun.portal.providers.calendar.CalendarProvider
Method Summary | |
protected Map | getAppHandlerMap() | protected String | getApplicationStartURL(CalendarApplicationHelper calApplicationHelper, HttpServletRequest request) | public boolean | getBestBooleanProperty(String key, boolean def, List pflist) | public boolean | getBestBooleanProperty(String key, List pflist) | public Map | getBestCollectionProperty(String key, Map def, List pflist) | public Map | getBestCollectionProperty(String key, List pflist) | public int | getBestIntegerProperty(String key, int def, List pflist) | public int | getBestIntegerProperty(String key, List pflist) | public String | getBestStringProperty(String key, String def, List pflist) | public String | getBestStringProperty(String key, List pflist) | public StringBuffer | getContent(HttpServletRequest request, HttpServletResponse response) | protected StringBuffer | getDayViewContent(DateTime today, String cnfgName, HttpServletRequest rqst, VEvent events, VTodo tasks, CalendarStore calStore, CalendarApplicationHelper appHelper, String clientURL) | public StringBuffer | getEdit(HttpServletRequest request, HttpServletResponse response) | protected StringBuffer | getErrorContent(String msg) | public DateTime | getMonthEnd(DateTime today) | public DateTime | getMonthStart(DateTime today) | protected VEvent[] | getTransformedEventList(VEvent events) This method is reponsible for moving all the 'All Day' events to
the beginning of the VEvent array and for identifying events that are
in conflict. | protected URL | getURL(String url) | protected StringBuffer | getWeekViewContent(DateTime beginDate, DateTime todaysDate, String cfgName, HttpServletRequest request, VEvent[] events, VTodo[] tasks, CalendarStore calStore, CalendarApplicationHelper appHelper, String clientURL, String tagPrefix, String templatePrefix, String endTemplate, boolean addCurrentDayHeader) | public void | init(String name, HttpServletRequest request) Check to see if ssoAdapter exists. | public boolean | isPresentable(HttpServletRequest request) | protected boolean | isTodayTask(VTodo task, DateTime today) Helper method to determine if the task is scheduled for today. | protected boolean | matchDayMonthYear(DateTime date1, DateTime date2) Helper method to determine if the Day, Month, and Year match for
two DateTime objects. | public void | populateDayOfWeekTags(Hashtable tags, String tagPrefix, DateTime date) | public void | populateDayTags(Hashtable tags, String tagPrefix, DateTime date) | public void | populateHeaderTags(Hashtable tags, String tagPrefix, DateTime date) | public URL | processEdit(HttpServletRequest req, HttpServletResponse res) | protected void | setCalendarSelectOptions(SSOAdapter ssoAdapter) |
isSSOConfigFound | protected boolean isSSOConfigFound(Code) | | |
CalendarProvider | public CalendarProvider()(Code) | | |
getAppHandlerMap | protected Map getAppHandlerMap()(Code) | | Retrieves the CalendarApplicationHelper
Parameters: request - The HttpServletRequest object Parameters: ssoAdapter - The SSOAdapter object CalendarApplicationHelper |
getApplicationStartURL | protected String getApplicationStartURL(CalendarApplicationHelper calApplicationHelper, HttpServletRequest request)(Code) | | Retrieves the CalendarApplicationHelper start URL
Parameters: calApplicationHelper - The CalendarApplicationHelper object Parameters: request - The HttpServletRequest object string representing the Application start URL |
getBestBooleanProperty | public boolean getBestBooleanProperty(String key, boolean def, List pflist)(Code) | | Returns the DP property by attempting to retrieve client and localized properties first
then it searches for non conditional definitions
Parameters: pflist - List containg the client and locale filters Parameters: key - Display Preofile key Returns the best value for the DP key |
getBestBooleanProperty | public boolean getBestBooleanProperty(String key, List pflist)(Code) | | |
getBestCollectionProperty | public Map getBestCollectionProperty(String key, Map def, List pflist)(Code) | | Returns the DP property by attempting to retrieve client and localized properties first
then it searches for non conditional definitions
Parameters: pflist - List containg the client and locale filters Parameters: key - Display Preofile key Returns the best value for the DP key |
getBestIntegerProperty | public int getBestIntegerProperty(String key, int def, List pflist)(Code) | | Returns the DP property by attempting to retrieve client and localized properties first
then it searches for non conditional definitions
Parameters: pflist - List containg the client and locale filters Parameters: key - Display Preofile key Returns the best value for the DP key |
getBestIntegerProperty | public int getBestIntegerProperty(String key, List pflist)(Code) | | |
getBestStringProperty | public String getBestStringProperty(String key, String def, List pflist)(Code) | | Returns the DP property by attempting to retrieve client and localized properties first
then it searches for non conditional definitions
Parameters: pflist - List containg the client and locale filters Parameters: key - Display Preofile key Returns the best value for the DP key |
getErrorContent | protected StringBuffer getErrorContent(String msg) throws ProviderException(Code) | | Parameters: msg - the message String to be displayed as error StringBuffer HTML content for the error display |
getMonthEnd | public DateTime getMonthEnd(DateTime today)(Code) | | |
getMonthStart | public DateTime getMonthStart(DateTime today)(Code) | | |
getTransformedEventList | protected VEvent[] getTransformedEventList(VEvent events) throws Exception(Code) | | This method is reponsible for moving all the 'All Day' events to
the beginning of the VEvent array and for identifying events that are
in conflict. All events get the property 'isConflict' set.
events[] An array of VEvent objects a new VEvent array that has been updated and/or reordered throws: Exception - |
getWeekViewContent | protected StringBuffer getWeekViewContent(DateTime beginDate, DateTime todaysDate, String cfgName, HttpServletRequest request, VEvent[] events, VTodo[] tasks, CalendarStore calStore, CalendarApplicationHelper appHelper, String clientURL, String tagPrefix, String templatePrefix, String endTemplate, boolean addCurrentDayHeader) throws ProviderException, Exception(Code) | | returns the weekview of an users calendar
Parameters: today - DateTime object for today Parameters: cfgName - configurtation name for which weekview is called Parameters: request - HttpServletRequest Parameters: events - array of events for the next 7 days Parameters: tasks - array of tasks for the next 7 days Parameters: calStore - CalendarStore Parameters: appHelper - CalendarApplicationHelper StringBuffer weekview of tasks and events in HTML exception: ProviderException - indicates error in getting weekview |
isPresentable | public boolean isPresentable(HttpServletRequest request)(Code) | | Channel is presentable if
1) parent.isPresentable()
2) existence of display.template
3) existence of sso adapter template
true or false |
isTodayTask | protected boolean isTodayTask(VTodo task, DateTime today) throws OperationNotSupportedException, CalendarComponentException(Code) | | Helper method to determine if the task is scheduled for today. Tasks are
scheduled for today if:
- Task is Due Today OR Task does not have a Due Time
Parameters: task - Task to evaluate Parameters: today - DateTime representing Today boolean true if the Task is scheduled for Today and is not Overdue throws: OperationNotSupportedException - , CalendarComponentException |
matchDayMonthYear | protected boolean matchDayMonthYear(DateTime date1, DateTime date2)(Code) | | Helper method to determine if the Day, Month, and Year match for
two DateTime objects.
Parameters: date1 - First DateTime Parameters: date2 - Second DateTime to match boolean true if the two DateTime Day, Month, and Year values match |
populateDayOfWeekTags | public void populateDayOfWeekTags(Hashtable tags, String tagPrefix, DateTime date)(Code) | | |
Methods inherited from com.sun.portal.providers.ProfileProviderAdapter | public boolean existsBooleanProperty(String name) throws ProviderException(Code)(Java Doc) public boolean existsIntegerProperty(String name) throws ProviderException(Code)(Java Doc) public boolean existsListProperty(String name) throws ProviderException(Code)(Java Doc) public boolean existsListProperty(String name, boolean localized) throws ProviderException(Code)(Java Doc) public boolean existsStringProperty(String name) throws ProviderException(Code)(Java Doc) public boolean existsStringProperty(String name, boolean localized) throws ProviderException(Code)(Java Doc) public boolean getBooleanProperty(String key) throws ProviderException(Code)(Java Doc) public boolean getBooleanProperty(String key, List pflist) throws ProviderException(Code)(Java Doc) public boolean getBooleanProperty(String key, boolean def) throws ProviderException(Code)(Java Doc) public boolean getBooleanProperty(String key, boolean def, List pflist) throws ProviderException(Code)(Java Doc) public String getClientProperty(String name)(Code)(Java Doc) public int getIntegerProperty(String key) throws ProviderException(Code)(Java Doc) public int getIntegerProperty(String key, List pflist) throws ProviderException(Code)(Java Doc) public int getIntegerProperty(String key, int def) throws ProviderException(Code)(Java Doc) public int getIntegerProperty(String key, int def, List pflist) throws ProviderException(Code)(Java Doc) public List getListProperty(String key) throws ProviderException(Code)(Java Doc) public List getListProperty(String key, List def) throws ProviderException(Code)(Java Doc) public Map getMapProperty(String key) throws ProviderException(Code)(Java Doc) public Map getMapProperty(String key, List pflist) throws ProviderException(Code)(Java Doc) public Map getMapProperty(String key, boolean localized) throws ProviderException(Code)(Java Doc) public Map getMapProperty(String key, Map def) throws ProviderException(Code)(Java Doc) public Map getMapProperty(String key, Map def, List pflist) throws ProviderException(Code)(Java Doc) public Map getMapProperty(String key, Map def, boolean localized) throws ProviderException(Code)(Java Doc) public String getStringAttribute(String name)(Code)(Java Doc) public String getStringProperty(String key) throws ProviderException(Code)(Java Doc) public String getStringProperty(String key, String def) throws ProviderException(Code)(Java Doc) public String getStringProperty(String key, List pflist) throws ProviderException(Code)(Java Doc) public String getStringProperty(String key, String def, List pflist) throws ProviderException(Code)(Java Doc) public String getStringProperty(String key, boolean localized) throws ProviderException(Code)(Java Doc) public String getStringProperty(String key, String def, boolean localized) throws ProviderException(Code)(Java Doc) public StringBuffer getTemplate(String file) throws ProviderException(Code)(Java Doc) public StringBuffer getTemplate(String file, Hashtable table) throws ProviderException(Code)(Java Doc) public File getTemplatePath(String file) throws ProviderException(Code)(Java Doc) public boolean isAllowed(String priv) throws ProviderException(Code)(Java Doc) public boolean setBooleanProperty(String key, boolean val) throws ProviderException(Code)(Java Doc) public void setClientProperty(String name, String val)(Code)(Java Doc) public int setIntegerProperty(String key, int val) throws ProviderException(Code)(Java Doc) public List setListProperty(String key, List val) throws ProviderException(Code)(Java Doc) public Map setMapProperty(String key, Map val) throws ProviderException(Code)(Java Doc) public void setStringAttribute(String name, String val)(Code)(Java Doc) public String setStringProperty(String key, String val) throws ProviderException(Code)(Java Doc)
|
|
|