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 DirectoryHelperThe link directory helperprotected LinkDAOThe link DAOprotected SiteManagerThe site manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(UserStatusInfo userStatusInfo) Process the personal data of this user related to the policy.voidservice(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:
servicein interfaceServiceable- Throws:
ServiceException
-
process
public PersonalDataPolicy.AnonymizationResult process(UserStatusInfo userStatusInfo) throws PersonalDataProcessingException Description copied from interface:PersonalDataPolicyProcess the personal data of this user related to the policy.- Specified by:
processin interfacePersonalDataPolicy- Parameters:
userStatusInfo- information about the user to process- Returns:
- the process result
- Throws:
PersonalDataProcessingException- if an error occurs
-