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 EntityIndexFieldCustomPersistenceHandler.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 EntitySkuCustomPersistenceHandler.validateAvailableProductOption(Product product, List<Property> productOptionProperties) Verify that all selected options are among the available product options.protected EntitySkuCustomPersistenceHandler.validateNotEmptyProductOptions(List<Property> productOptionProperties) Verify that product options are not empty.protected EntitySkuCustomPersistenceHandler.validateNotNullProductOptions(List<Property> productOptionProperties) Verify that none of the selected options is null.protected EntityOfferCodeCustomPersistenceHandler.validateOfferCode(Entity entity, OfferCode offerCode) protected EntitySkuCustomPersistenceHandler.validateUniqueProductOptionValueCombination(Product product, List<Property> productOptionProperties, Sku currentSku) Ensures that the given list ofProductOptionValueIDs is unique for the givenProduct.protected EntityCustomerCustomPersistenceHandler.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 voidOfferCustomPersistenceHandler.addIsActiveStatus(RecordHelper helper, Entity entity) protected voidSkuCustomPersistenceHandler.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 theProductOptionValuesprotected ProductProductCustomPersistenceHandler.getAdminInstance(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) protected SearchFacetSearchFacetCustomPersistenceHandler.getAdminInstance(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) protected SearchFacetRangeSearchFacetRangeCustomPersistenceHandler.getAdminInstance(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity) protected EntityIndexFieldCustomPersistenceHandler.getEntity(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper, Entity entity, Map<String, FieldMetadata> adminProperties, IndexField adminInstance) SkuCustomPersistenceHandler.getProductOptionProperties(Entity entity) protected voidProductCustomPersistenceHandler.removeBundleFieldRestrictions(ProductBundle adminInstance, Map<String, FieldMetadata> adminProperties, Entity entity) If the pricing model is of type item_sum, that property should not be requiredprotected voidCategoryCustomPersistenceHandler.removeOldDefault(Category adminInstance, CategoryXref oldDefault, Entity entity) protected voidProductCustomPersistenceHandler.removeOldDefault(Product adminInstance, CategoryProductXref oldDefault, Entity entity) voidSkuCustomPersistenceHandler.updateProductOptionFieldsForFetch(List<Serializable> records, Entity[] payload) Sets theProductOptionValues of the givenSkus in a list format for display in a ListGrid context.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 EntityOfferCodeCustomPersistenceHandler.validateOfferCode(Entity entity, OfferCode offerCode) protected voidOfferCustomPersistenceHandler.validateOfferValue(Entity entity) protected booleanProductOptionsCustomPersistenceHandler.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 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 EntityCustomerCustomPersistenceHandler.validateUniqueUsername(Entity entity, Customer adminInstance, boolean isAdd) Validates that a Customer does not have their username duplicatedprotected voidUpSaleProductCustomPersistenceHandler.validateUpSaleProduct(Entity entity) protected voidUpSaleProductCustomPersistenceHandler.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 StringAdminProductController.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 StringAdminProductController.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 whenStructuredContentis saved in order to fill out the dynamic form for the structured content typeprotected EntityPageTemplateCustomPersistenceHandler.addOrUpdate(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected EntityStructuredContentTypeCustomPersistenceHandler.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 whenStructuredContentis 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 voidPageTemplateCustomPersistenceHandler.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 TypeMethodDescriptionvoidEntity.mergeProperties(String prefix, Entity entity) voidEntity.overridePropertyValues(Entity entity) Replaces all property values in this entity with the values from the given entity.voidvoidvoidParentRecordStructure.setParentRecord(Entity parentRecord) voidDynamicResultSet.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 EntityAdminPermissionCustomPersistenceHandler.checkPermissionName(PersistencePackage persistencePackage) AdminPermissionCustomPersistenceHandler.update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) AdminUserCustomPersistenceHandler.update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) protected EntityAdminUserCustomPersistenceHandler.validateLegalUsernameAndEmail(Entity entity, AdminUser adminInstance, boolean isAdd) Methods in org.broadleafcommerce.openadmin.server.security.handler with parameters of type EntityModifier and TypeMethodDescriptionprotected EntityAdminUserCustomPersistenceHandler.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 TypeMethodDescriptionbooleanbooleanHook to determine if the given entity can be deleted by a user.booleanbooleanbooleanHook to determine if the given entity can be updated or not.booleanvoidAbstractRowLevelSecurityProvider.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 voidDynamicEntityRemoteService.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) voidAdminEntityService.populateParentRecordStructure(PersistencePackage persistencePackage, Entity entity, ClassMetadata parentMetadata) Store parent record value, parent metadata to thePersistencePackagevoidAdminEntityServiceImpl.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) voidAdminEntityService.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 EntitySystemPropertyCustomPersistenceHandler.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 EntityPersistenceManagerEventHandlerResponse.entityprotected EntityPersistenceResponse.entityMethods in org.broadleafcommerce.openadmin.server.service.persistence that return EntityModifier and TypeMethodDescriptionPersistenceManagerEventHandlerResponse.getEntity()PersistenceResponse.getEntity()protected EntityPersistenceManagerImpl.postAdd(Entity entity, PersistencePackage persistencePackage) Deprecated.use the PersistenceManagerEventHandler api insteadprotected EntityPersistenceManagerImpl.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 voidPersistenceManagerImpl.logValidationError(Entity response) PersistenceManagerEventHandler.postAdd(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) Called after an addPersistenceManagerEventHandlerAdapter.postAdd(PersistenceManager persistenceManager, Entity entity, PersistencePackage persistencePackage) protected EntityPersistenceManagerImpl.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 EntityPersistenceManagerImpl.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) voidvoidprotected voidPersistenceManagerImpl.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 EntityMapStructurePersistenceModule.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 booleanBasicPersistenceModule.attemptToPopulateValue(Property property, FieldManager fieldManager, Serializable instance, Boolean setId, BasicFieldMetadata metadata, Entity entity, String value) protected SerializableAdornedTargetListPersistenceModule.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 SerializableMapStructurePersistenceModule.procureSandBoxMapValue(MapStructure mapStructure, Entity entity) booleanBasicPersistenceModule.validate(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties) booleanBasicPersistenceModule.validate(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties, boolean validateUnsubmittedProperties) booleanRecordHelper.validate(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties) Delegates to the overloaded method with validateUnsubmittedProperties set to true.booleanRecordHelper.validate(Entity entity, Serializable populatedInstance, Map<String, FieldMetadata> mergedProperties, boolean validateUnsubmittedProperties) Validates theEntitybased 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) voidBeanValidationEntityValidatorServiceImpl.validate(Entity entity, Serializable instance, Map<String, FieldMetadata> mergedProperties, RecordHelper recordHelper, boolean validateUnsubmittedProperties) abstract voidBroadleafEntityValidator.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) voidEntityValidatorService.validate(Entity submittedEntity, Serializable instance, Map<String, FieldMetadata> propertiesMetadata, RecordHelper recordHelper, boolean validateUnsubmittedProperties) Validate the given entity.voidEntityValidatorServiceImpl.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) booleanAdminRegexValidator.validateInternal(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) booleanMatchesFieldValidator.validateInternal(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, Map<String, String> validationConfiguration, BasicFieldMetadata propertyMetadata, String propertyName, String value) booleanValidationConfigurationBasedPropertyValidator.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 ListGridAdminAbstractController.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 ListGridAdminAbstractController.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 StringAdminBasicEntityController.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 voidAdminBasicEntityController.modifyEntityForm(Entity entity, EntityForm entityForm, Map<String, String> pathVars) protected EntityFormAdminBasicEntityController.reinitializeEntityForm(EntityForm entityForm, ClassMetadata collectionMetadata, Entity entity, Map<String, DynamicResultSet> subRecordsMap, List<SectionCrumb> sectionCrumbs) protected StringAdminBasicEntityController.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 StringAdminBasicEntityController.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 TypeMethodDescriptionbooleanEntityFormValidator.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 TypeMethodDescriptionvoidMultipleCatalogExtensionHandler.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 voidFormBuilderServiceImpl.addDeleteActionIfAllowed(EntityForm entityForm, ClassMetadata cmd, Entity entity) Adds theDefaultEntityFormActions.DELETEif 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 booleanFormBuilderServiceImpl.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 anEntityFormafter it has been populated with anEntity.voidFormBuilderService.populateAdornedEntityFormFields(EntityForm ef, Entity entity, AdornedTargetList adornedList) Sets values for the necessary adorned fields on the EntityForm from the specified entity.voidFormBuilderServiceImpl.populateAdornedEntityFormFields(EntityForm ef, Entity entity, AdornedTargetList adornedList) voidFormBuilderService.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.voidFormBuilderService.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.voidFormBuilderServiceImpl.populateEntityForm(ClassMetadata cmd, Entity entity, Map<String, DynamicResultSet> collectionRecords, EntityForm ef, List<SectionCrumb> sectionCrumbs) voidFormBuilderServiceImpl.populateEntityForm(ClassMetadata cmd, Entity entity, EntityForm ef, List<SectionCrumb> sectionCrumbs) voidFormBuilderService.populateEntityFormFields(EntityForm ef, Entity entity) Delegates toFormBuilderService.populateEntityFormFields(EntityForm, Entity, boolean, boolean)with true for populating both the id and type.voidFormBuilderService.populateEntityFormFields(EntityForm ef, Entity entity, boolean populateType, boolean populateId) Sets values for all fields found on the EntityForm from the specified entity.voidFormBuilderServiceImpl.populateEntityFormFields(EntityForm ef, Entity entity) voidFormBuilderServiceImpl.populateEntityFormFields(EntityForm ef, Entity entity, boolean populateType, boolean populateId) voidFormBuilderService.populateEntityFormFieldValues(ClassMetadata cmd, Entity entity, EntityForm ef) Populates the givenEntityFormwith values based on theEntitythat has been passed in.voidFormBuilderServiceImpl.populateEntityFormFieldValues(ClassMetadata cmd, Entity entity, EntityForm ef) voidFormBuilderService.populateMapEntityFormFields(EntityForm ef, Entity entity) Sets values for the necessary map fields on the EntityForm from the specified entity.voidFormBuilderServiceImpl.populateMapEntityFormFields(EntityForm ef, Entity entity) protected voidFormBuilderServiceImpl.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.UPDATEthe 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 voidFormBuilderServiceImpl.setVisibilityBasedOnShowIfFieldEquals(ClassMetadata cmd, Entity entity, EntityForm ef) protected booleanFormBuilderServiceImpl.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)