Uses of Interface
com.broadleafcommerce.data.tracking.core.TrackableRepository
Package
Description
-
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core
Modifier and TypeInterfaceDescriptioninterface
BaseTrackableRepository<D extends Trackable>
Establish a base Trackable repository interface that includes TrackableRsqlFilterExecutor as well. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.cache
Modifier and TypeMethodDescriptionvoid
CacheInvalidationNotificationImmediateSender.sendCacheInvalidation
(TrackableRepository<? extends Trackable> repository, Trackable entity) Send a remote cache invalidation message to all concerned microservices. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.filtering.fetch
Modifier and TypeMethodDescriptionstatic cz.jirutka.rsql.parser.ast.Node
FilterHelper.transform
(cz.jirutka.rsql.parser.ast.Node filters, TrackableRepository<Trackable> repository, List<RsqlQueryTransformer> rsqlQueryTransformers) Transformsfilters
from properties that target a projection into ones that apply to a backing repository provider domain object -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.messaging
Modifier and TypeMethodDescriptionprotected List<TrackableRepository<Trackable>>
PruneRestingNotificationStatesHandler.getTrackableRepositories()
protected List<TrackableRepository<Trackable>>
PurgeObsoleteSandboxDataHandler.getTrackableRepositories()
Modifier and TypeMethodDescriptionprotected void
ChangeDetailPruningPersistenceMessageAckedHandler.pruneChangeDetails
(Object nativeEntityId, TrackableRepository<Trackable> repository) ModifierConstructorDescriptionPruneRestingNotificationStatesHandler
(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties) PurgeObsoleteSandboxDataHandler
(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties) -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.messaging.autoconfigure
Modifier and TypeMethodDescriptionPruneRestingNotificationStatesAutoConfiguration.pruneRestingNotificationStatesHandler
(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties) PurgeObsoleteSandboxDataAutoConfiguration.purgeObsoleteSandboxDataHandler
(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties) -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.service
Modifier and TypeMethodDescription<R extends TrackableRepository<Trackable> & TrackableRsqlFilterExecutor<Trackable>>
RRsqlCrudEntityHelper.castToRsqlRepository
(TrackableRepository<Trackable> repository) Since most of the methods in the service require a repository that implements bothTrackableRepository
andTrackableRsqlFilterExecutor
, this method provides a convenient way to handle that casting.<P,
R extends TrackableRsqlFilterExecutor<Trackable> & TrackableRepository<Trackable>>
List<P>RsqlCrudEntityHelper.readAll
(cz.jirutka.rsql.parser.ast.Node filters, ContextInfo context, R repository) Retrieve all domain instances using a structured query string to drive the query criteria.<P,
R extends TrackableRsqlFilterExecutor<Trackable> & TrackableRepository<Trackable>>
org.springframework.data.domain.Page<P>RsqlCrudEntityHelper.readAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, ContextInfo context, R repository) Retrieve all domain instances using a structured query string to drive the query criteria.<P,
R extends TrackableRsqlFilterExecutor<Trackable> & TrackableRepository<Trackable>>
List<P>RsqlCrudEntityHelper.readAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, ContextInfo context, R repository) Retrieve all domain instances using a structured query string to drive the query criteria.<P,
R extends TrackableRsqlFilterExecutor<Trackable> & TrackableRepository<Trackable>>
org.springframework.data.domain.Page<P>RsqlCrudEntityHelper.readAll
(cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, org.springframework.data.domain.Pageable pageable, ContextInfo context, R repository) Retrieve all domain instances using a structured query string to drive the query criteria.Modifier and TypeMethodDescriptionprotected TrackableRepository<Trackable>
BaseCrudEntityService.getRepository()
Modifier and TypeMethodDescription<R extends TrackableRepository<Trackable> & TrackableRsqlFilterExecutor<Trackable>>
RRsqlCrudEntityHelper.castToRsqlRepository
(TrackableRepository<Trackable> repository) Since most of the methods in the service require a repository that implements bothTrackableRepository
andTrackableRsqlFilterExecutor
, this method provides a convenient way to handle that casting.<P> P
CrudEntityHelper.create
(P businessInstance, ContextInfo context, TrackableRepository<Trackable> repository) Create an instance of an entity based on a business instance containing relevant property values.<P> List<P>
CrudEntityHelper.createAll
(List<P> businessInstances, ContextInfo context, TrackableRepository<Trackable> repository) <P> BulkPersistenceResponse<P>
CrudEntityHelper.createAllAllowingPartialSuccess
(List<P> businessInstances, ContextInfo context, TrackableRepository<Trackable> repository) void
CrudEntityHelper.delete
(String id, ContextInfo context, TrackableRepository<Trackable> repository) Perform a delete operation on the entity identified by the context id.void
CrudEntityHelper.propagateIfApplicable
(Trackable updated, ContextInfo context, @NonNull OperationType operationType, @NonNull TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) void
PropagationIntegrator.propagateIfApplicable
(Trackable domain, ContextInfo context, OperationType operationType, TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) Initiate a catalog propagation for the change.<P> List<P>
CrudEntityHelper.readAll
(ContextInfo context, TrackableRepository<Trackable> repository) Read a list of narrowed instances in the form of the business instance.<P> org.springframework.data.domain.Page<P>
CrudEntityHelper.readAll
(org.springframework.data.domain.Pageable pageable, ContextInfo context, TrackableRepository<Trackable> repository) Read a page of narrowed instances in the form of the business instance.<P> List<P>
CrudEntityHelper.readAll
(org.springframework.data.domain.Sort sort, ContextInfo context, TrackableRepository<Trackable> repository) Read a list of narrowed instances in the form of the business instance.<P> Iterable<P>
CrudEntityHelper.readAllByContextId
(Iterable<String> ids, ContextInfo context, TrackableRepository<Trackable> repository) Retrieve all business instances based on a list of context ids.<P> P
CrudEntityHelper.readByContextId
(String id, ContextInfo context, TrackableRepository<Trackable> repository) Read a single instance of an entity in the form of a business domain.<P> P
CrudEntityHelper.replace
(String id, P businessInstance, ContextInfo context, TrackableRepository<Trackable> repository) Replace a single, narrowed instance of an entity based on a business instance containing relavant property values.<P> List<P>
CrudEntityHelper.replaceAll
(List<Update<P>> replacements, ContextInfo context, TrackableRepository<Trackable> repository) <P> BulkPersistenceResponse<P>
CrudEntityHelper.replaceAllAllowingPartialSuccess
(List<Update<P>> replacements, ContextInfo context, TrackableRepository<Trackable> repository) org.springframework.data.domain.Sort
CrudEntityHelper.transform
(org.springframework.data.domain.Sort sort, TrackableRepository<Trackable> repository) Transforms the givensort
from properties targeting the projection layer into aSort
that targets properties at the domain layercz.jirutka.rsql.parser.ast.Node
RsqlCrudEntityHelper.transform
(cz.jirutka.rsql.parser.ast.Node filters, TrackableRepository<Trackable> repository) Transformsfilters
from properties that target a projection into ones that apply to a backing repository provider domain objectorg.springframework.data.domain.Pageable
CrudEntityHelper.transformSort
(org.springframework.data.domain.Pageable pageable, TrackableRepository<Trackable> repository) Transforms the sort inside of aPageable
(if applicable).<P> P
CrudEntityHelper.update
(String id, P businessInstance, ContextInfo context, TrackableRepository<Trackable> repository) Update a single, narrowed instance of an entity based on a business instance containing relevant property values.<P> List<P>
CrudEntityHelper.updateAll
(List<Update<P>> updates, ContextInfo context, TrackableRepository<Trackable> repository) <P> BulkPersistenceResponse<P>
CrudEntityHelper.updateAllAllowingPartialSuccess
(List<Update<P>> updates, ContextInfo context, TrackableRepository<Trackable> repository) <P> P
CrudEntityHelper.updateSort
(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, SortPositionStrategy<P> sortPositionStrategy) Apply a sort field value changeModifierConstructorDescriptionBaseCrudEntityService
(TrackableRepository<T> repository, CrudEntityHelper helper) BaseRsqlCrudEntityService
(TrackableRepository<T> repository, RsqlCrudEntityHelper helper) -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.sort
Modifier and TypeMethodDescriptionprotected void
DecimalSplitSortPositionStrategy.updateAfterPositionSort
(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, Sortable toUpdate, Sortable sortTransfer) Update when theSortPositionRequest.getPositionAfterContextId()
value is available.protected void
DecimalSplitSortPositionStrategy.updateBeforePositionSort
(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, Sortable toUpdate, Sortable sortTransfer) Update when theSortPositionRequest.getPositionBeforeContextId()
value is available.protected void
DecimalSplitSortPositionStrategy.updateFirstPositionSort
(ContextInfo context, TrackableRepository<Trackable> repository, Sortable domain, Sortable sortTransfer) Update when theSortPositionRequest.getPositionAfterContextId()
is missing, which indicates that the request is to move the entity to the first position in the sorting group.DecimalSplitSortPositionStrategy.updateSort
(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator, PropagationHelperUtility propagationHelperUtility) default P
SortPositionStrategy.updateSort
(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier) Deprecated.SortPositionStrategy.updateSort
(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator, PropagationHelperUtility propagationHelperUtility) Apply a sort field value change -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.tenant.repository
Modifier and TypeInterfaceDescriptioninterface
CommonApplicationRepository<D extends Trackable>
Repository agnostic interface for management ofTrackable
domain related toApplication
.interface
CommonCatalogRepository<D extends Trackable>
interface
Repository agnostic interface for management ofTrackable
domain related toMarketplaceApplicationCatalog
. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.transition
Modifier and TypeMethodDescriptionDefaultPropagationHandler.handleCreate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) protected Trackable
DefaultPropagationManager.handleCreate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) PropagationAware.handleCreate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleCreate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) DefaultPropagationHandler.handleDelete
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected Trackable
DefaultPropagationManager.handleDelete
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleDelete
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleDelete
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected Trackable
DefaultPropagationHandler.handlePropagation
(Trackable incoming, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository, boolean isDelete) DefaultPropagationHandler.handleUpdate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected Trackable
DefaultPropagationManager.handleUpdate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleUpdate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleUpdate
(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected void
DefaultPropagationHandler.notifyOfPersistence
(Trackable domain, TrackableRepository<Trackable> repository) Inform the system via a message of typePersistenceProducer.TYPE
that an entity has been persisted.void
DefaultPropagationManager.propagate
(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) void
PropagationManager.propagate
(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) Given a deployed catalog discriminated change, recurse through versions of the entity in child catalogs and transfer the deployed changes using the process defined implementations ofPropagationHandler
.protected void
DefaultPropagationManager.propagateThroughChildCatalogs
(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) Propagates the changes for each child catalog of the given parent catalog.ModifierConstructorDescriptionDefaultTransitionHandler
(TrackableRepository<Trackable> repository, WorkflowMapper mapper, CommonCatalogService<Catalog> commonCatalogService, com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository, Class<?> entityDomain, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, WorkflowRequestCompletionNotifier completionNotifier, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper serializationHelper, com.broadleafcommerce.common.extension.data.DataRouteReference routeReference, SingleIndexRequestMessageFactory factory) WorkflowTransitionHelper
(TrackableRepository<Trackable> repository, WorkflowMapper mapper, com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, WorkflowRequestCompletionNotifier completionNotifier, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper) WorkflowTransitionHelper
(TrackableRepository<Trackable> repository, WorkflowMapper mapper, CommonCatalogService<Catalog> catalogService, com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, WorkflowRequestCompletionNotifier completionNotifier, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper)
SortPositionStrategy.updateSort(SortPositionRequest, ContextInfo, DomainMapperManager, TrackableRepository, ChangeNotifier, PropagationIntegrator, PropagationHelperUtility)
instead to allow for instant propagation handling.