Uses of Interface
com.broadleafcommerce.data.tracking.core.TrackableRepository
-
-
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core
Subinterfaces of TrackableRepository in com.broadleafcommerce.data.tracking.core Modifier and Type Interface Description interface
BaseTrackableRepository<D extends Trackable>
Establish a base Trackable repository interface that includes TrackableRsqlFilterExecutor as well. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.filtering.fetch
Methods in com.broadleafcommerce.data.tracking.core.filtering.fetch with parameters of type TrackableRepository Modifier and Type Method Description static 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
Methods in com.broadleafcommerce.data.tracking.core.messaging that return types with arguments of type TrackableRepository Modifier and Type Method Description protected List<TrackableRepository<Trackable>>
PruneRestingNotificationStatesHandler. getTrackableRepositories()
protected List<TrackableRepository<Trackable>>
PurgeObsoleteSandboxDataHandler. getTrackableRepositories()
Methods in com.broadleafcommerce.data.tracking.core.messaging with parameters of type TrackableRepository Modifier and Type Method Description protected void
ChangeDetailPruningPersistenceMessageAckedHandler. pruneChangeDetails(Object nativeEntityId, TrackableRepository<Trackable> repository)
Constructor parameters in com.broadleafcommerce.data.tracking.core.messaging with type arguments of type TrackableRepository Constructor Description PruneRestingNotificationStatesHandler(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties)
PurgeObsoleteSandboxDataHandler(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties)
-
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.messaging.autoconfigure
Method parameters in com.broadleafcommerce.data.tracking.core.messaging.autoconfigure with type arguments of type TrackableRepository Modifier and Type Method Description PruneRestingNotificationStatesHandler
PruneRestingNotificationStatesAutoConfiguration. pruneRestingNotificationStatesHandler(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties)
PurgeObsoleteSandboxDataHandler
PurgeObsoleteSandboxDataAutoConfiguration. purgeObsoleteSandboxDataHandler(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties)
-
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.service
Methods in com.broadleafcommerce.data.tracking.core.service with type parameters of type TrackableRepository Modifier and Type Method Description <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.Methods in com.broadleafcommerce.data.tracking.core.service that return TrackableRepository Modifier and Type Method Description protected TrackableRepository<Trackable>
BaseCrudEntityService. getRepository()
Methods in com.broadleafcommerce.data.tracking.core.service with parameters of type TrackableRepository Modifier and Type Method Description <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 relavant 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)
void
PropagationIntegrator. propagateIfApplicable(Trackable domain, ContextInfo context, OperationType operationType, TrackableRepository<Trackable> repository, String propagationId)
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 changeConstructors in com.broadleafcommerce.data.tracking.core.service with parameters of type TrackableRepository Constructor Description BaseCrudEntityService(TrackableRepository<T> repository, CrudEntityHelper helper)
BaseRsqlCrudEntityService(TrackableRepository<T> repository, RsqlCrudEntityHelper helper)
-
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.sort
Methods in com.broadleafcommerce.data.tracking.core.sort with parameters of type TrackableRepository Modifier and Type Method Description protected 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.P
DecimalSplitSortPositionStrategy. updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator)
default P
SortPositionStrategy. updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier)
Deprecated.UseSortPositionStrategy.updateSort(SortPositionRequest, ContextInfo, DomainMapperManager, TrackableRepository, ChangeNotifier, PropagationIntegrator)
instead to allow for instant propagation handling.P
SortPositionStrategy. updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator)
Apply a sort field value change -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.tenant.repository
Subinterfaces of TrackableRepository in com.broadleafcommerce.data.tracking.core.tenant.repository Modifier and Type Interface Description interface
CommonApplicationRepository<D extends Trackable>
Repository agnostic interface for management ofTrackable
domain related toApplication
.interface
CommonCatalogRepository<D extends Trackable>
interface
CommonMarketplaceApplicationCatalogRepository<D extends Trackable>
Repository agnostic interface for management ofTrackable
domain related toMarketplaceApplicationCatalog
. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.transition
Methods in com.broadleafcommerce.data.tracking.core.transition with parameters of type TrackableRepository Modifier and Type Method Description Trackable
DefaultPropagationHandler. 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)
Trackable
PropagationAware. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)
Trackable
VendorSandboxPropagationHandler. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)
Trackable
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)
Trackable
PropagationAware. handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)
Trackable
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)
Trackable
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)
Trackable
PropagationAware. handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)
Trackable
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
.Constructors in com.broadleafcommerce.data.tracking.core.transition with parameters of type TrackableRepository Constructor Description DefaultTransitionHandler(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)
-