Uses of Class
org.broadleafcommerce.openadmin.server.service.ValidationException
Packages that use ValidationException
Package
Description
-
Uses of ValidationException in org.broadleafcommerce.admin.server.service.handler
Methods in org.broadleafcommerce.admin.server.service.handler that throw ValidationExceptionModifier and TypeMethodDescriptionprotected voidCategoryCustomPersistenceHandler.checkIfHasSubCategories(PersistencePackage persistencePackage, String id) protected voidCategoryCustomPersistenceHandler.validateCategories(Entity entity, Category category, Long id, StringBuilder categoryLinks) protected voidCategoryCustomPersistenceHandler.validateCategory(Entity entity) protected voidChildCategoriesCustomPersistenceHandler.validateChildCategories(Entity entity, Category category, Long id, StringBuilder categoryLinks) protected voidChildCategoriesCustomPersistenceHandler.validateChildCategory(Entity entity) protected voidCrossSaleProductCustomPersistenceHandler.validateCrossSaleProduct(Entity entity) protected voidCrossSaleProductCustomPersistenceHandler.validateCrossSaleProducts(Entity entity, Product product, Long id, StringBuilder productLinks) protected voidChildCategoriesCustomPersistenceHandler.validateDuplicateChild(Entity entity) protected voidCrossSaleProductCustomPersistenceHandler.validateDuplicateChild(Entity entity, Product relatedProduct, Product product) protected voidUpSaleProductCustomPersistenceHandler.validateDuplicateChild(Entity entity, Product relatedProduct, Product product) protected voidOfferCustomPersistenceHandler.validateOfferValue(Entity entity) protected voidCategoryCustomPersistenceHandler.validateRecursiveRelationship(Entity entity) protected voidChildCategoriesCustomPersistenceHandler.validateRecursiveRelationship(Entity entity) protected voidCrossSaleProductCustomPersistenceHandler.validateRecursiveRelationship(Entity entity, Product relatedProduct, Product product) protected voidUpSaleProductCustomPersistenceHandler.validateRecursiveRelationship(Entity entity, Product relatedProduct, Product product) protected voidCategoryCustomPersistenceHandler.validateSelfLink(Entity entity) protected voidChildCategoriesCustomPersistenceHandler.validateSelfLink(Entity entity) protected voidCrossSaleProductCustomPersistenceHandler.validateSelfLink(Entity entity, String relatedSaleProductId, String productId) protected voidUpSaleProductCustomPersistenceHandler.validateSelfLink(Entity entity, String relatedSaleProductId, String productId) protected voidUpSaleProductCustomPersistenceHandler.validateUpSaleProduct(Entity entity) protected voidUpSaleProductCustomPersistenceHandler.validateUpSaleProducts(Entity entity, Product product, Long id, StringBuilder productLinks) -
Uses of ValidationException in org.broadleafcommerce.openadmin.server.service
Methods in org.broadleafcommerce.openadmin.server.service with parameters of type ValidationExceptionModifier and TypeMethodDescriptionprotected voidAdminEntityServiceImpl.ensureEntityMarkedAsValidationFailure(ValidationException e, PersistencePackageRequest originalRequest) Should be invoked when aValidationExceptionis thrown to verify that theEntitycontained within the given originalRequest has a validationFailure = true -
Uses of ValidationException in org.broadleafcommerce.openadmin.server.service.persistence.module
Methods in org.broadleafcommerce.openadmin.server.service.persistence.module that throw ValidationExceptionModifier and TypeMethodDescriptionBasicPersistenceModule.createPopulatedInstance(Serializable instance, Entity entity, Map<String, FieldMetadata> unfilteredProperties, Boolean setId) BasicPersistenceModule.createPopulatedInstance(Serializable instance, Entity entity, Map<String, FieldMetadata> unfilteredProperties, Boolean setId, Boolean validateUnsubmittedProperties) RecordHelper.createPopulatedInstance(Serializable instance, Entity entity, Map<String, FieldMetadata> unfilteredProperties, Boolean setId) Delegates to the overloaded method with validateUnsubmittedProperties set to true.RecordHelper.createPopulatedInstance(Serializable instance, Entity entity, Map<String, FieldMetadata> mergedProperties, Boolean setId, Boolean validateUnsubmittedProperties) Populates a Hibernate entity instance based on the values from entity (the DTO representation of instance) and the metadata from mergedProperties.