Package org.ametys.plugins.linkdirectory
Class UserLinksDataPolicy
java.lang.Object
org.ametys.plugins.linkdirectory.UserLinksDataPolicy
- All Implemented Interfaces:
PersonalDataPolicy
,Serviceable
Delete user links after a period
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.user.status.PersonalDataPolicy
PersonalDataPolicy.AnonymizationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DirectoryHelper
The link directory helperprotected LinkDAO
The link DAOprotected SiteManager
The site manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(UserStatusInfo userStatusInfo) Process the personal data of this user related to the policy.void
service
(ServiceManager manager)
-
Field Details
-
_directoryHelper
The link directory helper -
_linkDAO
The link DAO -
_siteManager
The site manager
-
-
Constructor Details
-
UserLinksDataPolicy
public UserLinksDataPolicy()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
process
public PersonalDataPolicy.AnonymizationResult process(UserStatusInfo userStatusInfo) throws PersonalDataProcessingException Description copied from interface:PersonalDataPolicy
Process the personal data of this user related to the policy.- Specified by:
process
in interfacePersonalDataPolicy
- Parameters:
userStatusInfo
- information about the user to process- Returns:
- the process result
- Throws:
PersonalDataProcessingException
- if an error occurs
-