Class CatalogSupportedBulkOperationsEndpoint

java.lang.Object
com.broadleafcommerce.catalog.web.endpoint.bulkoperation.CatalogSupportedBulkOperationsEndpoint

@FrameworkRestController @FrameworkMapping("/catalog-bulk/supported-operations") @DataRouteByExample(BulkOperation.class) public class CatalogSupportedBulkOperationsEndpoint extends Object
Since:
2.1.0-GA
  • Field Details

  • Constructor Details

    • CatalogSupportedBulkOperationsEndpoint

      public CatalogSupportedBulkOperationsEndpoint(List<BulkUpdateProcessor> bulkOperationProcessors, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
  • Method Details

    • readSupportedBulkOperations

      @FrameworkGetMapping @Policy(permissionRoots="BULK_OPERATION") public List<com.broadleafcommerce.bulk.v2.domain.SupportedBulkOperation> readSupportedBulkOperations(jakarta.servlet.http.HttpServletRequest request, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestParam("operationType") String operationType, @RequestParam(value="entityType",required=false) String entityType)
    • buildSupportedBulkOp

      protected com.broadleafcommerce.bulk.v2.domain.SupportedBulkOperation buildSupportedBulkOp(String operationType, @Nullable String entityType, BulkUpdateProcessor processor)
    • getBulkOperationProcessors

      protected List<BulkUpdateProcessor> getBulkOperationProcessors()
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()