Class PublishedContentExistsValidator

java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntityValidator
ch.tocco.nice2.dms.impl.validate.PublishedContentExistsValidator
All Implemented Interfaces:
EntitiesValidator, EntityValidator

public class PublishedContentExistsValidator extends AbstractEntityValidator
This validator ensures that published content exists unless publish status is PublishStatus.OFFLINE. If publish status is PublishStatus.OFFLINE, there mustn't exist published content.
  • Constructor Details

    • PublishedContentExistsValidator

      public PublishedContentExistsValidator(ContentTreeService contentTreeService)
  • Method Details