Package ch.tocco.nice2.businessunit.impl.intercept
package ch.tocco.nice2.businessunit.impl.intercept
-
ClassesClassDescriptionSets the current
BusinessUnitto newly created entities (if required).EntityInterceptorContributionthat prevents updating the Business unit relation, unless the business unit type isBusinessUnitType.MANUAL_SETor the relation has not been set by the interceptor.QueryBuilderInterceptorwhich makes sure that only results which belong to the current business unit are found.Throw an exception if for a relation, new entities are set (not added) and entities from another business unit are replaced.