Class SubscriberDataPolicy
java.lang.Object
org.ametys.plugins.newsletter.subscribe.SubscriberDataPolicy
- All Implemented Interfaces:
PersonalDataPolicy
,Serviceable
Personal data policy removing subscription of missing user
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.user.status.PersonalDataPolicy
PersonalDataPolicy.AnonymizationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PopulationContextHelper
The population context helperprotected SiteManager
The site DAOprotected SubscribersDAO
The subscriber DAOprotected UserManager
The user 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
-
_populationContextHelper
The population context helper -
_siteManager
The site DAO -
_subscribersDao
The subscriber DAO -
_userManager
The user manager
-
-
Constructor Details
-
SubscriberDataPolicy
public SubscriberDataPolicy()
-
-
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
-