Package org.ametys.plugins.userdirectory
Class UserContentDataPolicy
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.userdirectory.UserContentDataPolicy
- All Implemented Interfaces:
PersonalDataPolicy
,LogEnabled
,Serviceable
public class UserContentDataPolicy
extends AbstractLogEnabled
implements PersonalDataPolicy, Serviceable
Delete user content that belongs to an unknown user after a delay
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.user.status.PersonalDataPolicy
PersonalDataPolicy.AnonymizationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DeleteUserComponent
The user content delete componentprotected UserDirectoryHelper
The user directory helper -
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) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_userDirectoryHelper
The user directory helper -
_userContentDAO
The user content delete component
-
-
Constructor Details
-
UserContentDataPolicy
public UserContentDataPolicy()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
process
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
-