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 Details

  • Method Details

    • setReceiverRelations

      @Autowired public void setReceiverRelations(List<String> receiverRelations)
    • getNewsletterReceiverEntity

      public Optional<Entity> getNewsletterReceiverEntity(String newsletterReceiverUid)
      Description copied from interface: NewsletterReceiverService
      Get the Newsletter_receiver entity for a UID.
      Specified by:
      getNewsletterReceiverEntity in interface NewsletterReceiverService
      Parameters:
      newsletterReceiverUid - The UID of the receiver.
      Returns:
      the Newsletter_receiver entity.
    • getConcernedReceiverEntity

      public Optional<Entity> getConcernedReceiverEntity(String newsletterReceiverUid)
      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 interface NewsletterReceiverService
      Parameters:
      newsletterReceiverUid - The UID of the receiver.
      Returns:
      the actual receiver entity.