mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Added more JavaDocs
This commit is contained in:
1 parent
ea1f8415cb
commit
d49ee0f0d2
1 file changed
+16
-1
@@ -3,8 +3,23 @@ package com.sap.sse.security;
|
||||
/**
|
||||
* Listener used by UserStore to notify about changes of stored preference objects.
|
||||
*
|
||||
* @param <PrefT> The type of preference object this Listener handles.
|
||||
* @param <PrefT>
|
||||
* The type of preference object this Listener handles.
|
||||
*/
|
||||
public interface PreferenceObjectListener<PrefT> {
|
||||
/**
|
||||
* Called when the preference object for the given user and preference key has changed.
|
||||
*
|
||||
* @param username
|
||||
* the user for whom the preference object changed
|
||||
* @param key
|
||||
* the key of the changed preference object
|
||||
* @param oldPreference
|
||||
* the old state of the preference object. May be <code>null</code> if there was not preference object
|
||||
* formerly.
|
||||
* @param newPreference
|
||||
* the new state of the preference object. May be <code>null</code> if the preference object is being
|
||||
* deleted.
|
||||
*/
|
||||
void preferenceObjectChanged(String username, String key, PrefT oldPreference, PrefT newPreference);
|
||||
}
|
||||
Reference in new issue
Block a user