Interface AuditService<P extends AuditHeader,Q extends AuditDetail>
- Type Parameters:
P
- The possibly extended projection type for headersQ
- The possibly extended projection type for details
- All Known Implementing Classes:
DefaultAuditService
public interface AuditService<P extends AuditHeader,Q extends AuditDetail>
Handles endpoint fetch operations for viewing audit information
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Q>
readAllDetailsByHeader
(String headerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all details for a given headerorg.springframework.data.domain.Page<Q>
readAllDetailsByHeaderAndAccount
(String headerId, String accountId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all details for a given headerorg.springframework.data.domain.Page<Q>
readAllDetailsByHeaderAndCustomer
(String headerId, String customerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all details for a given headerorg.springframework.data.domain.Page<P>
readAllHeaders
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all headers across all available auditsorg.springframework.data.domain.Page<P>
readAllHeadersByAccount
(String accountId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all headers for a given accountorg.springframework.data.domain.Page<P>
readAllHeadersByCustomer
(String customerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all headers for a given customer
-
Method Details
-
readAllHeaders
org.springframework.data.domain.Page<P> readAllHeaders(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all headers across all available audits- Parameters:
filters
- RSQL filters to applypageable
- Paging configurationcontext
- DataTracking tenant context information- Returns:
- The page of results
-
readAllHeadersByAccount
org.springframework.data.domain.Page<P> readAllHeadersByAccount(String accountId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all headers for a given account- Parameters:
accountId
- The account to filter results byfilters
- Additional RSQL filters to applypageable
- Paging configurationcontext
- DataTracking tenant context information- Returns:
- The page of results
-
readAllHeadersByCustomer
org.springframework.data.domain.Page<P> readAllHeadersByCustomer(String customerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all headers for a given customer- Parameters:
customerId
- The customer to filter results byfilters
- Additional RSQL filters to applypageable
- Paging configurationcontext
- DataTracking tenant context information- Returns:
- The page of results
-
readAllDetailsByHeader
org.springframework.data.domain.Page<Q> readAllDetailsByHeader(String headerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all details for a given header- Parameters:
headerId
- The header id to filter details byfilters
- Additional RSQL filters to applypageable
- Paging configurationcontext
- DataTracking tenant context information- Returns:
- The page of results
-
readAllDetailsByHeaderAndAccount
org.springframework.data.domain.Page<Q> readAllDetailsByHeaderAndAccount(String headerId, String accountId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all details for a given header- Parameters:
headerId
- The header id to filter details byaccountId
- The account to filter results byfilters
- Additional RSQL filters to applypageable
- Paging configurationcontext
- DataTracking tenant context information- Returns:
- The page of results
-
readAllDetailsByHeaderAndCustomer
org.springframework.data.domain.Page<Q> readAllDetailsByHeaderAndCustomer(String headerId, String customerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all details for a given header- Parameters:
headerId
- The header id to filter details bycustomerId
- The customer to filter results byfilters
- Additional RSQL filters to applypageable
- Paging configurationcontext
- DataTracking tenant context information- Returns:
- The page of results
-