Class SimpleMergeEntityServiceImpl
java.lang.Object
ch.tocco.nice2.optional.order.impl.action.invoice.merging.SimpleMergeEntityServiceImpl
- All Implemented Interfaces:
SimpleMergeEntityService
@Component
public class SimpleMergeEntityServiceImpl
extends Object
implements SimpleMergeEntityService
-
Constructor Summary
ConstructorDescriptionSimpleMergeEntityServiceImpl
(Context context, CascadingDeleteService cascadingDeleteService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
mergeEntities
(Entity source, Entity target) Copy to many relations from thesource
to thetarget
entity.
-
Constructor Details
-
SimpleMergeEntityServiceImpl
-
-
Method Details
-
mergeEntities
Description copied from interface:SimpleMergeEntityService
Copy to many relations from thesource
to thetarget
entity. Compared toMergeEntitiesService
entities in a conception state can be handled. However the configuration options are extremely limited (no privileged merging, no relation/field exclusion, etc.)- Specified by:
mergeEntities
in interfaceSimpleMergeEntityService
-