Class NewsletterReceiverServiceImpl
java.lang.Object
ch.tocco.nice2.optional.newsletter.impl.NewsletterReceiverServiceImpl
- All Implemented Interfaces:
NewsletterReceiverService
@Component
public class NewsletterReceiverServiceImpl
extends Object
implements NewsletterReceiverService
-
Constructor Summary
ConstructorDescriptionNewsletterReceiverServiceImpl
(QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, Context context) -
Method Summary
Modifier and TypeMethodDescriptiongetConcernedReceiverEntity
(String newsletterReceiverUid) Get the actual receiver entity for a UID.getNewsletterReceiverEntity
(String newsletterReceiverUid) Get the Newsletter_receiver entity for a UID.void
setReceiverRelations
(List<String> receiverRelations)
-
Constructor Details
-
NewsletterReceiverServiceImpl
public NewsletterReceiverServiceImpl(QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, Context context)
-
-
Method Details
-
setReceiverRelations
-
getNewsletterReceiverEntity
Description copied from interface:NewsletterReceiverService
Get the Newsletter_receiver entity for a UID.- Specified by:
getNewsletterReceiverEntity
in interfaceNewsletterReceiverService
- Parameters:
newsletterReceiverUid
- The UID of the receiver.- Returns:
- the Newsletter_receiver entity.
-
getConcernedReceiverEntity
Description copied from interface:NewsletterReceiverService
Get the actual receiver entity for a UID. Resolves the corresponding Newsletter_receiver entity. There, the actual receiver entity is linked (may be User, Address, ...).- Specified by:
getConcernedReceiverEntity
in interfaceNewsletterReceiverService
- Parameters:
newsletterReceiverUid
- The UID of the receiver.- Returns:
- the actual receiver entity.
-