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 Summary
-
Constructor Summary
ConstructorDescriptionCatalogSupportedBulkOperationsEndpoint
(List<BulkUpdateProcessor> bulkOperationProcessors, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.bulk.v2.domain.SupportedBulkOperation
buildSupportedBulkOp
(String operationType, String entityType, BulkUpdateProcessor processor) protected List<BulkUpdateProcessor>
protected com.broadleafcommerce.common.extension.TypeFactory
List<com.broadleafcommerce.bulk.v2.domain.SupportedBulkOperation>
readSupportedBulkOperations
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String operationType, String entityType)
-
Field Details
-
BASE_URI
- See Also:
-
-
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
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
-