Package org.ametys.core.userpref
Class UserPreferenceDataPolicy
java.lang.Object
org.ametys.core.userpref.UserPreferenceDataPolicy
- All Implemented Interfaces:
PersonalDataPolicy,Serviceable
- Direct Known Subclasses:
FOUserPreferenceDataPolicy
Data policy handling the personal data stored in user preferences.
The handling consist in a removal of all user preferences referencing the identity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.user.status.PersonalDataPolicy
PersonalDataPolicy.AnonymizationResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ServiceManagerthe service managerprotected UserPreferencesManagerthe user preference extension point -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(UserStatusInfo userStatus) Process the personal data of this user related to the policy.voidservice(ServiceManager manager)
-
Field Details
-
_serviceManager
the service manager -
_userPrefManager
the user preference extension point
-
-
Constructor Details
-
UserPreferenceDataPolicy
public UserPreferenceDataPolicy()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
process
public PersonalDataPolicy.AnonymizationResult process(UserStatusInfo userStatus) throws PersonalDataProcessingException Description copied from interface:PersonalDataPolicyProcess the personal data of this user related to the policy.- Specified by:
processin interfacePersonalDataPolicy- Parameters:
userStatus- information about the user to process- Returns:
- the process result
- Throws:
PersonalDataProcessingException- if an error occurs
-