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 intMaximum priority.static final intMinimum 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:
trueif the user has a value for this data,falseotherwise
-
getValue
Get the value for a data and a user- Parameters:
user- TheUserdataId- The id of the data wanted- Returns:
- The value of the data for the user, can be null
-