Class RestrictBusinessUnitRemovalContributionSupplier

java.lang.Object
ch.tocco.nice2.usermanager.impl.businessunit.RestrictBusinessUnitRemovalContributionSupplier
All Implemented Interfaces:
RestrictRelationRemovalContributionSupplier

@Component public class RestrictBusinessUnitRemovalContributionSupplier extends Object implements RestrictRelationRemovalContributionSupplier
creates contributions for the RestrictRelationRemovalEntityInterceptorContribution based on the HierarchySpecifications for the entity models User and Address so that the relation defined as businessUnitRelation cannot be removed if any of the blocking relations are set.