Class TermsConditionConfirmationSourceService

java.lang.Object
ch.tocco.nice2.userbase.api.terms.TermsConditionConfirmationSourceService

@Component public class TermsConditionConfirmationSourceService extends Object
  • Constructor Details

    • TermsConditionConfirmationSourceService

      public TermsConditionConfirmationSourceService()
  • Method Details

    • relateSourceToConfirmation

      public void relateSourceToConfirmation(Entity sourceEntity, Entity confirmation)
      Link source entity with Terms_condition_confirmation
    • getSourceEntity

      public Optional<Entity> getSourceEntity(Entity confirmation)
      Get source entity of Terms_condition_confirmation. If multiple source entities are linked an exception is thrown.
    • setTermsConditionConfirmationSources

      @Autowired public void setTermsConditionConfirmationSources(List<TermsConditionConfirmationSourceService.TermsConditionConfirmationSource> sources)