Package io.meeds.appcenter.storage
Class PortletWindow
java.lang.Object
io.meeds.appcenter.storage.PortletWindow
A portlet window's preferences as committed, within a task of
PortletWindowStorage.callOnWindow(java.lang.String, java.util.function.Function<io.meeds.appcenter.storage.PortletWindow, T>, java.lang.Runnable): read and written on the storage's
thread, in the task's request, under the window's lock.-
Method Summary
Modifier and TypeMethodDescriptionvoidsavePreferences(Map<String, String> values) Sets preferences over the committed ones, the others kept.
-
Method Details
-
getStorageId
- Returns:
- the window's storage id
-
getPreferences
- Returns:
- the window's preferences as its row holds them, by name
-
savePreferences
Sets preferences over the committed ones, the others kept.- Parameters:
values- the preferences to set, by name
-