Uses of Interface
com.broadleafcommerce.data.tracking.core.TrackableRepository
Packages that use TrackableRepository
Package
Description
-
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core
Subinterfaces of TrackableRepository in com.broadleafcommerce.data.tracking.coreModifier and TypeInterfaceDescriptioninterfaceBaseTrackableRepository<D extends Trackable>Establish a base Trackable repository interface that includes TrackableRsqlFilterExecutor as well. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.cache
Methods in com.broadleafcommerce.data.tracking.core.cache with parameters of type TrackableRepositoryModifier and TypeMethodDescriptionvoidCacheInvalidationNotificationImmediateSender.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
Methods in com.broadleafcommerce.data.tracking.core.filtering.fetch with parameters of type TrackableRepositoryModifier and TypeMethodDescriptionstatic cz.jirutka.rsql.parser.ast.NodeFilterHelper.transform(cz.jirutka.rsql.parser.ast.Node filters, TrackableRepository<Trackable> repository, List<RsqlQueryTransformer> rsqlQueryTransformers) Transformsfiltersfrom 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 TrackableRepositoryModifier and TypeMethodDescriptionprotected List<TrackableRepository<Trackable>>PruneRestingNotificationStatesHandler.getTrackableRepositories()protected List<TrackableRepository<Trackable>>PurgeObsoleteSandboxDataHandler.getTrackableRepositories()Methods in com.broadleafcommerce.data.tracking.core.messaging with parameters of type TrackableRepositoryModifier and TypeMethodDescriptionprotected voidChangeDetailPruningPersistenceMessageAckedHandler.pruneChangeDetails(Object nativeEntityId, TrackableRepository<Trackable> repository) Constructor parameters in com.broadleafcommerce.data.tracking.core.messaging with type arguments of type TrackableRepositoryModifierConstructorDescriptionPruneRestingNotificationStatesHandler(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 TrackableRepositoryModifier 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
Methods in com.broadleafcommerce.data.tracking.core.service with type parameters of type TrackableRepositoryModifier 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 bothTrackableRepositoryandTrackableRsqlFilterExecutor, 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 TrackableRepositoryModifier and TypeMethodDescriptionprotected TrackableRepository<Trackable>BaseCrudEntityService.getRepository()Methods in com.broadleafcommerce.data.tracking.core.service with parameters of type TrackableRepositoryModifier 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 bothTrackableRepositoryandTrackableRsqlFilterExecutor, this method provides a convenient way to handle that casting.<P> PCrudEntityHelper.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) voidCrudEntityHelper.delete(String id, ContextInfo context, TrackableRepository<Trackable> repository) Perform a delete operation on the entity identified by the context id.voidCrudEntityHelper.propagateIfApplicable(Trackable updated, ContextInfo context, @NonNull OperationType operationType, @NonNull TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) voidPropagationIntegrator.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> PCrudEntityHelper.readByContextId(String id, ContextInfo context, TrackableRepository<Trackable> repository) Read a single instance of an entity in the form of a business domain.<P> PCrudEntityHelper.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.SortCrudEntityHelper.transform(org.springframework.data.domain.Sort sort, TrackableRepository<Trackable> repository) Transforms the givensortfrom properties targeting the projection layer into aSortthat targets properties at the domain layercz.jirutka.rsql.parser.ast.NodeRsqlCrudEntityHelper.transform(cz.jirutka.rsql.parser.ast.Node filters, TrackableRepository<Trackable> repository) Transformsfiltersfrom properties that target a projection into ones that apply to a backing repository provider domain objectorg.springframework.data.domain.PageableCrudEntityHelper.transformSort(org.springframework.data.domain.Pageable pageable, TrackableRepository<Trackable> repository) Transforms the sort inside of aPageable(if applicable).<P> PCrudEntityHelper.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> PCrudEntityHelper.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 TrackableRepositoryModifierConstructorDescriptionBaseCrudEntityService(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 TrackableRepositoryModifier and TypeMethodDescriptionprotected voidDecimalSplitSortPositionStrategy.updateAfterPositionSort(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, Sortable toUpdate, Sortable sortTransfer) Update when theSortPositionRequest.getPositionAfterContextId()value is available.protected voidDecimalSplitSortPositionStrategy.updateBeforePositionSort(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, Sortable toUpdate, Sortable sortTransfer) Update when theSortPositionRequest.getPositionBeforeContextId()value is available.protected voidDecimalSplitSortPositionStrategy.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 PSortPositionStrategy.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
Subinterfaces of TrackableRepository in com.broadleafcommerce.data.tracking.core.tenant.repositoryModifier and TypeInterfaceDescriptioninterfaceCommonApplicationRepository<D extends Trackable>Repository agnostic interface for management ofTrackabledomain related toApplication.interfaceCommonCatalogRepository<D extends Trackable>interfaceRepository agnostic interface for management ofTrackabledomain related toMarketplaceApplicationCatalog. -
Uses of TrackableRepository in com.broadleafcommerce.data.tracking.core.transition
Methods in com.broadleafcommerce.data.tracking.core.transition with parameters of type TrackableRepositoryModifier and TypeMethodDescriptionDefaultPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.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 TrackableDefaultPropagationManager.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 TrackableDefaultPropagationHandler.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 TrackableDefaultPropagationManager.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 voidDefaultPropagationHandler.notifyOfPersistence(Trackable domain, TrackableRepository<Trackable> repository) Inform the system via a message of typePersistenceProducer.TYPEthat an entity has been persisted.voidDefaultPropagationManager.propagate(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) voidPropagationManager.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 voidDefaultPropagationManager.propagateThroughChildCatalogs(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) Propagates the changes for each child catalog of the given parent catalog.Constructors in com.broadleafcommerce.data.tracking.core.transition with parameters of type TrackableRepositoryModifierConstructorDescriptionDefaultTransitionHandler(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.