Class PageLimitValidator

java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
ch.tocco.nice2.widget.impl.validator.PageLimitValidator
All Implemented Interfaces:
EntitiesValidator

public class PageLimitValidator extends AbstractEntitiesValidator
Makes sure that users can't create Page_limit entities for higher page sizes than 1000. The REST API doesn't allow higher `_limit` query parameters than 1000, therefore it doesn't make sense to create Page_limits which are higher than that.
  • Constructor Details

    • PageLimitValidator

      public PageLimitValidator()
  • Method Details