|
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
This class represents the data model for the home page (home.jsp).
| Constructor Summary | |
HomeModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
HomePreferences homePrefs,
FeatureGroup.Feature feature,
Accounts accounts)
Constructor. |
|
| Method Summary | |
java.lang.String |
getDateString(java.util.Date date)
Gets the localized date string for the specified date. |
FeatureGroup.Feature |
getFeature()
Gets the active feature. |
HomePreferences |
getHomePreferences()
Gets the home preferences. |
java.lang.String |
getTimeString(java.util.Date time)
Gets the localized time string for the specified time. |
boolean |
isOnlyOneFeatureAvailable()
Indicates whether only one feature is available. |
| 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 HomeModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
HomePreferences homePrefs,
FeatureGroup.Feature feature,
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)feature - the feature group| Method Detail |
public HomePreferences getHomePreferences()
public FeatureGroup.Feature getFeature()
public java.lang.String getTimeString(java.util.Date time)
time - the time
public java.lang.String getDateString(java.util.Date date)
date - the date
public boolean isOnlyOneFeatureAvailable()
true if only one feature is available or false otherwise
Calendar, mail, tasks, address book, etc are considered features while home feature is not.
|
Compoze Software, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||