Interface UserDataProvider
- All Superinterfaces:
Prioritizable
,Supporter<String>
- All Known Implementing Classes:
ContentUserDataProvider
,DefaultImageUserDataProvider
,FOUserPreferencesDataProvider
,StoredUserDataProvider
,UserPreferencesDataProvider
Provide data for a user
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Maximum priority.static final int
Minimum priority. -
Method Summary
Methods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriority
-
Field Details
-
MIN_PRIORITY
Minimum priority.- See Also:
-
MAX_PRIORITY
Maximum priority.- See Also:
-
-
Method Details
-
hasValue
Check if the value is present for this user- Parameters:
user
- The userdataId
- the data requested- Returns:
true
if the user has a value for this data,false
otherwise
-
getValue
Get the value for a data and a user- Parameters:
user
- TheUser
dataId
- The id of the data wanted- Returns:
- The value of the data for the user, can be null
-