Class AddMembershipDonationRelationsImpl
java.lang.Object
ch.tocco.nice2.optional.donationmembership.impl.actions.AddMembershipDonationRelationsImpl
- All Implemented Interfaces:
DonationRelationHandler
@Component
public class AddMembershipDonationRelationsImpl
extends Object
implements DonationRelationHandler
-
Constructor Summary
ConstructorsConstructorDescriptionAddMembershipDonationRelationsImpl(QueryBuilderFactory queryBuilderFactory, Context ctx) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSupportedEntity(String entityName) Check if the handler supports the given entity.voidsetAdditionalRelations(Entity newDonation, Entity membership) Set additional entity specific relations on the new donation entity.
-
Constructor Details
-
AddMembershipDonationRelationsImpl
-
-
Method Details
-
isSupportedEntity
Description copied from interface:DonationRelationHandlerCheck if the handler supports the given entity. Use this method before calling 'setAdditionalRelations'.- Specified by:
isSupportedEntityin interfaceDonationRelationHandler
-
setAdditionalRelations
Description copied from interface:DonationRelationHandlerSet additional entity specific relations on the new donation entity.- Specified by:
setAdditionalRelationsin interfaceDonationRelationHandler
-