|
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.home.HomeModel
portlets.compoze.groupware.model.home.SummaryModel
This class represents the data model for the mail home page (home.jsp
).
Constructor Summary | |
SummaryModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
HomePreferences homePrefs,
TasksPreferences taskPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
Appointment[] |
getAppointments()
Gets the appointments. |
Day[] |
getCalendarDays()
Gets the calendar days. |
java.util.Date |
getCalendarEndDate()
Gets the calendar end date. |
int |
getCalendarModelType()
Gets the calendar model type. |
java.util.Date |
getCalendarStartDate()
Gets the calendar start date. |
HomeModel |
getCalendarSummaryModel()
Gets the calendar summary model. |
Folder |
getDrafts()
Gets the drafts folder. |
Folder |
getInbox()
Gets the inbox folder. |
Folder |
getSent()
Gets the sent folder. |
Task[] |
getTasks()
Gets the tasks. |
TasksPreferences |
getTasksPreferences()
Gets the tasks preferences. |
java.lang.String |
getTimeString(java.util.Date date)
Gets the localized time string for the specified time. |
Folder |
getTrash()
Gets the trash folder. |
void |
setAppointments(Appointment[] appointments)
Sets the appointments. |
void |
setCalendarSummaryModel(HomeModel calendarSummaryModel)
Sets the calendar summary model. |
void |
setDrafts(Folder drafts)
Sthe drafts folder. |
void |
setInbox(Folder inbox)
Sets the inbox folder. |
void |
setSent(Folder sent)
Sets the sent folder. |
void |
setTasks(Task[] tasks)
Sets the tasks. |
void |
setTrash(Folder trash)
Sets the trash folder. |
Methods inherited from class portlets.compoze.groupware.model.home.HomeModel |
getDateString, getFeature, getHomePreferences, 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 |
public SummaryModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, HomePreferences homePrefs, TasksPreferences taskPrefs, Accounts accounts)
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
)taskPrefs
- the task preferences (may not be null
)Method Detail |
public TasksPreferences getTasksPreferences()
public Day[] getCalendarDays()
public java.util.Date getCalendarStartDate()
public java.util.Date getCalendarEndDate()
public Folder getInbox()
public void setInbox(Folder inbox)
inbox
- the inbox folder (may not be null
)public Folder getDrafts()
public void setDrafts(Folder drafts)
drafts
- the drafts folder (may not be null
)public Folder getSent()
public void setSent(Folder sent)
sent
- the sent folder (may not be null
)public Folder getTrash()
public void setTrash(Folder trash)
trash
- the trash folder (may not be null
)public Appointment[] getAppointments()
public void setAppointments(Appointment[] appointments)
appointments
- the appointments (may not be null
)public Task[] getTasks()
public void setTasks(Task[] tasks)
tasks
- the tasks (may not be null
)public java.lang.String getTimeString(java.util.Date date)
getTimeString
in class HomeModel
date
- the time
public void setCalendarSummaryModel(HomeModel calendarSummaryModel)
calendarSummaryModel
- the calendar summary model (may not be null
) and must be an instance of the DayViewHomeModel
, WeekViewHomeModel
, or MonthViewHomeModel
classpublic HomeModel getCalendarSummaryModel()
public int getCalendarModelType()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |