Class SubscriptionDataPolicy
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.pagesubscription.SubscriptionDataPolicy
- All Implemented Interfaces:
PersonalDataPolicy
,LogEnabled
,Serviceable
public class SubscriptionDataPolicy
extends AbstractLogEnabled
implements PersonalDataPolicy, Serviceable
Remove subscription from unknown user
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.user.status.PersonalDataPolicy
PersonalDataPolicy.AnonymizationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SiteManager
The site managerprotected SubscriptionTypeExtensionPoint
The subscription type extension point -
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
-
_siteManager
The site manager -
_subscriptionTypeEP
The subscription type extension point
-
-
Constructor Details
-
SubscriptionDataPolicy
public SubscriptionDataPolicy()
-
-
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
-