Uses of Annotation Interface
com.broadleafcommerce.data.tracking.core.policy.Policy
Package
Description
-
Uses of Policy in com.broadleafcommerce.data.tracking.core
Modifier and TypeMethodDescriptionTrackableRepository.archive
(D entity, ContextInfo contextInfo) Archive a record so that it is no longer considered active and is filtered out of results.boolean
TrackableRsqlFilterExecutor.exists
(cz.jirutka.rsql.parser.ast.Node filters, ContextInfo contextInfo) Checks whether the data store contains elements that match the givenNode
.boolean
TrackableRepository.existsByContextId
(String contextId, ContextInfo contextInfo) Retrieve whether or not an active instance of the item exists for the given context id after any narrowing context is applied.TrackableRepository.findAll
(ContextInfo contextInfo) Retrieve all domain instances.TrackableRepository.findAll
(ContextInfo contextInfo, Class<D> type) Retrieve all domain instances.org.springframework.data.domain.Page<D>
TrackableRepository.findAll
(org.springframework.data.domain.Pageable pageable, ContextInfo contextInfo) Retrieve all domain instances, a page at a time.org.springframework.data.domain.Page<D>
TrackableRepository.findAll
(org.springframework.data.domain.Pageable pageable, ContextInfo contextInfo, Class<D> type) Retrieve all domain instances, a page at a time.TrackableRepository.findAll
(org.springframework.data.domain.Sort sort, ContextInfo contextInfo) Retrieve all domain instances using a sort.TrackableRepository.findAll
(org.springframework.data.domain.Sort sort, ContextInfo contextInfo, Class<D> type) Retrieve all domain instances using a sort.TrackableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, ContextInfo contextInfo) Retrieve all domain instances using an RSQLNode
to restrict results.org.springframework.data.domain.Page<D>
TrackableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, ContextInfo contextInfo) Retrieve all domain instances using an RSQLNode
to restrict results.TrackableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, ContextInfo contextInfo) Retrieve all domain instances using an RSQLNode
to restrict results.org.springframework.data.domain.Page<D>
TrackableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, org.springframework.data.domain.Pageable pageable, ContextInfo contextInfo) Retrieve all domain instances using an RSQLNode
to restrict results.TrackableRepository.findAllByContextId
(Iterable<String> contextIds, ContextInfo contextInfo) Retrieve all domain instances based on a list of context ids (seeTrackable.getContextId()
).TrackableRepository.findByContextId
(String contextId, ContextInfo contextInfo) Retrieve a domain instance based on the context id (seeTrackable.getContextId()
).TrackableRepository.findByContextIdAndCatalog
(String contextId, String catalogId, ContextInfo contextInfo) Retrieve a domain instance based on the context id (seeTrackable.getContextId()
).TrackableRepository.findByNativeId
(Object id) Finds the entity corresponding to the given native id.TrackableRepository.findMaxSortMember
(Sortable example, String maxSort, ContextInfo contextInfo) Given an example member from a sort group, find the first member from that group whose sort value is less than maxSort.TrackableRepository.findMinSortMember
(Sortable example, String minSort, ContextInfo contextInfo) Given an example member from a sort group, find the first member from that group whose sort value is greater than minSort.boolean
TrackableRepository.pruneChangeDetails
(Object nativeId) Updates the entity whose native id matches the givennativeId
, setting itsTracking.getChangeDetails()
tonull
.void
TrackableRepository.pruneRestingNotificationStates
(Duration beforeNow) Deprecated.void
TrackableRepository.purgeObsoleteSandboxData
(Duration beforeNow) Hard-deletes all records which satisfy the following criteria:Tracking.getSandbox()
has itsarchived
property set to true AllNotificationStateAware.getNotificationStates()
(if there are any) are eitheracked
orstopped
AllTracking.getChangeDetails()
(if there are any) have atimestamp
that is beforeInstant.now()
minus thebeforeNow
durationTrackableRepository.save
(D entity, ContextInfo contextInfo) Insert (if not exists) or update the domain instance in the datastore.TrackableRepository.saveAll
(Iterable<D> entities, ContextInfo contextInfo) Insert (if not exists) or update all the domain instances in the datastore. -
Uses of Policy in com.broadleafcommerce.data.tracking.core.service
Modifier and TypeMethodDescriptionboolean
MappableRsqlFilterExecutor.exists
(cz.jirutka.rsql.parser.ast.Node filters) Checks whether the data store contains elements that match the givenNode
.MappableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters) Retrieve all domain instances using an RSQLNode
to restrict results.org.springframework.data.domain.Page<D>
MappableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable) Retrieve all domain instances using an RSQLNode
to restrict results.MappableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort) Retrieve all domain instances using an RSQLNode
to restrict results.org.springframework.data.domain.Page<D>
MappableRsqlFilterExecutor.findAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, org.springframework.data.domain.Pageable pageable) Retrieve all domain instances using an RSQLNode
to restrict results.
StandaloneCleanupRepository.pruneRestingNotificationStates(Duration)