|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.model.AbstractModel
portlets.compoze.groupware.model.calendar.CalendarModel
portlets.compoze.groupware.model.calendar.CalendarViewModel
portlets.compoze.groupware.model.calendar.WeekViewModel
This class represents the data model for the week view (week_view.jsp
).
Constructor Summary | |
WeekViewModel(portlets.compoze.groupware.controls.provider.Provider provider,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
CalendarPreferences calendarPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
java.util.Date |
getEndDate()
Gets the end date. |
Month |
getMonth()
Gets the month for the week view. |
Appointment[] |
getMonthAppointments()
Gets the appointments for the mini-month. |
java.util.Date |
getNextDate()
Gets the next date. |
java.util.Date |
getPreviousDate()
Gets the previous date. |
java.util.Date |
getStartDate()
Gets the start date. |
Week |
getWeek()
Gets the week. |
void |
setGivenDate(java.util.Date givenDate)
Sets the given date. |
void |
setMonth(Month month)
Sets the month for the week view. |
void |
setMonthAppointments(Appointment[] appointments)
Sets the appointments for the mini-month. |
Methods inherited from class portlets.compoze.groupware.model.calendar.CalendarViewModel |
getAppointments, getDateString, getGivenDate, getGivenDateString, getProvider, getTimeString, getToday, getTodayString, getYearString, setAppointments |
Methods inherited from class portlets.compoze.groupware.model.calendar.CalendarModel |
getCalendarPreferences |
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 |
public WeekViewModel(portlets.compoze.groupware.controls.provider.Provider provider, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, CalendarPreferences calendarPrefs, Accounts accounts)
provider
- the provider (may not be null
)featureGroup
- the feature group (may not be null
)groupwarePrefs
- the groupware preferences (may not be null
)calendarPrefs
- the calendar preferences (may not be null
)Method Detail |
public void setGivenDate(java.util.Date givenDate)
setGivenDate
in class CalendarViewModel
givenDate
- the given date (may not be null
)public Week getWeek()
public void setMonth(Month month)
month
- the month for the week view (may not be null
)public Month getMonth()
public void setMonthAppointments(Appointment[] appointments)
appointments
- the appointments for the mini-month (may not be null
)public Appointment[] getMonthAppointments()
public java.util.Date getNextDate()
getNextDate
in class CalendarViewModel
public java.util.Date getPreviousDate()
getPreviousDate
in class CalendarViewModel
public java.util.Date getStartDate()
getStartDate
in class CalendarViewModel
public java.util.Date getEndDate()
getEndDate
in class CalendarViewModel
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |