|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletPreferencesProvider
| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
getPortletWindowIds(PortletDefinition portletdefinition)
Retrieve entity ids (window) given portlet definitaion |
java.util.Set<java.lang.String> |
getUserNames(PortletDefinition portletdefinition,
java.lang.String windowId)
Retrieve user names for given entity(window) id and portlet definitaion |
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> |
getUserPreferences(PortletDefinition portletdefinition,
java.lang.String windowId,
java.lang.String userName)
Retrieve entity preference names for given entity(window) id ,portlet definitaion and user name |
void |
preload()
Initializes the preferences node by executing configured preloads. |
void |
preloadApplicationPreferences(java.lang.String portletApplicationName)
Preload all preferences for the given portlet application name into the preferences cache |
void |
preloadUserPreferences()
Preload all user preferences for all users into the preferences cache. |
void |
removeDefaults(PortletApplication app)
Remove all default preferences for all portlet definitions in a given portlet application |
void |
removeDefaults(PortletDefinition pd)
Remove all default preferences for a given portlet definition |
void |
removeDefaults(PortletDefinition pd,
java.lang.String preferenceName)
Remove default preferences by preference name for a given portlet definition |
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> |
retrieveDefaultPreferences(PortletDefinition pd)
Retrieve the default preferences for a given portlet definition |
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> |
retrieveEntityPreferences(PortletWindow window)
Retrieve entity (window) default preferences for a given window |
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> |
retrieveUserPreferences(PortletWindow window,
java.lang.String userName)
Retrieve the user preferences for the window and user parameters |
void |
storeDefaults(PortletApplication app)
Store the default preferences for all portlets in the given portlet application |
void |
storeDefaults(PortletDefinition pd,
Preference preference)
Store the default preferences by input preference for a given portlet definition |
void |
storeDefaults(PortletDefinition pd,
Preferences prefs)
Store the default preferences by descriptor preferences for a given portlet definition |
void |
storeEntityPreferences(java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map,
PortletWindow window)
Store entity preferences contained in the map parameter for a given window |
void |
storePortletPreference(PortletDefinition portletdefinition,
java.lang.String windowId,
java.lang.String userName,
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map)
Store portlet definition entity preferences contained in the map parameter for a given window and username |
void |
storePortletPreference(java.lang.String appName,
java.lang.String portletName,
java.lang.String windowId,
java.lang.String userName,
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map)
Store portlet entity preferences contained in the map parameter for a given window and username |
void |
storeUserPreferences(java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map,
PortletWindow window,
java.lang.String userName)
Store user preferences contained in the map parameter for a given user and window |
| Methods inherited from interface org.apache.pluto.container.PortletPreferencesService |
|---|
getDefaultPreferences, getPreferencesValidator, getStoredPreferences, store |
| Method Detail |
|---|
void preload()
throws java.lang.Exception
java.lang.Exceptionvoid preloadApplicationPreferences(java.lang.String portletApplicationName)
portletApplicationName - void preloadUserPreferences()
void storeDefaults(PortletDefinition pd,
Preferences prefs)
pd -
void storeDefaults(PortletDefinition pd,
Preference preference)
pd - void storeDefaults(PortletApplication app)
app - void removeDefaults(PortletDefinition pd)
pd -
void removeDefaults(PortletDefinition pd,
java.lang.String preferenceName)
pd - void removeDefaults(PortletApplication app)
app - java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> retrieveDefaultPreferences(PortletDefinition pd)
pd -
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> retrieveUserPreferences(PortletWindow window,
java.lang.String userName)
window - userName -
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> retrieveEntityPreferences(PortletWindow window)
window -
void storeUserPreferences(java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map,
PortletWindow window,
java.lang.String userName)
throws PreferencesException
map - window - userName -
PreferencesException
void storeEntityPreferences(java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map,
PortletWindow window)
throws PreferencesException
map - page - window -
PreferencesExceptionjava.util.Set<java.lang.String> getPortletWindowIds(PortletDefinition portletdefinition)
portletdefinition -
java.util.Set<java.lang.String> getUserNames(PortletDefinition portletdefinition,
java.lang.String windowId)
portletdefinition - windowId -
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> getUserPreferences(PortletDefinition portletdefinition,
java.lang.String windowId,
java.lang.String userName)
portletdefinition - windowId -
void storePortletPreference(PortletDefinition portletdefinition,
java.lang.String windowId,
java.lang.String userName,
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map)
portletdefinition - windowId - userName - map -
void storePortletPreference(java.lang.String appName,
java.lang.String portletName,
java.lang.String windowId,
java.lang.String userName,
java.util.Map<java.lang.String,org.apache.pluto.container.PortletPreference> map)
appName - portletName - windowId - userName - map -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||