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 DeleteUserComponentThe user content delete componentprotected UserDirectoryHelperThe user directory helper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(UserStatusInfo userStatusInfo) Process the personal data of this user related to the policy.voidservice(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:
servicein interfaceServiceable- Throws:
ServiceException
-
process
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
-