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 PopulationContextHelperThe population context helperprotected SiteManagerThe site DAOprotected SubscribersDAOThe subscriber DAOprotected UserManagerThe user 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
-
_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:
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
-