Class DefaultUniqueNameForAttributeValidator

java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.validator.DefaultUniqueNameForAttributeValidator
All Implemented Interfaces:
Validator<CMSItemModel>

public class DefaultUniqueNameForAttributeValidator extends Object implements Validator<CMSItemModel>
Validator to ensure that any CMSItemModel cannot have a provided attribute with the same name.
  • Constructor Details

    • DefaultUniqueNameForAttributeValidator

      public DefaultUniqueNameForAttributeValidator()
  • Method Details

    • validate

      public void validate(CMSItemModel validatee)
      Description copied from interface: Validator
      Method to perform validation on a given object.
      Specified by:
      validate in interface Validator<CMSItemModel>
      Parameters:
      validatee - the inpected object being validated.
    • getModelService

      protected ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)
    • getValidationErrorsProvider

      protected ValidationErrorsProvider getValidationErrorsProvider()
    • setValidationErrorsProvider

      public void setValidationErrorsProvider(ValidationErrorsProvider validationErrorsProvider)
    • getTypeService

      protected TypeService getTypeService()
    • setTypeService

      public void setTypeService(TypeService typeService)
    • getAttribute

      protected String getAttribute()
    • setAttribute

      public void setAttribute(String attribute)