Compoze Software, Inc.

portlets.compoze.groupware.model.home
Class MonthViewHomeModel

java.lang.Object
  extended byportlets.compoze.groupware.model.AbstractModel
      extended byportlets.compoze.groupware.model.home.HomeModel
          extended byportlets.compoze.groupware.model.home.MonthViewHomeModel
All Implemented Interfaces:
java.io.Serializable

public class MonthViewHomeModel
extends HomeModel
implements java.io.Serializable

This class represents the data model for the month view home page (month_view.jsp).

See Also:
Serialized Form

Constructor Summary
MonthViewHomeModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, HomePreferences homePrefs, CalendarPreferences calendarPrefs, Accounts accounts)
          Constructor.
 
Method Summary
 Appointment[] getAppointments()
          Gets the appointments for the month view.
 CalendarPreferences getCalendarPreferences()
          Gets the calendar preferences.
 java.util.Date getEndDate()
          Gets the end date.
 java.util.Date getGivenDate()
          Gets the given date.
 Month getMonth()
          Gets the month.
 java.util.Date getNextMonth()
          Gets the next month.
 java.util.Date getPreviousMonth()
          Gets the previous month.
 java.util.Date getStartDate()
          Gets the start date.
 void setAppointments(Appointment[] appointments)
          Sets the appointments for the month view.
 void setGivenDate(java.util.Date givenDate)
          Sets the given date.
 
Methods inherited from class portlets.compoze.groupware.model.home.HomeModel
getDateString, getFeature, getHomePreferences, getTimeString, isOnlyOneFeatureAvailable
 
Methods inherited from class portlets.compoze.groupware.model.AbstractModel
getAccounts, getActualTitle, getFeatureGroup, getGroupwarePreferences, getImAccount, getProviderCapabilities, getTitle, getTitleArgs, getTitleCrumbTrailKeys, isImAvailable, setActualTitle, setImAccount, setImAvailable, setTitle, setTitleArgs, setTitleCrumbTrailKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonthViewHomeModel

public MonthViewHomeModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
                          FeatureGroup featureGroup,
                          GroupwarePreferences groupwarePrefs,
                          HomePreferences homePrefs,
                          CalendarPreferences calendarPrefs,
                          Accounts accounts)
Constructor.

Parameters:
capabilities - the capabilities of the provider (may not be null)
featureGroup - the feature group (may not be null)
groupwarePrefs - the groupware preferences (may not be null)
homePrefs - the home preferences (may not be null)
calendarPrefs - the calendar preferences (may not be null)
Method Detail

getCalendarPreferences

public CalendarPreferences getCalendarPreferences()
Gets the calendar preferences.

Returns:
the calendar preferences

setGivenDate

public void setGivenDate(java.util.Date givenDate)
Sets the given date.

Parameters:
givenDate - the given date (may not be null)

getGivenDate

public java.util.Date getGivenDate()
Gets the given date.


getMonth

public Month getMonth()
Gets the month.

Returns:
the month

setAppointments

public void setAppointments(Appointment[] appointments)
Sets the appointments for the month view.

Parameters:
appointments - the appointments for the month view (may not be null)

getAppointments

public Appointment[] getAppointments()
Gets the appointments for the month view.

Returns:
the appointments for the month

getStartDate

public java.util.Date getStartDate()
Gets the start date.

Returns:
the start date

getEndDate

public java.util.Date getEndDate()
Gets the end date.

Returns:
the end date

getNextMonth

public java.util.Date getNextMonth()
Gets the next month.

Returns:
the next month

getPreviousMonth

public java.util.Date getPreviousMonth()
Gets the previous month.

Returns:
the previous month

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.