Package ch.tocco.nice2.dms.impl.services
Class EntityDocsEntityModelHandlerService
java.lang.Object
ch.tocco.nice2.dms.impl.services.EntityDocsEntityModelHandlerService
- All Implemented Interfaces:
EntityModelHandlerService
@Component
public class EntityDocsEntityModelHandlerService
extends Object
implements EntityModelHandlerService
Add relation model between main widget entity and Content_reference entity (DMS).
Each entity with widget="main" attribute needs a relation to Content_reference,
in order to ensure referential integrity. Those widget entities wouldn't
be linked anywhere otherwise (only occur in HTML content).
-
Constructor Summary
ConstructorDescriptionEntityDocsEntityModelHandlerService
(DisplayValueFactory displayValueFactory, ConfigModuleContext configModuleContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(NiceModelReceiver receiver, EntityModel entityModel, String entityName, EntityModelHandler entityModelHandler) void
setExcludedEntityModels
(Collection<String> excludedEntityModels)
-
Constructor Details
-
EntityDocsEntityModelHandlerService
public EntityDocsEntityModelHandlerService(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
-
setExcludedEntityModels
-