Class OfferAuditDetailsEndpoint

java.lang.Object
com.broadleafcommerce.promotion.offer.web.endpoint.OfferAuditDetailsEndpoint

@FrameworkRestController @FrameworkMapping("/offer-audit-details") @DataRouteByExample(OfferAuditDetail.class) public class OfferAuditDetailsEndpoint extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • readAllAuditDetails

      @FrameworkGetMapping @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public org.springframework.data.domain.Page<OfferAuditDetail> readAllAuditDetails(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PageableDefault(size=50) org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters)
    • readOfferAuditDetail

      @FrameworkGetMapping("/{id}") @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public OfferAuditDetail readOfferAuditDetail(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("id") String offerAuditDetailId)
    • updateOfferAuditDetail

      @FrameworkPatchMapping(value="/{id}", consumes="application/json") @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public OfferAuditDetail updateOfferAuditDetail(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("id") String id, @RequestBody OfferAuditDetail req)
    • replaceOfferAuditDetail

      @FrameworkPutMapping(value="/{id}", consumes="application/json") @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public OfferAuditDetail replaceOfferAuditDetail(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("id") String id, @RequestBody OfferAuditDetail req)
    • createOfferAuditDetail

      @FrameworkPostMapping(consumes="application/json") @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public OfferAuditDetail createOfferAuditDetail(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestBody OfferAuditDetail req)
    • deleteOfferAuditDetail

      @FrameworkDeleteMapping("/{id}") @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public void deleteOfferAuditDetail(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(DELETE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("id") String id)
    • recordOfferUsages

      @FrameworkPostMapping(value="/record-offer-usages", consumes="application/json") @Policy(permissionRoots="OFFER_AUDIT_DETAIL") public List<OfferAuditDetail> recordOfferUsages(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestBody List<OfferUsageDetails> usageDetails)