Class ContentReferenceRelationEntityModelHandlerService

java.lang.Object
ch.tocco.nice2.dms.impl.services.ContentReferenceRelationEntityModelHandlerService
All Implemented Interfaces:
EntityModelHandlerService

@Component public class ContentReferenceRelationEntityModelHandlerService 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).