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 void
CategoryCustomPersistenceHandler.checkIfHasSubCategories
(PersistencePackage persistencePackage, String id) protected void
CategoryCustomPersistenceHandler.validateCategories
(Entity entity, Category category, Long id, StringBuilder categoryLinks) protected void
CategoryCustomPersistenceHandler.validateCategory
(Entity entity) protected void
ChildCategoriesCustomPersistenceHandler.validateChildCategories
(Entity entity, Category category, Long id, StringBuilder categoryLinks) protected void
ChildCategoriesCustomPersistenceHandler.validateChildCategory
(Entity entity) protected void
CrossSaleProductCustomPersistenceHandler.validateCrossSaleProduct
(Entity entity) protected void
CrossSaleProductCustomPersistenceHandler.validateCrossSaleProducts
(Entity entity, Product product, Long id, StringBuilder productLinks) protected void
ChildCategoriesCustomPersistenceHandler.validateDuplicateChild
(Entity entity) protected void
CrossSaleProductCustomPersistenceHandler.validateDuplicateChild
(Entity entity, Product relatedProduct, Product product) protected void
UpSaleProductCustomPersistenceHandler.validateDuplicateChild
(Entity entity, Product relatedProduct, Product product) protected void
OfferCustomPersistenceHandler.validateOfferValue
(Entity entity) protected void
CategoryCustomPersistenceHandler.validateRecursiveRelationship
(Entity entity) protected void
ChildCategoriesCustomPersistenceHandler.validateRecursiveRelationship
(Entity entity) protected void
CrossSaleProductCustomPersistenceHandler.validateRecursiveRelationship
(Entity entity, Product relatedProduct, Product product) protected void
UpSaleProductCustomPersistenceHandler.validateRecursiveRelationship
(Entity entity, Product relatedProduct, Product product) protected void
CategoryCustomPersistenceHandler.validateSelfLink
(Entity entity) protected void
ChildCategoriesCustomPersistenceHandler.validateSelfLink
(Entity entity) protected void
CrossSaleProductCustomPersistenceHandler.validateSelfLink
(Entity entity, String relatedSaleProductId, String productId) protected void
UpSaleProductCustomPersistenceHandler.validateSelfLink
(Entity entity, String relatedSaleProductId, String productId) protected void
UpSaleProductCustomPersistenceHandler.validateUpSaleProduct
(Entity entity) protected void
UpSaleProductCustomPersistenceHandler.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 void
AdminEntityServiceImpl.ensureEntityMarkedAsValidationFailure
(ValidationException e, PersistencePackageRequest originalRequest) Should be invoked when aValidationException
is thrown to verify that theEntity
contained 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.