public abstract class BasePreferences
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BasePreferences.CommunityMode
The Enum PortletCommunityMode.
|
Constructor and Description |
---|
BasePreferences()
Instantiates a new BasePreferences.
|
Modifier and Type | Method and Description |
---|---|
void |
doCancel(javax.faces.event.ActionEvent ae)
Navigate to smallview.
|
void |
doSave(javax.faces.event.ActionEvent ae)
Do save and navigate to smallview.
|
BasePreferences.CommunityMode |
getPortletCommunityMode()
Gets the portlet community mode (CURRENT or ALL).
|
javax.portlet.PortletPreferences |
getPrefs()
Gets the prefs.
|
java.lang.String |
getSelectedPortletCommunityMode()
Gets the portlet community mode (CURRENT or ALL).
|
void |
setSelectedPortletCommunityMode(java.lang.String mode)
Sets the portlet community mode.
|
public void doSave(javax.faces.event.ActionEvent ae)
ae
- the action eventpublic void doCancel(javax.faces.event.ActionEvent ae)
ae
- the action eventpublic javax.portlet.PortletPreferences getPrefs()
public java.lang.String getSelectedPortletCommunityMode()
public void setSelectedPortletCommunityMode(java.lang.String mode)
mode
- the new portlet community modepublic BasePreferences.CommunityMode getPortletCommunityMode()