Class DeactivationValidator

java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntityValidator
ch.tocco.nice2.optional.cms.impl.template.DeactivationValidator
All Implemented Interfaces:
EntitiesValidator, EntityValidator

public class DeactivationValidator extends AbstractEntityValidator
This validator prevents the user from disabling templates, which are still in use.
  • Constructor Details

    • DeactivationValidator

      public DeactivationValidator(CmsTemplateService cmsTemplateService)
  • Method Details