|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--portlets.compoze.groupware.FeatureGroup
This class represents the feature group. It contains the features and their associated status.
| Inner Class Summary | |
static class |
FeatureGroup.Feature
This class represents a Compoze portlet feature. |
static class |
FeatureGroup.Status
This class represents a feature status. |
| Constructor Summary | |
FeatureGroup(com.bea.portlet.prefs.PortletPreferences portletPrefs)
Constructor. |
|
| Method Summary | |
boolean |
checkStatus(FeatureGroup.Feature feature,
FeatureGroup.Status status)
Checks if the feature status matches the specified status. |
void |
dumpFeatures()
Dumps the features and associated status to System.out. |
FeatureGroup.Feature |
getActiveFeature()
Gets the feature with the specified feature status Status.ACTIVE. |
FeatureGroup.Feature[] |
getFeatures(FeatureGroup.Status status)
Gets the features matching the specified feature status. |
FeatureGroup.Status |
getStatus(FeatureGroup.Feature feature)
Gets the feature status for the specified feature. |
boolean |
getTitle(FeatureGroup.Feature feature)
Gets the feature title flag for the specified feature. |
boolean |
isHomeNavigationBottom()
Checks if the title home bottom navigation should be used. |
boolean |
isHomeNavigationTop()
Checks if the title home top navigation should be used. |
boolean |
isHomeToHomeFeatureNavigation()
Checks if the home to home feature navigation should be used. |
boolean |
isLeftArea()
Checks if the left area is activated. |
boolean |
isShowErrorStackTraceOnErrorPage()
Checks if exception stack trace should be shown on the error pages. |
boolean |
isTitleFeatureNavigation()
Checks if the title feature navigation should be used. |
void |
setActiveFeature(FeatureGroup.Feature feature)
Sets the feature status as Status.ACTIVE for the specified feature. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FeatureGroup(com.bea.portlet.prefs.PortletPreferences portletPrefs)
portletPrefs - the portlet preferences (may not be null)| Method Detail |
public boolean isTitleFeatureNavigation()
true to use the feature navigation; false otherwisepublic boolean isHomeToHomeFeatureNavigation()
true to use the home to home feature navigation; false otherwisepublic boolean isHomeNavigationTop()
true to use the home top navigation; false otherwisepublic boolean isHomeNavigationBottom()
true to use the home bottom navigation; false otherwisepublic boolean isLeftArea()
true to use the feature navigation; false otherwisepublic boolean isShowErrorStackTraceOnErrorPage()
true to show the section where the exception stacktrace could be viewed; false otherwisepublic void setActiveFeature(FeatureGroup.Feature feature)
Status.ACTIVE for the specified feature.feature - the feature to set (may not be null)public FeatureGroup.Feature getActiveFeature()
Status.ACTIVE.null if no active feature setpublic FeatureGroup.Status getStatus(FeatureGroup.Feature feature)
feature - the featurepublic boolean getTitle(FeatureGroup.Feature feature)
feature - the featuretrue to display the feature title; false otherwisepublic FeatureGroup.Feature[] getFeatures(FeatureGroup.Status status)
status - the status to match
public boolean checkStatus(FeatureGroup.Feature feature,
FeatureGroup.Status status)
feature - the feature to check (may not be null)status - the status to check for (may not be null)true if the status matches; false otherwisepublic void dumpFeatures()
System.out.
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||