Uses of Class
org.broadleafcommerce.openadmin.dto.Entity
Packages that use Entity
Package
Description
-
Uses of Entity in org.broadleafcommerce.admin.persistence.validation
Methods in org.broadleafcommerce.admin.persistence.validation with parameters of type EntityModifier and TypeMethodDescriptionOfferQualifyingCriteriaValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) OfferTargetItemCriteriaValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) ProductBundleSkuBundleItemValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) SystemPropertyAttributeNameValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) -
Uses of Entity in org.broadleafcommerce.admin.server.service.extension
Methods in org.broadleafcommerce.admin.server.service.extension with parameters of type EntityModifier and TypeMethodDescriptionAbstractOfferCustomServiceExtensionHandler.clearHiddenQualifiers
(Entity entity) OfferCustomServiceExtensionHandler.clearHiddenQualifiers
(Entity entity) Clear hidden qualifiers when switching offer type.OfferCustomServiceExtensionManager.clearHiddenQualifiers
(Entity entity) -
Uses of Entity in org.broadleafcommerce.admin.server.service.handler
Methods in org.broadleafcommerce.admin.server.service.handler that return EntityModifier and TypeMethodDescriptionCategoryCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) ChildCategoriesCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) CrossSaleProductCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) CustomerCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) IndexFieldCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) OfferCodeCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) ProductCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) SkuCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) UpSaleProductCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected Entity
IndexFieldCustomPersistenceHandler.getEntity
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity, Map<String, FieldMetadata> adminProperties, IndexField adminInstance) CategoryCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) CustomerCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) CustomerPasswordCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) IndexFieldCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) OfferCodeCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) OfferCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) ProductCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) ProductOptionsCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) SkuCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected Entity
SkuCustomPersistenceHandler.validateAvailableProductOption
(Product product, List<Property> productOptionProperties) Verify that all selected options are among the available product options.protected Entity
SkuCustomPersistenceHandler.validateNotEmptyProductOptions
(List<Property> productOptionProperties) Verify that product options are not empty.protected Entity
SkuCustomPersistenceHandler.validateNotNullProductOptions
(List<Property> productOptionProperties) Verify that none of the selected options is null.protected Entity
OfferCodeCustomPersistenceHandler.validateOfferCode
(Entity entity, OfferCode offerCode) protected Entity
SkuCustomPersistenceHandler.validateUniqueProductOptionValueCombination
(Product product, List<Property> productOptionProperties, Sku currentSku) Ensures that the given list ofProductOptionValue
IDs is unique for the givenProduct
.protected Entity
CustomerCustomPersistenceHandler.validateUniqueUsername
(Entity entity, Customer adminInstance, boolean isAdd) Validates that a Customer does not have their username duplicatedMethods in org.broadleafcommerce.admin.server.service.handler with parameters of type EntityModifier and TypeMethodDescriptionprotected void
OfferCustomPersistenceHandler.addIsActiveStatus
(RecordHelper helper, Entity entity) protected void
SkuCustomPersistenceHandler.associateProductOptionValuesToSku
(Entity entity, Sku adminInstance, DynamicEntityDao dynamicEntityDao) This initially removes all of the product option values that are currently related to the Sku and then re-associates theProductOptionValue
sprotected Product
ProductCustomPersistenceHandler.getAdminInstance
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) protected SearchFacet
SearchFacetCustomPersistenceHandler.getAdminInstance
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) protected SearchFacetRange
SearchFacetRangeCustomPersistenceHandler.getAdminInstance
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) protected Entity
IndexFieldCustomPersistenceHandler.getEntity
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity, Map<String, FieldMetadata> adminProperties, IndexField adminInstance) SkuCustomPersistenceHandler.getProductOptionProperties
(Entity entity) protected void
ProductCustomPersistenceHandler.removeBundleFieldRestrictions
(ProductBundle adminInstance, Map<String, FieldMetadata> adminProperties, Entity entity) If the pricing model is of type item_sum, that property should not be requiredprotected void
CategoryCustomPersistenceHandler.removeOldDefault
(Category adminInstance, CategoryXref oldDefault, Entity entity) protected void
ProductCustomPersistenceHandler.removeOldDefault
(Product adminInstance, CategoryProductXref oldDefault, Entity entity) void
SkuCustomPersistenceHandler.updateProductOptionFieldsForFetch
(List<Serializable> records, Entity[] payload) Sets theProductOptionValue
s of the givenSku
s in a list format for display in a ListGrid context.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 Entity
OfferCodeCustomPersistenceHandler.validateOfferCode
(Entity entity, OfferCode offerCode) protected void
OfferCustomPersistenceHandler.validateOfferValue
(Entity entity) protected boolean
ProductOptionsCustomPersistenceHandler.validateProductOption
(ProductOption adminInstance, Entity entity) This function checks if a Product Option's "Use in sku generation" field is set to true without any allowed values set.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 Entity
CustomerCustomPersistenceHandler.validateUniqueUsername
(Entity entity, Customer adminInstance, boolean isAdd) Validates that a Customer does not have their username duplicatedprotected void
UpSaleProductCustomPersistenceHandler.validateUpSaleProduct
(Entity entity) protected void
UpSaleProductCustomPersistenceHandler.validateUpSaleProducts
(Entity entity, Product product, Long id, StringBuilder productLinks) -
Uses of Entity in org.broadleafcommerce.admin.server.service.persistence.module.provider.extension
Methods in org.broadleafcommerce.admin.server.service.persistence.module.provider.extension with parameters of type Entity -
Uses of Entity in org.broadleafcommerce.admin.server.service.persistence.validation
Methods in org.broadleafcommerce.admin.server.service.persistence.validation with parameters of type EntityModifier and TypeMethodDescriptionTargetItemRulesValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) -
Uses of Entity in org.broadleafcommerce.admin.web.controller.entity
Methods in org.broadleafcommerce.admin.web.controller.entity with parameters of type EntityModifier and TypeMethodDescriptionprotected String
AdminProductController.buildAddCollectionItemModel
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, String id, String collectionField, String sectionKey, Property collectionProperty, FieldMetadata md, PersistencePackageRequest ppr, EntityForm entityForm, Entity entity) protected String
AdminProductController.showViewUpdateCollection
(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Map<String, String> pathVars, String id, String collectionField, String collectionItemId, String alternateId, String modalHeaderType, EntityForm entityForm, Entity entity) -
Uses of Entity in org.broadleafcommerce.cms.admin.server.handler
Methods in org.broadleafcommerce.cms.admin.server.handler that return EntityModifier and TypeMethodDescriptionPageTemplateCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) StructuredContentTypeCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) Invoked whenStructuredContent
is saved in order to fill out the dynamic form for the structured content typeprotected Entity
PageTemplateCustomPersistenceHandler.addOrUpdate
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected Entity
StructuredContentTypeCustomPersistenceHandler.addOrUpdate
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) PageTemplateCustomPersistenceHandler.fetchDynamicEntity
(Serializable root, List<String> dirtyFields, boolean includeId) StructuredContentTypeCustomPersistenceHandler.fetchDynamicEntity
(Serializable root, List<String> dirtyFields, boolean includeId) PageTemplateCustomPersistenceHandler.fetchEntityBasedOnId
(String pageId, List<String> dirtyFields) StructuredContentTypeCustomPersistenceHandler.fetchEntityBasedOnId
(String structuredContentId, List<String> dirtyFields) PageTemplateCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) StructuredContentTypeCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) Invoked whenStructuredContent
is saved in order to fill out the dynamic form for the structured content typeMethods in org.broadleafcommerce.cms.admin.server.handler with parameters of type EntityModifier and TypeMethodDescriptionprotected void
PageTemplateCustomPersistenceHandler.populateFKLookupValues
(DynamicEntityDao dynamicEntityDao, Entity entity) Some of the values in this entity might be foreign key lookups. -
Uses of Entity in org.broadleafcommerce.openadmin.dto
Fields in org.broadleafcommerce.openadmin.dto declared as EntityMethods in org.broadleafcommerce.openadmin.dto that return EntityModifier and TypeMethodDescriptionEntityResult.getEntity()
PersistencePackage.getEntity()
ParentRecordStructure.getParentRecord()
Entity[]
DynamicResultSet.getRecords()
Methods in org.broadleafcommerce.openadmin.dto with parameters of type EntityModifier and TypeMethodDescriptionvoid
Entity.mergeProperties
(String prefix, Entity entity) void
Entity.overridePropertyValues
(Entity entity) Replaces all property values in this entity with the values from the given entity.void
void
void
ParentRecordStructure.setParentRecord
(Entity parentRecord) void
DynamicResultSet.setRecords
(Entity[] records) Constructors in org.broadleafcommerce.openadmin.dto with parameters of type EntityModifierConstructorDescriptionDynamicResultSet
(ClassMetadata classMetaData, Entity[] records, Integer totalRecords) DynamicResultSet
(Entity[] records, Integer totalRecords) ParentRecordStructure
(Entity parentRecord, ClassMetadata parentMetadata) PersistencePackage
(String ceilingEntityFullyQualifiedClassname, String fetchTypeFullyQualifiedClassname, Entity entity, PersistencePerspective persistencePerspective, String[] customCriteria, String csrfToken) PersistencePackage
(String ceilingEntityFullyQualifiedClassname, Entity entity, PersistencePerspective persistencePerspective, String[] customCriteria, String csrfToken) -
Uses of Entity in org.broadleafcommerce.openadmin.server.domain
Fields in org.broadleafcommerce.openadmin.server.domain declared as EntityMethods in org.broadleafcommerce.openadmin.server.domain that return EntityMethods in org.broadleafcommerce.openadmin.server.domain with parameters of type Entity -
Uses of Entity in org.broadleafcommerce.openadmin.server.security.handler
Methods in org.broadleafcommerce.openadmin.server.security.handler that return EntityModifier and TypeMethodDescriptionAdminPermissionCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) AdminUserCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected Entity
AdminPermissionCustomPersistenceHandler.checkPermissionName
(PersistencePackage persistencePackage) AdminPermissionCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) AdminUserCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected Entity
AdminUserCustomPersistenceHandler.validateLegalUsernameAndEmail
(Entity entity, AdminUser adminInstance, boolean isAdd) Methods in org.broadleafcommerce.openadmin.server.security.handler with parameters of type EntityModifier and TypeMethodDescriptionprotected Entity
AdminUserCustomPersistenceHandler.validateLegalUsernameAndEmail
(Entity entity, AdminUser adminInstance, boolean isAdd) -
Uses of Entity in org.broadleafcommerce.openadmin.server.security.service
Fields in org.broadleafcommerce.openadmin.server.security.service declared as EntityMethods in org.broadleafcommerce.openadmin.server.security.service that return EntityMethods in org.broadleafcommerce.openadmin.server.security.service with parameters of type EntityModifier and TypeMethodDescriptionboolean
boolean
Hook to determine if the given entity can be deleted by a user.boolean
boolean
boolean
Hook to determine if the given entity can be updated or not.boolean
void
AbstractRowLevelSecurityProvider.validateAddRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) RowLevelSecurityProvider.validateAddRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) Validates whether a user has permissions to actually perform the record addition.RowLevelSecurityServiceImpl.validateAddRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) AbstractRowLevelSecurityProvider.validateRemoveRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) RowLevelSecurityProvider.validateRemoveRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) Validates whether a user has permissions to actually perform the record deletion.RowLevelSecurityServiceImpl.validateRemoveRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) AbstractRowLevelSecurityProvider.validateUpdateRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) RowLevelSecurityProvider.validateUpdateRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) Validates whether a user has permissions to actually perform the update.RowLevelSecurityServiceImpl.validateUpdateRequest
(AdminUser currentUser, Entity entity, PersistencePackage persistencePackage) EntityFormModifierRequest.withEntity
(Entity entity) -
Uses of Entity in org.broadleafcommerce.openadmin.server.service
Fields in org.broadleafcommerce.openadmin.server.service declared as EntityMethods in org.broadleafcommerce.openadmin.server.service that return EntityMethods in org.broadleafcommerce.openadmin.server.service with parameters of type EntityModifier and TypeMethodDescriptionAdminEntityService.addSubCollectionEntity
(EntityForm entityForm, ClassMetadata mainMetadata, Property field, Entity parentEntity, List<SectionCrumb> sectionCrumb) Adds an item into the specified collectionAdminEntityServiceImpl.addSubCollectionEntity
(EntityForm entityForm, ClassMetadata mainMetadata, Property field, Entity parentEntity, List<SectionCrumb> sectionCrumbs) protected void
DynamicEntityRemoteService.cleanEntity
(Entity entity) AdminEntityService.getAdvancedCollectionRecord
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, String collectionItemId, List<SectionCrumb> sectionCrumbs, String alternateId) Gets an Entity representing a specific collection itemAdminEntityService.getAdvancedCollectionRecord
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, String collectionItemId, List<SectionCrumb> sectionCrumbs, String alternateId, String[] customCriteria) Gets an Entity representing a specific collection itemAdminEntityServiceImpl.getAdvancedCollectionRecord
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, String collectionItemId, List<SectionCrumb> sectionCrumbs, String alternateId) AdminEntityServiceImpl.getAdvancedCollectionRecord
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, String collectionItemId, List<SectionCrumb> sectionCrumbs, String alternateId, String[] customCriteria) AdminEntityService.getAllRecordsForAllSubCollections
(ClassMetadata cmd, Entity containingEntity, List<SectionCrumb> sectionCrumb) overloading containing paging parametersAdminEntityServiceImpl.getAllRecordsForAllSubCollections
(ClassMetadata cmd, Entity containingEntity, List<SectionCrumb> sectionCrumb) AdminEntityService.getContextSpecificRelationshipId
(ClassMetadata cmd, Entity entity, String propertyName) Returns the appropriate id to use for the given entity/metadata and prefix when dealing with collections.AdminEntityServiceImpl.getContextSpecificRelationshipId
(ClassMetadata cmd, Entity entity, String propertyName) AdminEntityService.getPagedRecordsForCollection
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, FilterAndSortCriteria[] fascs, FetchPageRequest fetchPageRequest, String idValueOverride, List<SectionCrumb> sectionCrumbs) The same as the other getRecordsForCollection method, except that this one expects allow the caller to explicitly set the id value that will be used in the fetch instead of delegating to#getContextSpecificRelationshipId()
.AdminEntityServiceImpl.getPagedRecordsForCollection
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, FilterAndSortCriteria[] fascs, FetchPageRequest fetchPageRequest, String idValueOverride, List<SectionCrumb> sectionCrumbs) AdminEntityService.getRecordsForAllSubCollections
(PersistencePackageRequest ppr, Entity containingEntity, Integer startIndex, Integer maxIndex, List<SectionCrumb> sectionCrumb) overloading containing paging parametersAdminEntityService.getRecordsForAllSubCollections
(PersistencePackageRequest ppr, Entity containingEntity, List<SectionCrumb> sectionCrum) Returns all records for all subcollections of the specified request and its primary keyAdminEntityServiceImpl.getRecordsForAllSubCollections
(PersistencePackageRequest ppr, Entity containingEntity, Integer startIndex, Integer maxIndex, List<SectionCrumb> sectionCrumb) AdminEntityServiceImpl.getRecordsForAllSubCollections
(PersistencePackageRequest ppr, Entity containingEntity, List<SectionCrumb> sectionCrumb) AdminEntityService.getRecordsForCollection
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, FilterAndSortCriteria[] fascs, Integer startIndex, Integer maxIndex, String idValueOverride, List<SectionCrumb> sectionCrumb) The same as the other getRecordsForCollection method, except that this one expects allow the caller to explicitly set the id value that will be used in the fetch instead of delegating to#getContextSpecificRelationshipId()
AdminEntityService.getRecordsForCollection
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, FilterAndSortCriteria[] fascs, Integer startIndex, Integer maxIndex, List<SectionCrumb> sectionCrumb) Returns the DynamicResultSet representing the records that belong to the specified collectionProperty for the given containingClass and the primary key for the containingClassAdminEntityServiceImpl.getRecordsForCollection
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, FilterAndSortCriteria[] fascs, Integer startIndex, Integer maxIndex, String idValueOverride, List<SectionCrumb> sectionCrumbs) AdminEntityServiceImpl.getRecordsForCollection
(ClassMetadata containingClassMetadata, Entity containingEntity, Property collectionProperty, FilterAndSortCriteria[] fascs, Integer startIndex, Integer maxIndex, List<SectionCrumb> sectionCrumb) AdminEntityService.getRecordsForSelectedTab
(ClassMetadata cmd, Entity containingEntity, List<SectionCrumb> sectionCrumb, String currentTabName) Returns all records for selected tab of the specified request and its primary keyAdminEntityServiceImpl.getRecordsForSelectedTab
(ClassMetadata cmd, Entity containingEntity, List<SectionCrumb> sectionCrumb, String currentTabName) void
AdminEntityService.populateParentRecordStructure
(PersistencePackage persistencePackage, Entity entity, ClassMetadata parentMetadata) Store parent record value, parent metadata to thePersistencePackage
void
AdminEntityServiceImpl.populateParentRecordStructure
(PersistencePackage persistencePackage, Entity entity, ClassMetadata parentMetadata) AdminEntityService.removeSubCollectionEntity
(ClassMetadata mainMetadata, Property field, Entity parentEntity, String itemId, String alternateId, String priorKey, List<SectionCrumb> sectionCrumb) Removes the given item from the specified collection.AdminEntityService.removeSubCollectionEntity
(ClassMetadata mainMetadata, Property field, Entity parentEntity, String itemId, String priorKey, List<SectionCrumb> sectionCrumb) Removes the given item from the specified collection.AdminEntityServiceImpl.removeSubCollectionEntity
(ClassMetadata mainMetadata, Property field, Entity parentEntity, String itemId, String alternateId, String priorKey, List<SectionCrumb> sectionCrumbs) AdminEntityServiceImpl.removeSubCollectionEntity
(ClassMetadata mainMetadata, Property field, Entity parentEntity, String itemId, String priorKey, List<SectionCrumb> sectionCrumbs) void
AdminEntityService.updateSubCollectionEntity
(EntityForm entityForm, ClassMetadata mainMetadata, Property field, Entity parentEntity, String collectionItemId, String alternateId, List<SectionCrumb> sectionCrumb) Updates the specified collection itemAdminEntityService.updateSubCollectionEntity
(EntityForm entityForm, ClassMetadata mainMetadata, Property field, Entity parentEntity, String collectionItemId, List<SectionCrumb> sectionCrumb) Updates the specified collection itemAdminEntityServiceImpl.updateSubCollectionEntity
(EntityForm entityForm, ClassMetadata mainMetadata, Property field, Entity parentEntity, String collectionItemId, String alternateId, List<SectionCrumb> sectionCrumbs) AdminEntityServiceImpl.updateSubCollectionEntity
(EntityForm entityForm, ClassMetadata mainMetadata, Property field, Entity parentEntity, String collectionItemId, List<SectionCrumb> sectionCrumb) Constructors in org.broadleafcommerce.openadmin.server.service with parameters of type EntityModifierConstructorDescriptionValidationException
(Entity entity) ValidationException
(Entity entity, String message) -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.handler
Methods in org.broadleafcommerce.openadmin.server.service.handler that return EntityModifier and TypeMethodDescriptionCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) CustomPersistenceHandlerAdapter.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) SystemPropertyCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) TranslationCustomPersistenceHandler.add
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) DynamicEntityRetriever.fetchDynamicEntity
(Serializable root, List<String> dirtyFields, boolean includeId) DynamicEntityRetriever.fetchEntityBasedOnId
(String themeConfigurationId, List<String> dirtyFields) CustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) CustomPersistenceHandlerAdapter.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) SystemPropertyCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) TranslationCustomPersistenceHandler.update
(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected Entity
SystemPropertyCustomPersistenceHandler.validateTypeAndValueCombo
(SystemProperty prop) -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.persistence
Fields in org.broadleafcommerce.openadmin.server.service.persistence declared as EntityModifier and TypeFieldDescriptionprotected Entity
PersistenceManagerEventHandlerResponse.entity
protected Entity
PersistenceResponse.entity
Methods in org.broadleafcommerce.openadmin.server.service.persistence that return EntityModifier and TypeMethodDescriptionPersistenceManagerEventHandlerResponse.getEntity()
PersistenceResponse.getEntity()
protected Entity
PersistenceManagerImpl.postAdd
(Entity entity, PersistencePackage persistencePackage) Deprecated.use the PersistenceManagerEventHandler api insteadprotected Entity
PersistenceManagerImpl.postUpdate
(Entity entity, PersistencePackage persistencePackage) Deprecated.use the PersistenceManagerEventHandler api insteadMethods in org.broadleafcommerce.openadmin.server.service.persistence with parameters of type EntityModifier and TypeMethodDescriptionprotected void
PersistenceManagerImpl.logValidationError
(Entity response) PersistenceManagerEventHandler.postAdd
(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) Called after an addPersistenceManagerEventHandlerAdapter.postAdd
(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) protected Entity
PersistenceManagerImpl.postAdd
(Entity entity, PersistencePackage persistencePackage) Deprecated.use the PersistenceManagerEventHandler api insteadPersistenceManagerEventHandler.postUpdate
(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) Called after an updatePersistenceManagerEventHandlerAdapter.postUpdate
(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) protected Entity
PersistenceManagerImpl.postUpdate
(Entity entity, PersistencePackage persistencePackage) Deprecated.use the PersistenceManagerEventHandler api insteadPersistenceManagerEventHandler.processValidationError
(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) Called after a validation error.PersistenceManagerEventHandlerAdapter.processValidationError
(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) void
void
protected void
PersistenceManagerImpl.setMainEntityName
(PersistencePackage pp, Entity entity) PersistenceManagerEventHandlerResponse.withEntity
(Entity entity) PersistenceResponse.withEntity
(Entity entity) -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.persistence.extension
Methods in org.broadleafcommerce.openadmin.server.service.persistence.extension with parameters of type EntityModifier and TypeMethodDescriptionAdornedTargetAutoPopulateExtensionHandler.validateSubmittedAdornedTargetManagedFields
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, BasicFieldMetadata propertyMetadata, String propertyName, String value, ExtensionResultHolder<Boolean> validationResult) Provide validation during persistence. -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.persistence.module
Methods in org.broadleafcommerce.openadmin.server.service.persistence.module that return EntityModifier and TypeMethodDescriptionAdornedTargetListPersistenceModule.add
(PersistencePackage persistencePackage) BasicPersistenceModule.add
(PersistencePackage persistencePackage) MapStructurePersistenceModule.add
(PersistencePackage persistencePackage) PersistenceModule.add
(PersistencePackage persistencePackage) protected Entity
MapStructurePersistenceModule.getMapRecord
(String ceilingClass, Serializable valueInstance, MapStructure mapStructure, Map<String, FieldMetadata> valueMergedProperties, Property symbolicIdProperty, Object key, String[] customCriteria) protected Entity[]
MapStructurePersistenceModule.getMapRecords
(Serializable record, MapStructure mapStructure, Map<String, FieldMetadata> ceilingMergedProperties, Map<String, FieldMetadata> valueMergedProperties, Property symbolicIdProperty, String[] customCriteria) BasicPersistenceModule.getRecord
(Class<?> ceilingEntityClass, PersistencePerspective persistencePerspective, Serializable record) BasicPersistenceModule.getRecord
(Map<String, FieldMetadata> primaryMergedProperties, Serializable record, Map<String, FieldMetadata> alternateMergedProperties, String pathToTargetObject) RecordHelper.getRecord
(Class<?> ceilingEntityClass, PersistencePerspective persistencePerspective, Serializable record) RecordHelper.getRecord
(Map<String, FieldMetadata> primaryMergedProperties, Serializable record, Map<String, FieldMetadata> alternateMergedProperties, String pathToTargetObject) Entity[]
BasicPersistenceModule.getRecords
(Class<?> ceilingEntityClass, PersistencePerspective persistencePerspective, List<? extends Serializable> records) Entity[]
BasicPersistenceModule.getRecords
(Map<String, FieldMetadata> primaryMergedProperties, List<? extends Serializable> records) Entity[]
BasicPersistenceModule.getRecords
(Map<String, FieldMetadata> primaryUnfilteredMergedProperties, List<? extends Serializable> records, Map<String, FieldMetadata> alternateUnfilteredMergedProperties, String pathToTargetObject) Entity[]
BasicPersistenceModule.getRecords
(Map<String, FieldMetadata> primaryUnfilteredMergedProperties, List<? extends Serializable> records, Map<String, FieldMetadata> alternateUnfilteredMergedProperties, String pathToTargetObject, String[] customCriteria) Entity[]
BasicPersistenceModule.getRecords
(FetchExtractionRequest fetchExtractionRequest) Entity[]
DefaultFetchWrapper.getRecords
(FetchExtractionRequest fetchExtractionRequest) Entity[]
FetchWrapper.getRecords
(FetchExtractionRequest fetchExtractionRequest) Retrieve the dto representation of persistent records based on the record contents and entity metadata.Entity[]
RecordHelper.getRecords
(Class<?> ceilingEntityClass, PersistencePerspective persistencePerspective, List<? extends Serializable> records) Entity[]
RecordHelper.getRecords
(Map<String, FieldMetadata> primaryMergedProperties, List<? extends Serializable> records) Deprecated.useRecordHelper.getRecords(FetchExtractionRequest)
instead.Entity[]
RecordHelper.getRecords
(Map<String, FieldMetadata> primaryMergedProperties, List<? extends Serializable> records, Map<String, FieldMetadata> alternateMergedProperties, String pathToTargetObject) Deprecated.useRecordHelper.getRecords(FetchExtractionRequest)
insteadEntity[]
RecordHelper.getRecords
(Map<String, FieldMetadata> primaryMergedProperties, List<? extends Serializable> records, Map<String, FieldMetadata> alternateMergedProperties, String pathToTargetObject, String[] customCriteria) Deprecated.useRecordHelper.getRecords(FetchExtractionRequest)
insteadEntity[]
RecordHelper.getRecords
(FetchExtractionRequest fetchExtractionRequest) Based on retrieved persistent entities and entity metadata, construct data transfer object instances to represent these records to the caller.AdornedTargetListPersistenceModule.update
(PersistencePackage persistencePackage) BasicPersistenceModule.update
(PersistencePackage persistencePackage) MapStructurePersistenceModule.update
(PersistencePackage persistencePackage) PersistenceModule.update
(PersistencePackage persistencePackage) Methods in org.broadleafcommerce.openadmin.server.service.persistence.module with parameters of type EntityModifier and TypeMethodDescriptionprotected boolean
BasicPersistenceModule.attemptToPopulateValue
(Property property, FieldManager fieldManager, Serializable instance, Boolean setId, BasicFieldMetadata metadata, Entity entity, String value) protected Serializable
AdornedTargetListPersistenceModule.createPopulatedAdornedTargetInstance
(AdornedTargetList adornedTargetList, Entity entity) BasicPersistenceModule.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.BasicPersistenceModule.getPrimaryKey
(Entity entity, Map<String, FieldMetadata> mergedUnfilteredProperties) RecordHelper.getPrimaryKey
(Entity entity, Map<String, FieldMetadata> mergedProperties) protected Serializable
MapStructurePersistenceModule.procureSandBoxMapValue
(MapStructure mapStructure, Entity entity) boolean
BasicPersistenceModule.validate
(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties) boolean
BasicPersistenceModule.validate
(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties, boolean validateUnsubmittedProperties) boolean
RecordHelper.validate
(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties) Delegates to the overloaded method with validateUnsubmittedProperties set to true.boolean
RecordHelper.validate
(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties, boolean validateUnsubmittedProperties) Validates theEntity
based on the validators associated with each propertyConstructors in org.broadleafcommerce.openadmin.server.service.persistence.module with parameters of type EntityModifierConstructorDescriptionAdornedTargetRetrieval
(PersistencePackage persistencePackage, Entity entity, AdornedTargetList adornedTargetList) -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.persistence.module.provider.request
Methods in org.broadleafcommerce.openadmin.server.service.persistence.module.provider.request that return EntityModifier and TypeMethodDescriptionAddFilterPropertiesRequest.getEntity()
PopulateValueRequest.getEntity()
Constructors in org.broadleafcommerce.openadmin.server.service.persistence.module.provider.request with parameters of type EntityModifierConstructorDescriptionAddFilterPropertiesRequest
(Entity entity) PopulateValueRequest
(Boolean setId, FieldManager fieldManager, Property property, BasicFieldMetadata metadata, Class<?> returnType, String requestedValue, PersistenceManager persistenceManager, DataFormatProvider dataFormatProvider, Boolean isPreAdd, Entity entity) -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.persistence.validation
Methods in org.broadleafcommerce.openadmin.server.service.persistence.validation with parameters of type EntityModifier and TypeMethodDescriptionEntityValidatorServiceImpl.getTypeHierarchy
(Entity entity) Returns the type hierarchy of the given entity in ascending order of type, stopping at ObjectAdornedTargetMaintainedFieldPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, BasicFieldMetadata propertyMetadata, String propertyName, String value) AfterStartDateValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) void
BeanValidationEntityValidatorServiceImpl.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> mergedProperties, RecordHelper recordHelper, boolean validateUnsubmittedProperties) abstract void
BroadleafEntityValidator.validate
(Entity submittedEntity, T instance, Map<String, FieldMetadata> propertiesMetadata, RecordHelper recordHelper, boolean validateUnsubmittedProperties) Validation that should be done on the specified entity after core validation is completed.CronExpressionValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) void
EntityValidatorService.validate
(Entity submittedEntity, Serializable instance, Map<String, FieldMetadata> propertiesMetadata, RecordHelper recordHelper, boolean validateUnsubmittedProperties) Validate the given entity.void
EntityValidatorServiceImpl.validate
(Entity submittedEntity, Serializable instance, Map<String, FieldMetadata> propertiesMetadata, RecordHelper recordHelper, boolean validateUnsubmittedProperties) FieldLengthValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, BasicFieldMetadata propertyMetadata, String propertyName, String value) GlobalPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, BasicFieldMetadata propertyMetadata, String propertyName, String value) Validates a property for an entityGreaterThanMinValueValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) MaxGreaterThanMinValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) PropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) Validates a property for an entityRegexPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) RequiredIfPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) RequiredPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, BasicFieldMetadata propertyMetadata, String propertyName, String value) UniqueValueValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) UriPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) ValidationConfigurationBasedPropertyValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) boolean
AdminRegexValidator.validateInternal
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) boolean
MatchesFieldValidator.validateInternal
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) boolean
ValidationConfigurationBasedPropertyValidator.validateInternal
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) Delegate method forValidationConfiguration
-based processors that don't need to return an error message -
Uses of Entity in org.broadleafcommerce.openadmin.server.service.sandbox
Methods in org.broadleafcommerce.openadmin.server.service.sandbox with parameters of type EntityModifier and TypeMethodDescriptionSandBoxNameValidator.validate
(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) -
Uses of Entity in org.broadleafcommerce.openadmin.web.controller
Methods in org.broadleafcommerce.openadmin.web.controller with parameters of type EntityModifier and TypeMethodDescriptionprotected ListGrid
AdminAbstractController.getCollectionListGrid
(ClassMetadata mainMetadata, Entity entity, Property collectionProperty, org.springframework.util.MultiValueMap<String, String> requestParams, String sectionKey, List<SectionCrumb> sectionCrumbs) Convenience method for obtaining a ListGrid DTO object for a collection.protected ListGrid
AdminAbstractController.getCollectionListGrid
(ClassMetadata mainMetadata, Entity entity, Property collectionProperty, org.springframework.util.MultiValueMap<String, String> requestParams, String sectionKey, PersistenceResponse persistenceResponse, List<SectionCrumb> sectionCrumbs) Convenience method for obtaining a ListGrid DTO object for a collection.AbstractAdminAbstractControllerExtensionHandler.isAddRequest
(Entity entity, ExtensionResultHolder<Boolean> resultHolder) AdminAbstractControllerExtensionHandler.isAddRequest
(Entity entity, ExtensionResultHolder<Boolean> resultHolder) Extension point to determine if the entity requested is a new empty add request. -
Uses of Entity in org.broadleafcommerce.openadmin.web.controller.entity
Methods in org.broadleafcommerce.openadmin.web.controller.entity with parameters of type EntityModifier and TypeMethodDescriptionprotected String
AdminBasicEntityController.buildAddCollectionItemModel
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, String id, String collectionField, String sectionKey, Property collectionProperty, FieldMetadata md, PersistencePackageRequest ppr, EntityForm entityForm, Entity entity) Builds out all of the model information needed for showing the add modal for collection items on both the initial GET as well as after a POST with validation errorsprotected Map<String,
DynamicResultSet> AdminBasicEntityController.getViewSubRecords
(jakarta.servlet.http.HttpServletRequest request, Map<String, String> pathVars, ClassMetadata cmd, Entity entity, List<SectionCrumb> crumbs) protected void
AdminBasicEntityController.modifyEntityForm
(Entity entity, EntityForm entityForm, Map<String, String> pathVars) protected EntityForm
AdminBasicEntityController.reinitializeEntityForm
(EntityForm entityForm, ClassMetadata collectionMetadata, Entity entity, Map<String, DynamicResultSet> subRecordsMap, List<SectionCrumb> sectionCrumbs) protected String
AdminBasicEntityController.showViewUpdateCollection
(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Map<String, String> pathVars, String id, String collectionField, String collectionItemId, String alternateId, String modalHeaderType, EntityForm entityForm, Entity entity) Shows the view and populates the model for updating a collection item.protected String
AdminBasicEntityController.showViewUpdateCollection
(jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, Map<String, String> pathVars, String id, String collectionField, String collectionItemId, String modalHeaderType, EntityForm entityForm, Entity entity) AdminBasicEntityController.viewEntityTab
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, Map<String, String> pathVars, String id, String tabName, EntityForm entityForm, Entity entity) Attempts to get the List Grid for the selected tab. -
Uses of Entity in org.broadleafcommerce.openadmin.web.form.component
Fields in org.broadleafcommerce.openadmin.web.form.component declared as EntityMethods in org.broadleafcommerce.openadmin.web.form.component that return EntityMethods in org.broadleafcommerce.openadmin.web.form.component with parameters of type Entity -
Uses of Entity in org.broadleafcommerce.openadmin.web.form.entity
Methods in org.broadleafcommerce.openadmin.web.form.entity with parameters of type EntityModifier and TypeMethodDescriptionboolean
EntityFormValidator.validate
(EntityForm form, Entity entity, org.springframework.validation.Errors errors) Validates the form DTO against the passed in entity -
Uses of Entity in org.broadleafcommerce.openadmin.web.handler
Methods in org.broadleafcommerce.openadmin.web.handler with parameters of type EntityModifier and TypeMethodDescriptionvoid
MultipleCatalogExtensionHandler.setCurrentCatalog
(Entity entity, org.springframework.ui.Model model) -
Uses of Entity in org.broadleafcommerce.openadmin.web.rulebuilder
Methods in org.broadleafcommerce.openadmin.web.rulebuilder with parameters of type EntityModifier and TypeMethodDescriptionMVELToDataWrapperTranslator.createRuleData
(Entity[] entities, String mvelProperty, String quantityProperty, String idProperty, String containedProperty, RuleBuilderFieldService fieldService) MVELToDataWrapperTranslator.createRuleData
(Entity[] entities, String mvelProperty, String quantityProperty, String idProperty, RuleBuilderFieldService fieldService) -
Uses of Entity in org.broadleafcommerce.openadmin.web.service
Methods in org.broadleafcommerce.openadmin.web.service with parameters of type EntityModifier and TypeMethodDescriptionprotected void
FormBuilderServiceImpl.addDeleteActionIfAllowed
(EntityForm entityForm, ClassMetadata cmd, Entity entity) Adds theDefaultEntityFormActions.DELETE
if the user is allowed to delete the entity.FormBuilderService.createEntityForm
(ClassMetadata cmd, Entity entity, List<SectionCrumb> sectionCrumbs) Creates a new EntityForm that has all of the appropriate fields set up along with the values for those fields from the given Entity.FormBuilderService.createEntityForm
(ClassMetadata cmd, Entity entity, Map<String, DynamicResultSet> collectionRecords, List<SectionCrumb> sectionCrumbs) Builds an EntityForm that has all of the appropriate fields set up along with the values for those fields from the given Entity as well as all sub-collections of the given Entity that appear in the collectionRecords map.FormBuilderServiceImpl.createEntityForm
(ClassMetadata cmd, Entity entity, List<SectionCrumb> sectionCrumbs) FormBuilderServiceImpl.createEntityForm
(ClassMetadata cmd, Entity entity, Map<String, DynamicResultSet> collectionRecords, List<SectionCrumb> sectionCrumbs) ListGridErrorMessageExtensionHandler.determineErrorMessageForEntity
(Entity entity, ListGridRecord lgr) Allows the extension handler to determine a custom error message or error message key for the entity.ListGridErrorMessageExtensionHandler.determineStatusMessageForEntity
(Entity entity, ListGridRecord lgr) Allows the extension handler to determine a custom status message for the entity.protected boolean
FormBuilderServiceImpl.isDeletionAllowed
(EntityForm entityForm, ClassMetadata cmd, Entity entity) AbstractFormBuilderExtensionHandler.modifyListGridRecord
(String className, ListGridRecord record, Entity entity) FormBuilderExtensionHandler.modifyListGridRecord
(String className, ListGridRecord record, Entity entity) Provides a hook to modify the ListGridRecord for the given Entity while building the list grid record.AbstractFormBuilderExtensionHandler.modifyPopulatedEntityForm
(EntityForm ef, Entity entity) FormBuilderExtensionHandler.modifyPopulatedEntityForm
(EntityForm ef, Entity entity) Modifies anEntityForm
after it has been populated with anEntity
.void
FormBuilderService.populateAdornedEntityFormFields
(EntityForm ef, Entity entity, AdornedTargetList adornedList) Sets values for the necessary adorned fields on the EntityForm from the specified entity.void
FormBuilderServiceImpl.populateAdornedEntityFormFields
(EntityForm ef, Entity entity, AdornedTargetList adornedList) void
FormBuilderService.populateEntityForm
(ClassMetadata cmd, Entity entity, Map<String, DynamicResultSet> collectionRecords, EntityForm entityForm, List<SectionCrumb> sectionCrumbs) Builds an EntityForm that has all of the appropriate fields set up along with the values for thsoe fields from the given Entity as well as all sub-collections of the given Entity that appear in the collectionRecords map.void
FormBuilderService.populateEntityForm
(ClassMetadata cmd, Entity entity, EntityForm ef, List<SectionCrumb> sectionCrumbs) Populates a given ef based on the given cmd to initially create fields with the necessary metadata and then fills those fields out based on the property values from entity.void
FormBuilderServiceImpl.populateEntityForm
(ClassMetadata cmd, Entity entity, Map<String, DynamicResultSet> collectionRecords, EntityForm ef, List<SectionCrumb> sectionCrumbs) void
FormBuilderServiceImpl.populateEntityForm
(ClassMetadata cmd, Entity entity, EntityForm ef, List<SectionCrumb> sectionCrumbs) void
FormBuilderService.populateEntityFormFields
(EntityForm ef, Entity entity) Delegates toFormBuilderService.populateEntityFormFields(EntityForm, Entity, boolean, boolean)
with true for populating both the id and type.void
FormBuilderService.populateEntityFormFields
(EntityForm ef, Entity entity, boolean populateType, boolean populateId) Sets values for all fields found on the EntityForm from the specified entity.void
FormBuilderServiceImpl.populateEntityFormFields
(EntityForm ef, Entity entity) void
FormBuilderServiceImpl.populateEntityFormFields
(EntityForm ef, Entity entity, boolean populateType, boolean populateId) void
FormBuilderService.populateEntityFormFieldValues
(ClassMetadata cmd, Entity entity, EntityForm ef) Populates the givenEntityForm
with values based on theEntity
that has been passed in.void
FormBuilderServiceImpl.populateEntityFormFieldValues
(ClassMetadata cmd, Entity entity, EntityForm ef) void
FormBuilderService.populateMapEntityFormFields
(EntityForm ef, Entity entity) Sets values for the necessary map fields on the EntityForm from the specified entity.void
FormBuilderServiceImpl.populateMapEntityFormFields
(EntityForm ef, Entity entity) protected void
FormBuilderServiceImpl.setReadOnlyState
(EntityForm entityForm, ClassMetadata cmd, Entity entity) The given entityForm is marked as readonly for the following cases: All of the properties from cmd are readonly The user does not have the security toEntityOperationType.UPDATE
the given class name represented by the entityForm (determined byFormBuilderServiceImpl.getSecurityClassname(EntityForm, ClassMetadata)
) The user does not have the security necessary to modify the given entity according to theRowLevelSecurityProvider.canUpdate(AdminUser, Entity)
protected void
FormBuilderServiceImpl.setVisibilityBasedOnShowIfFieldEquals
(ClassMetadata cmd, Entity entity, EntityForm ef) protected boolean
FormBuilderServiceImpl.shouldHideField
(FieldMetadata fmd, Entity entity) -
Uses of Entity in org.broadleafcommerce.openadmin.web.service.extension
Methods in org.broadleafcommerce.openadmin.web.service.extension with parameters of type EntityModifier and TypeMethodDescriptionTranslationsFormBuilderExtensionHandler.modifyListGridRecord
(String className, ListGridRecord record, Entity entity)