Uses of Class
org.broadleafcommerce.openadmin.server.domain.PersistencePackageRequest
Packages that use PersistencePackageRequest
Package
Description
-
Uses of PersistencePackageRequest in org.broadleafcommerce.admin.web.controller.entity
Methods in org.broadleafcommerce.admin.web.controller.entity with parameters of type PersistencePackageRequestModifier 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) -
Uses of PersistencePackageRequest in org.broadleafcommerce.admin.web.controller.inventory
Methods in org.broadleafcommerce.admin.web.controller.inventory with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionprotected voidAdminInventoryBasicOperationsController.modifyFetchPersistencePackageRequest(PersistencePackageRequest ppr, Map<String, String> pathVars) -
Uses of PersistencePackageRequest in org.broadleafcommerce.cms.admin.web.controller
Methods in org.broadleafcommerce.cms.admin.web.controller with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionprotected voidAdminPageController.attachSectionSpecificInfo(PersistencePackageRequest ppr, Map<String, String> pathVars) -
Uses of PersistencePackageRequest in org.broadleafcommerce.openadmin.server.domain
Fields in org.broadleafcommerce.openadmin.server.domain with type parameters of type PersistencePackageRequestModifier and TypeFieldDescriptionprotected Map<String,PersistencePackageRequest> PersistencePackageRequest.subRequestsMethods in org.broadleafcommerce.openadmin.server.domain that return PersistencePackageRequestModifier and TypeMethodDescriptionPersistencePackageRequest.addAdditionalForeignKey(ForeignKey foreignKey) PersistencePackageRequest.addCustomCriteria(String customCriteria) PersistencePackageRequest.addCustomCriteria(String[] customCriteriaList) PersistencePackageRequest.addFilterAndSortCriteria(List<FilterAndSortCriteria> filterAndSortCriteria) PersistencePackageRequest.addFilterAndSortCriteria(FilterAndSortCriteria filterAndSortCriteria) PersistencePackageRequest.addFilterAndSortCriteria(FilterAndSortCriteria[] filterAndSortCriteria) PersistencePackageRequest.addSubRequest(String infoPropertyName, PersistencePackageRequest subRequest) static PersistencePackageRequestPersistencePackageRequest.adorned()PersistencePackageRequest.clearFilterAndSortCriteria()static PersistencePackageRequestPersistencePackageRequest.fromMetadata(FieldMetadata md, List<SectionCrumb> sectionCrumbs) Creates a semi-populate PersistencePacakageRequest based on the specified Metadata.static PersistencePackageRequestPersistencePackageRequest.map()PersistencePackageRequest.removeFilterAndSortCriteria(String name) static PersistencePackageRequestPersistencePackageRequest.standard()PersistencePackageRequest.withAdornedList(AdornedTargetList adornedList) PersistencePackageRequest.withCeilingEntityClassname(String className) PersistencePackageRequest.withConfigKey(String configKey) PersistencePackageRequest.withCustomCriteria(String[] customCriteria) PersistencePackageRequest.withEntity(Entity entity) PersistencePackageRequest.withFilterAndSortCriteria(FilterAndSortCriteria[] filterAndSortCriteria) PersistencePackageRequest.withFirstId(Long firstId) PersistencePackageRequest.withFolderId(Long folderId) PersistencePackageRequest.withForeignKey(ForeignKey foreignKey) PersistencePackageRequest.withIsFolderedLookup(boolean isFolderedLookup) PersistencePackageRequest.withIsUpdateLookupType(boolean isUpdateLookupType) PersistencePackageRequest.withLastId(Long lastId) PersistencePackageRequest.withLowerCount(Integer lowerCount) PersistencePackageRequest.withMapStructure(MapStructure mapStructure) PersistencePackageRequest.withMaxIndex(Integer maxIndex) PersistencePackageRequest.withMaxResults(Integer maxResults) PersistencePackageRequest.withPageSize(Integer pageSize) PersistencePackageRequest.withPresentationFetch(Boolean presentationFetch) PersistencePackageRequest.withRequestingEntityName(String requestingEntityName) PersistencePackageRequest.withSectionCrumbs(List<SectionCrumb> sectionCrumbs) PersistencePackageRequest.withSectionEntityField(String sectionEntityField) PersistencePackageRequest.withSecurityCeilingEntityClassname(String className) PersistencePackageRequest.withStartIndex(Integer startIndex) PersistencePackageRequest.withType(PersistencePackageRequest.Type type) PersistencePackageRequest.withUpperCount(Integer upperCount) Methods in org.broadleafcommerce.openadmin.server.domain that return types with arguments of type PersistencePackageRequestMethods in org.broadleafcommerce.openadmin.server.domain with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionPersistencePackageRequest.addSubRequest(String infoPropertyName, PersistencePackageRequest subRequest) Method parameters in org.broadleafcommerce.openadmin.server.domain with type arguments of type PersistencePackageRequestModifier and TypeMethodDescriptionvoidPersistencePackageRequest.setSubRequests(Map<String, PersistencePackageRequest> subRequests) -
Uses of PersistencePackageRequest in org.broadleafcommerce.openadmin.server.factory
Methods in org.broadleafcommerce.openadmin.server.factory with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionPersistencePackageFactory.create(PersistencePackageRequest request) Creates a persistence package for the given request.PersistencePackageFactoryImpl.create(PersistencePackageRequest request) -
Uses of PersistencePackageRequest in org.broadleafcommerce.openadmin.server.service
Methods in org.broadleafcommerce.openadmin.server.service that return PersistencePackageRequestModifier and TypeMethodDescriptionAdminEntityService.getRequestForEntityForm(EntityForm entityForm, String[] customCriteria, List<SectionCrumb> sectionCrumbs) Gets the PersistencePackageRequest for the passed in EntityFormAdminEntityServiceImpl.getRequestForEntityForm(EntityForm entityForm, String[] customCriteria, List<SectionCrumb> sectionCrumbs) Methods in org.broadleafcommerce.openadmin.server.service with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionAdminEntityService.add(PersistencePackageRequest request) Thin layer on top ofDynamicEntityService.add(org.broadleafcommerce.openadmin.dto.PersistencePackage)that swallows allValidationExceptions that could be thrown and still just returns aPersistenceResponsewith theEntitythat failed validation.AdminEntityService.add(PersistencePackageRequest request, boolean transactional) Works the same asAdminEntityService.add(PersistencePackageRequest)but you can optionally invoke the transactional version ofDynamicEntityRemoteService.add(org.broadleafcommerce.openadmin.dto.PersistencePackage)in situations where you want to manage the transactions in a parent componentAdminEntityServiceImpl.add(PersistencePackageRequest request) AdminEntityServiceImpl.add(PersistencePackageRequest request, boolean transactional) protected voidAdminEntityServiceImpl.ensureEntityMarkedAsValidationFailure(ValidationException e, PersistencePackageRequest originalRequest) Should be invoked when aValidationExceptionis thrown to verify that theEntitycontained within the given originalRequest has a validationFailure = trueAdminEntityService.fetch(PersistencePackageRequest request) AdminEntityServiceImpl.fetch(PersistencePackageRequest request) AdminEntityService.getClassMetadata(PersistencePackageRequest request) Returns class metadata for the given request objectAdminEntityServiceImpl.getClassMetadata(PersistencePackageRequest request) AdminEntityService.getRecord(PersistencePackageRequest request, String id, ClassMetadata cmd, boolean isCollectionRequest) Returns a specific record for the given request and primary key id/propertyAdminEntityServiceImpl.getRecord(PersistencePackageRequest request, String id, ClassMetadata cmd, boolean isCollectionRequest) AdminEntityService.getRecords(PersistencePackageRequest request) Returns the DynamicResultSet containing the total records for the query and the currently fetched Entity[]AdminEntityServiceImpl.getRecords(PersistencePackageRequest request) 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.inspect(PersistencePackageRequest request) Thin layer on top ofDynamicEntityService.inspect(org.broadleafcommerce.openadmin.dto.PersistencePackage)AdminEntityServiceImpl.inspect(PersistencePackageRequest request) AdminEntityService.remove(PersistencePackageRequest request) Thin layer on top ofDynamicEntityService.remove(org.broadleafcommerce.openadmin.dto.PersistencePackage)AdminEntityService.remove(PersistencePackageRequest request, boolean transactional) Works the same asAdminEntityService.remove(PersistencePackageRequest)but you can optionally invoke the transactional version ofDynamicEntityRemoteService.remove(org.broadleafcommerce.openadmin.dto.PersistencePackage)in situations where you want to manage the transactions in a parent componentAdminEntityServiceImpl.remove(PersistencePackageRequest request) AdminEntityServiceImpl.remove(PersistencePackageRequest request, boolean transactional) AdminEntityService.update(PersistencePackageRequest request) Thin layer on top ofDynamicEntityService.update(org.broadleafcommerce.openadmin.dto.PersistencePackage)AdminEntityService.update(PersistencePackageRequest request, boolean transactional) Works the same asAdminEntityService.update(PersistencePackageRequest)but you can optionally invoke the transactional version ofDynamicEntityRemoteService.update(org.broadleafcommerce.openadmin.dto.PersistencePackage)in situations where you want to manage the transactions in a parent componentAdminEntityServiceImpl.update(PersistencePackageRequest request) AdminEntityServiceImpl.update(PersistencePackageRequest request, boolean transactional) -
Uses of PersistencePackageRequest in org.broadleafcommerce.openadmin.server.service.extension
Methods in org.broadleafcommerce.openadmin.server.service.extension with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionCriteriaTransferObjectExtensionHandler.modifyFetchCriteriaTransferObject(PersistencePackageRequest request, CriteriaTransferObject cto) Allows modification of the criteria transfer object for a fetch -
Uses of PersistencePackageRequest in org.broadleafcommerce.openadmin.web.controller
Methods in org.broadleafcommerce.openadmin.web.controller that return PersistencePackageRequestModifier and TypeMethodDescriptionprotected PersistencePackageRequestAdminAbstractController.getPersistencePackageRequest(org.springframework.util.MultiValueMap<String, String> requestParams, Class<?> ceilingEntityClass) Returns a PersistencePackageRequest for the given sectionClassName.protected PersistencePackageRequestAdminAbstractController.getSectionPersistencePackageRequest(String sectionClassName, List<SectionCrumb> sectionCrumbs) Deprecated.protected PersistencePackageRequestAdminAbstractController.getSectionPersistencePackageRequest(String sectionClassName, List<SectionCrumb> sectionCrumbs, Map<String, String> pathVars) Returns a PersistencePackageRequest for the given sectionClassName.protected PersistencePackageRequestAdminAbstractController.getSectionPersistencePackageRequest(String sectionClassName, org.springframework.util.MultiValueMap<String, String> requestParams, List<SectionCrumb> sectionCrumbs) Deprecated.protected PersistencePackageRequestAdminAbstractController.getSectionPersistencePackageRequest(String sectionClassName, org.springframework.util.MultiValueMap<String, String> requestParams, List<SectionCrumb> sectionCrumbs, Map<String, String> pathVars) Returns the result of a call to getSectionPersistencePackageRequest(..) with the additional filter and sort criteria attached.Methods in org.broadleafcommerce.openadmin.web.controller with parameters of type PersistencePackageRequestModifier and TypeMethodDescriptionprotected voidAdminAbstractController.attachSectionSpecificInfo(PersistencePackageRequest ppr) Deprecated.protected voidAdminAbstractController.attachSectionSpecificInfo(PersistencePackageRequest ppr, Map<String, String> pathVars) A hook method that is invoked every time the getSectionPersistencePackageRequest(..) method is invoked.AbstractAdminBasicOperationsControllerExtensionHandler.buildLookupListGrid(PersistencePackageRequest ppr, ClassMetadata cmd, String owningClass, List<SectionCrumb> sectionCrumbs, org.springframework.ui.Model model, org.springframework.util.MultiValueMap<String, String> requestParams) AdminBasicOperationsControllerExtensionHandler.buildLookupListGrid(PersistencePackageRequest ppr, ClassMetadata cmd, String owningClass, List<SectionCrumb> sectionCrumbs, org.springframework.ui.Model model, org.springframework.util.MultiValueMap<String, String> requestParams) Invoked every timeAdminBasicOperationsController#showSelectCollectionItem()is invoked to allow the ListGrid style to be built in a different style. -
Uses of PersistencePackageRequest in org.broadleafcommerce.openadmin.web.controller.entity
Methods in org.broadleafcommerce.openadmin.web.controller.entity with parameters of type PersistencePackageRequestModifier 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 voidAdminBasicOperationsController.modifyFetchPersistencePackageRequest(PersistencePackageRequest ppr, Map<String, String> pathVars) Hook method to allow a user to modify the persistence package request for a fetch on a select lookup.
AdminAbstractController.getSectionPersistencePackageRequest(String, List, Map)