Package ch.tocco.nice2.dms.impl.services
Class ContentReferenceEntityModelHandlerService
java.lang.Object
ch.tocco.nice2.dms.impl.services.ContentReferenceEntityModelHandlerService
- All Implemented Interfaces:
EntityModelHandlerService
@Component
public class ContentReferenceEntityModelHandlerService
extends Object
implements EntityModelHandlerService
Add relation model between entity with HTML fields and Content_reference_source entity (DMS).
Each entity with HTML fields needs a relation to Content_reference_source in order to ensure referential integrity.
-
Constructor Summary
ConstructorDescriptionContentReferenceEntityModelHandlerService
(DisplayValueFactory displayValueFactory, ConfigModuleContext configModuleContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(NiceModelReceiver receiver, EntityModel entityModel, String entityName, EntityModelHandler entityModelHandler)
-
Constructor Details
-
ContentReferenceEntityModelHandlerService
public ContentReferenceEntityModelHandlerService(DisplayValueFactory displayValueFactory, ConfigModuleContext configModuleContext)
-
-
Method Details
-
run
public void run(NiceModelReceiver receiver, EntityModel entityModel, String entityName, EntityModelHandler entityModelHandler) throws ModelBuildException - Specified by:
run
in interfaceEntityModelHandlerService
- Throws:
ModelBuildException
-