Uses of Annotation Interface
com.broadleafcommerce.data.tracking.core.policy.Policy

Packages that use Policy
  • Uses of Policy in com.broadleafcommerce.data.tracking.core

    Methods in com.broadleafcommerce.data.tracking.core with annotations of type Policy
    Modifier and Type
    Method
    Description
    TrackableRepository.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 given Node.
    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 RSQL Node 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 RSQL Node 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 RSQL Node 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 RSQL Node to restrict results.
    TrackableRepository.findAllByContextId(Iterable<String> contextIds, ContextInfo contextInfo)
    Retrieve all domain instances based on a list of context ids (see Trackable.getContextId()).
    TrackableRepository.findByContextId(String contextId, ContextInfo contextInfo)
    Retrieve a domain instance based on the context id (see Trackable.getContextId()).
    TrackableRepository.findByContextIdAndCatalog(String contextId, String catalogId, ContextInfo contextInfo)
    Retrieve a domain instance based on the context id (see Trackable.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 given nativeId, setting its Tracking.getChangeDetails() to null.
    void
    TrackableRepository.pruneRestingNotificationStates(Duration beforeNow)
    void
    TrackableRepository.purgeObsoleteSandboxData(Duration beforeNow)
    Hard-deletes all records which satisfy the following criteria: Tracking.getSandbox() has its archived property set to true All NotificationStateAware.getNotificationStates() (if there are any) are either acked or stopped All Tracking.getChangeDetails() (if there are any) have a timestamp that is before Instant.now() minus the beforeNow duration
    TrackableRepository.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

    Methods in com.broadleafcommerce.data.tracking.core.service with annotations of type Policy
    Modifier and Type
    Method
    Description
    boolean
    MappableRsqlFilterExecutor.exists(cz.jirutka.rsql.parser.ast.Node filters)
    Checks whether the data store contains elements that match the given Node.
    MappableRsqlFilterExecutor.findAll(cz.jirutka.rsql.parser.ast.Node filters)
    Retrieve all domain instances using an RSQL Node 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 RSQL Node to restrict results.
    MappableRsqlFilterExecutor.findAll(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort)
    Retrieve all domain instances using an RSQL Node 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 RSQL Node to restrict results.