Uses of Interface
com.broadleafcommerce.data.tracking.core.Trackable
Package
Description
-
Uses of Trackable in com.broadleafcommerce.data.tracking.core
Modifier and TypeInterfaceDescriptioninterface
BaseTrackableRepository<D extends Trackable>
Establish a base Trackable repository interface that includes TrackableRsqlFilterExecutor as well.interface
TrackableRepository<D extends Trackable>
Special Spring DataRepository
version targeted specifically at maintaining persistence forTrackable
domain objects.interface
TrackableRsqlFilterExecutor<D extends Trackable>
Marker interface to indicate that aTrackableRepository
can also handle RSQL-based query methods.class
TransitionPackage<D extends Trackable>
Represents an item to advance or reverse in the sandbox approval flow.Modifier and TypeInterfaceDescriptioninterface
Defines a domain class type that supports tracking information (audit, sandbox and application).interface
Defines a domain class type that supports tracking information (audit, sandbox and catalog).interface
Defines a domain class type that supports tracking information (audit, sandbox and customer context).interface
Defines a domain class type that supports the expanded scope of tracking information (audit, sandbox, catalog, and application).interface
Defines a domain class type that supports tracking information (audit and sandbox).interface
Defines a domain class type that supports audit tracking only.interface
Allows setter generics for the entityTracking
implementation to directly reflect the concrete type of the Tracking instance variable.Modifier and TypeMethodDescription<D extends Trackable>
DBasicAuditUtility.touch
(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example) Set the update portion of aBasicAuditable
identified by the type and contextId, and then persist that change.<D extends Trackable>
DDefaultBasicAuditUtility.touch
(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example) Modifier and TypeMethodDescriptionboolean
DefaultTrackableBehaviorUtil.isSandboxRecord
(@NonNull Trackable domainInstance) boolean
TrackableBehaviorUtil.isSandboxRecord
(Trackable domainInstance) Determines whether the givenTrackable
is a record in a sandbox.<D extends Trackable>
DBasicAuditUtility.touch
(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example) Set the update portion of aBasicAuditable
identified by the type and contextId, and then persist that change.<D extends Trackable>
DDefaultBasicAuditUtility.touch
(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.autoconfigure
Modifier and TypeMethodDescriptionTenantSyncMessagingConfiguration.tenantPersistenceHandler
(CommonCatalogRepository<Trackable> catalogRepository, CommonApplicationRepository<Trackable> applicationRepository, DomainMapperManager trackingMapper, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<ApplicationDataRouteSupporting> applicationRoutes, List<CatalogDataRouteSupporting> catalogRoutes, org.springframework.core.env.Environment environment) TenantSyncMessagingConfiguration.tenantPersistenceHandler
(CommonCatalogRepository<Trackable> catalogRepository, CommonApplicationRepository<Trackable> applicationRepository, DomainMapperManager trackingMapper, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<ApplicationDataRouteSupporting> applicationRoutes, List<CatalogDataRouteSupporting> catalogRoutes, org.springframework.core.env.Environment environment) -
Uses of Trackable 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.Modifier and TypeMethodDescriptionvoid
CacheInvalidationNotificationImmediateSender.sendCacheInvalidation
(TrackableRepository<? extends Trackable> repository, Trackable entity) Send a remote cache invalidation message to all concerned microservices. -
Uses of Trackable 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 Trackable in com.broadleafcommerce.data.tracking.core.mapping
Modifier and TypeMethodDescriptionprotected <D extends Trackable>
List<ChangeDetail>ModelMapperDomainMapperMember.buildDetailsBefore
(D repositoryDomain, ContextInfo contextInfo, org.modelmapper.TypeMap<?, ?> repositoryTypeMap) protected <D extends Trackable>
booleanModelMapperDomainMapperMember.isCatalogOrSandboxTrackable
(D repositoryDomain) protected <D extends Trackable,
P>
booleanModelMapperDomainMapperMember.mapWithTracking
(D repositoryDomain, P modifications, ContextInfo contextInfo, org.modelmapper.ModelMapper mapper) During the mapping operation for properties between the payload and the domain, this will examine the before and after state and compileChangeDetail
instances to include in theTracking
state.protected <D extends Trackable>
booleanModelMapperDomainMapperMember.shouldBuildChangeDetails
(D repositoryDomain, ContextInfo contextInfo) Determine if dirty change details should be built for this domain.Modifier and TypeMethodDescriptionRejectMapResponse.getAdvancedState()
The resulting promotion sandbox state after anyChangeDetail
instances have been removed, and the entity state updated to reflect the removal.ForwardMapResponse.getForwardState()
The resulting sandbox stateRejectMapResponse.getUserState()
The resulting user sandbox state after the reject request.DefaultTrackableDomainMapperMemberSupport.handleDelete
(Trackable repositoryDomain, ContextInfo contextInfo) TrackableDomainMapperMemberSupport.handleDelete
(Trackable repositoryDomain, ContextInfo contextInfo) Perform a mapping operation that will either create a special delete sandbox state for a domain instance, or will archive an instance.DefaultWorkflowMapper.propagateMap
(Trackable original, Trackable target, boolean delete, String propagationId) WorkflowMapper.propagateMap
(Trackable original, Trackable target, boolean delete, String propagationId) Transfer state (viaChangeDetail
between an original item and a target item belonging to a parentCatalog
and a child Catalog, respectively.DefaultWorkflowMapper.rebaseMap
(Trackable original, Trackable target, WorkflowRebaseRequest request) WorkflowMapper.rebaseMap
(Trackable original, Trackable target, WorkflowRebaseRequest request) Update an original item withChangeDetail
state from a target that is missing in the original.DefaultWorkflowMapper.revertMap
(Trackable original, WorkflowRevertRequest request) WorkflowMapper.revertMap
(Trackable original, WorkflowRevertRequest request) Update an originalTrackingLevel.USER
level record to represent a reverted state.Modifier and TypeMethodDescriptionboolean
ChangeTransformer.applyChanges
(ChangeDetail detail, Trackable target, boolean reverse, boolean addDetail, boolean validateDetailVersion, String explicitVersion) Apply aChangeDetail
to a target entityboolean
DefaultChangeTransformer.applyChanges
(ChangeDetail detail, Trackable target, boolean reverse, boolean addDetail, boolean validateDetailVersion, String explicitVersion) Apply aChangeDetail
to a target entity.protected void
DefaultWorkflowMapper.applyChanges
(ChangeDetail detail, Trackable target, boolean reverse, boolean addDetail, boolean validateDetailVersion, String explicitVersion) Apply aChangeDetail
to a promotion target entityDefaultTrackableDomainMapperMemberSupport.buildChangeDetailBefore
(ContextInfo contextInfo, Trackable repositoryDomain, String propertyName, PropertyTypeInfo propertyTypeInfo, String businessPropertyName) TrackableDomainMapperMemberSupport.buildChangeDetailBefore
(ContextInfo contextInfo, Trackable repositoryDomain, String propertyName, PropertyTypeInfo propertyTypeInfo, String businessPropertyName) Construct aChangeDetail
instance that represents the value of soon-to-be dirty field before the mutating change is applied.ContextStateBuilder.buildContextState
(Trackable domain, ContextInfo contextInfo) BuildsContextState information
for aContextStateAware business instance
corresponding to the givenTrackable domain instance
that can be inspected for additional metadata around the entity in relation to the context of the requester.<P> void
DefaultTrackableDomainMapperMemberSupport.buildContextState
(Trackable domain, P business, ContextInfo contextInfo, org.modelmapper.ModelMapper fromMeMapper) <P> void
TrackableDomainMapperMemberSupport.buildContextState
(Trackable domain, P business, ContextInfo contextInfo, org.modelmapper.ModelMapper fromMeMapper) Add inContextState
information to the business domain that can be inspected for additional metadata around the entity in relation to the context of the requester.protected List<FieldChange>
ContextStateBuilder.buildContextStateFieldChanges
(Trackable domain) Builds a list ofFieldChanges
for theContextState
of aContextStateAware business instance
corresponding to a givenTrackable domain instance
.void
DefaultTrackableDomainMapperMemberSupport.buildTracking
(ContextInfo contextInfo, Trackable domainInstance, List<ChangeDetail> details) void
DefaultTrackableDomainMapperMemberSupport.buildTracking
(Trackable domainInstance, List<ChangeDetail> details) void
TrackableDomainMapperMemberSupport.buildTracking
(ContextInfo contextInfo, Trackable domainInstance, List<ChangeDetail> details) Compile theTracking
information for a new changevoid
TrackableDomainMapperMemberSupport.buildTracking
(Trackable domainInstance, List<ChangeDetail> details) Compile theTracking
information for a new change.protected void
DefaultWorkflowMapper.deployChange
(Trackable original, Trackable target, String propagationId, String version) Handle the advancement of changes (non-delete) from a starting object to a target object.protected void
DefaultWorkflowMapper.deployDelete
(Trackable original, Trackable target) Handle the advancement of a delete change from a starting object to a target object.DefaultWorkflowMapper.deployMap
(Trackable original, Trackable target, WorkflowDeployRequest request, String propagationId) WorkflowMapper.deployMap
(Trackable original, Trackable target, WorkflowDeployRequest request, String propagationId) Transfer state (viaChangeDetail
between an original item and the target production state.protected boolean
ContextStateBuilder.determineApplicationContextStateMutability
(Trackable domain, ContextInfo contextInfo) Determines whether the domain is mutable given the requesting context based on the application and tenancy state of the domain and context.protected Boolean
ContextStateBuilder.determineArchived
(Trackable domain) Determines theContextState.getArchived()
.protected Integer
ContextStateBuilder.determineContextStateLevel
(Trackable domain) Determines theContextState.getLevel()
.protected boolean
AlwaysMutableContextStateBuilder.determineContextStateMutability
(Trackable domain, ContextInfo contextInfo) protected boolean
ContextStateBuilder.determineContextStateMutability
(Trackable domain, ContextInfo contextInfo) Determines whether the domain is mutable given the requesting context.protected boolean
ContextStateBuilder.determinePolicyContextStateMutability
(Trackable domain, ContextInfo contextInfo) Determines whether the domain is mutable given the requesting context based on permissions and policy validation.protected String
ContextStateBuilder.determineSandboxChangeType
(Trackable domain) Returns thetracking's object's
sandbox change type.DefaultTrackableDomainMapperMemberSupport.handleDelete
(Trackable repositoryDomain, ContextInfo contextInfo) TrackableDomainMapperMemberSupport.handleDelete
(Trackable repositoryDomain, ContextInfo contextInfo) Perform a mapping operation that will either create a special delete sandbox state for a domain instance, or will archive an instance.boolean
DefaultTrackableDomainMapperMemberSupport.isMappingResetRequired
(Trackable domainInstance, ContextInfo contextInfo) boolean
TrackableDomainMapperMemberSupport.isMappingResetRequired
(Trackable domainInstance, ContextInfo contextInfo) Whether or not the id will be reset during modify or delete mapping.protected void
DefaultWorkflowMapper.promoteChange
(Trackable original, Trackable target, String promotionId) Handle the advancement of changes (non-delete) from a starting object to a target object based on matching promotion id.protected void
DefaultWorkflowMapper.promoteDelete
(Trackable original, Trackable target, String promotionId) Handle the advancement of a delete change from a starting object to a target object based on matching promotion id.DefaultWorkflowMapper.promoteMap
(Trackable original, Trackable target, WorkflowPromoteRequest request) WorkflowMapper.promoteMap
(Trackable original, Trackable target, WorkflowPromoteRequest request) Transfer state (viaChangeDetail
between an original item and a target item.DefaultWorkflowMapper.propagateMap
(Trackable original, Trackable target, boolean delete, String propagationId) WorkflowMapper.propagateMap
(Trackable original, Trackable target, boolean delete, String propagationId) Transfer state (viaChangeDetail
between an original item and a target item belonging to a parentCatalog
and a child Catalog, respectively.DefaultWorkflowMapper.rebaseMap
(Trackable original, Trackable target, WorkflowRebaseRequest request) WorkflowMapper.rebaseMap
(Trackable original, Trackable target, WorkflowRebaseRequest request) Update an original item withChangeDetail
state from a target that is missing in the original.DefaultWorkflowMapper.rejectMap
(Trackable original, Trackable target, WorkflowRejectRequest request) WorkflowMapper.rejectMap
(Trackable promotedState, Trackable target, WorkflowRejectRequest request) Transfer state (viaChangeDetail
between a promoted sandbox state item to a new user state item.DefaultWorkflowMapper.revertMap
(Trackable original, WorkflowRevertRequest request) WorkflowMapper.revertMap
(Trackable original, WorkflowRevertRequest request) Update an originalTrackingLevel.USER
level record to represent a reverted state.void
RejectMapResponse.setAdvancedState
(Trackable advancedState) The resulting promotion sandbox state after anyChangeDetail
instances have been removed, and the entity state updated to reflect the removal.protected void
ContextStateBuilder.setApplicationInfo
(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior) protected void
ContextStateBuilder.setCatalogInfo
(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior) void
ContextStateBuilder.setChangeStateForEmbeddedCollections
(Trackable domain, ContextStateAware businessItem, org.modelmapper.ModelMapper fromMeMapper) Sets theEmbeddedContextState
on a businessItem's embedded collections where the member items areEmbeddedContextStateAware
.protected void
ContextStateBuilder.setContextStateTrackingInfo
(Trackable domain, ContextState contextState) Adds additional info to aContextState
being built for aContextStateAware business instance
corresponding to a givenTrackable domain instance
.protected void
ContextStateBuilder.setCustomerContext
(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior) protected void
ContextStateBuilder.setTenant
(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior) protected boolean
DefaultTrackableDomainMapperMemberSupport.shouldBuildNotificationState
(Trackable entity, String eventType) Determines if a notification state should be created for the supplied entity.protected void
DefaultTrackableDomainMapperMemberSupport.updateChangeSummaryState
(Trackable entity, Tracking tracking) protected void
DefaultTrackableDomainMapperMemberSupport.updatePersistenceMessageState
(Trackable entity, Tracking tracking) RejectMapResponse.withAdvancedState
(Trackable advancedState) ModifierConstructorDescriptionForwardMapResponse
(Trackable forwardState) RejectMapResponse
(Trackable userState) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.marketplace.service
Modifier and TypeMethodDescriptionDefaultCommonMarketplaceApplicationCatalogService.getRepository()
ModifierConstructorDescriptionDefaultCommonMarketplaceApplicationCatalogService
(CommonMarketplaceApplicationCatalogRepository<Trackable> repository, CrudEntityHelper helper) -
Uses of Trackable 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
ChangeSummaryMessageFactory.buildIndexableInformation
(Object entity, Trackable domain, ChangeEvent changeEvent) AssignChangeEvent.getIndexableTargetId()
andChangeEvent.getIndexableType()
, if single index request messaging is supported for the entity and state.protected boolean
ChangeDetailPruningPersistenceMessageAckedHandler.isProductionLevel
(Trackable trackable) protected boolean
ChangeDetailPruningPersistenceMessageAckedHandler.isSandboxableEntity
(Trackable trackable, TrackableBehaviorUtil trackableBehaviorUtil) protected void
ChangeSummaryMessageFactory.setVendorRefIfApplicable
(Trackable entity, ChangeEvent changeEvent) If vendor processing is enabled, this will determine the vendor theentity
is associated to, and set that information on theChangeEvent.getVendorRef()
.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 Trackable 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) TransitionListenerAutoConfiguration.vendorSandboxPropagationHandler
(CommonCatalogService<? extends Catalog> catalogService, CommonApplicationService<? extends Application> applicationService, DomainMapperManager mapperManager, CrudEntityHelper helper, SandboxPropagationProperties propagationProperties, org.modelmapper.ModelMapper modelMapper, List<ChangeTransformer> changeTransformers, TrackableDomainMapperMemberSupport domainMapperMemberSupport, WorkflowMapper workflowMapper, CommonMarketplaceApplicationCatalogRepository<Trackable> applicationCatalogRepository) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.policy.trackable
Modifier and TypeMethodDescriptionprotected PolicyResponse
DefaultTrackablePolicyUtils.validateApplicationCatalogUpdate
(@NonNull Trackable entity, @NonNull Application application) If a catalog discriminated entity, validate that the current user is capable of updating an entity via the catalogs visible to the current application.protected PolicyResponse
DefaultTrackablePolicyUtils.validateApplicationUpdate
(@NonNull Trackable entity, @NonNull Application application) If an application discriminated entity, validate that the current user is capable of updating an entity via the application requested in the context.DefaultTrackablePolicyUtils.validateDelete
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) TrackablePolicyUtils.validateDelete
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) Validate that before deleting (if the catalog discrimination is in play) that the item's catalog is both visible to the current application, and mutable.protected PolicyResponse
DefaultTrackablePolicyUtils.validateEntityOperation
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy, OperationType operationType) protected PolicyResponse
DefaultTrackablePolicyUtils.validateEntityUpdate
(Trackable entity, @NonNull ContextInfo contextInfo) Check update validity for a given entity instanceprotected PolicyResponse
DefaultTrackablePolicyUtils.validateEntityUpdateForTenantFactors
(Trackable entity, Application application, String tenantId, TrackableBehaviorPackage behavior) protected PolicyResponse
DefaultTrackablePolicyUtils.validateGlobalMutateToInheritedCatalog
(Trackable entity, ContextInfo contextInfo) protected PolicyResponse
DefaultTrackablePolicyUtils.validateGlobalUpdateToHiddenCatalog
(Trackable entity) DefaultTrackablePolicyUtils.validateInsert
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) TrackablePolicyUtils.validateInsert
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) Validate that before inserting (if catalog discrimination is in play and the current entity is catalog discriminatable) that the current catalog target for insertion is mutable.protected boolean
DefaultTrackablePolicyUtils.validateTenantTrackableUpdate
(Trackable entity, Application application, TrackableBehaviorPackage behavior) protected PolicyResponse
DefaultTrackablePolicyUtils.validateTenantUpdate
(@NonNull Trackable entity, String tenantId) DefaultTrackablePolicyUtils.validateUpdate
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) TrackablePolicyUtils.validateUpdate
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) Validate that before updating (if the catalog discrimination is in play) that the item's catalog is both visible to the current application, and mutable. -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor
Modifier and TypeMethodDescriptionprotected PolicyResponse
VendorAwareTrackablePolicyUtils.validateEntityMutableByCurrentVendorRestrictions
(Trackable entity, ContextInfo contextInfo, String[] requiredPermissionRoots, PermissionMatchingStrategy permissionMatchingStrategy, OperationType operationType) Checks whether the givenentity
being mutated is actually mutable given the current authentication's vendor privileges and provided policy requirements.protected PolicyResponse
VendorAwareTrackablePolicyUtils.validateEntityOperation
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy, OperationType operationType) This is the method used byDefaultTrackablePolicyUtils.validateUpdate(Trackable, ContextInfo, String[], PermissionMatchingStrategy)
andDefaultTrackablePolicyUtils.validateDelete(Trackable, ContextInfo, String[], PermissionMatchingStrategy)
to validate an entity can be updated/deleted by the current authentication, so it is overridden here to add consideration for vendor restrictions.VendorAwareTrackablePolicyUtils.validateInsert
(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy) OverridesDefaultTrackablePolicyUtils.validateInsert(Trackable, ContextInfo, String[], PermissionMatchingStrategy)
to add behavior that checks whether the entity can be inserted by the current authentication's vendor restrictions. -
Uses of Trackable 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.<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>>
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>>
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>>
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.<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 <P> Trackable
CrudEntityHelper.applyReplace
(String entityToReplaceId, P replacement, Map<String, Trackable> foundEntitiesByContextId, List<BulkPersistenceResponse.PersistenceFailure<P>> failures, ContextInfo contextInfo) protected Trackable
BaseCrudEntityService.convertToPersistentDomain
(P businessInstance, Class<Trackable> persistentType, ContextInfo contextInfo) <P> Trackable
CrudEntityHelper.convertToPersistentDomain
(P businessInstance, Class<Trackable> persistentType, ContextInfo context) Convenience method to use theCrudEntityHelper.mapper
to convert a business domain instance to its persistent equivalent.MutationNotifyEvent.getDomain()
NotificationInitializeEvent.getDomain()
Modifier and TypeMethodDescriptionprotected <P> org.springframework.data.util.Pair<P,
Trackable> CrudEntityHelper.applyUpdate
(String entityToUpdateId, P change, Map<String, Trackable> foundEntitiesByContextId, List<BulkPersistenceResponse.PersistenceFailure<P>> failures, ContextInfo contextInfo) protected TrackableRepository<Trackable>
BaseCrudEntityService.getRepository()
Modifier and TypeMethodDescriptionprotected P
BaseCrudEntityService.convertFromPersistentDomain
(Trackable domain, ContextInfo contextInfo) <P> P
CrudEntityHelper.convertFromPersistentDomain
(Trackable domain, ContextInfo contextInfo) Convenience method to use theCrudEntityHelper.mapper
to convert a persistent domain instance to its business equivalent.void
ChangeNotifier.notify
(Trackable domain, ContextInfo context, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository) Notify the async message fabric of the changevoid
CrudEntityHelper.notify
(Trackable domain, ContextInfo context, @NonNull com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository) Notify the system of the change.CrudEntityHelper.prepare
(Trackable updated, ContextInfo context, @NonNull OperationType operationType) PropagationIntegrator.prepare
(Trackable domain, ContextInfo context, OperationType operationType) Prepare aTrackable
entity for propagation, if applicable.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.void
Sync catalog change information to one or more instances of<D>
Modifier and TypeMethodDescriptionprotected <P> Trackable
CrudEntityHelper.applyReplace
(String entityToReplaceId, P replacement, Map<String, Trackable> foundEntitiesByContextId, List<BulkPersistenceResponse.PersistenceFailure<P>> failures, ContextInfo contextInfo) protected <P> org.springframework.data.util.Pair<P,
Trackable> CrudEntityHelper.applyUpdate
(String entityToUpdateId, P change, Map<String, Trackable> foundEntitiesByContextId, List<BulkPersistenceResponse.PersistenceFailure<P>> failures, ContextInfo contextInfo) <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.protected Trackable
BaseCrudEntityService.convertToPersistentDomain
(P businessInstance, Class<Trackable> persistentType, ContextInfo contextInfo) <P> Trackable
CrudEntityHelper.convertToPersistentDomain
(P businessInstance, Class<Trackable> persistentType, ContextInfo context) Convenience method to use theCrudEntityHelper.mapper
to convert a business domain instance to its persistent equivalent.<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) void
Sync catalog change information to one or more instances of<D>
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 changeprotected <P> void
CrudEntityHelper.validateAllForUpdate
(List<org.springframework.data.util.Pair<P, Trackable>> businessInstancesToValidate, ContextInfo contextInfo, List<org.springframework.data.util.Pair<P, Trackable>> valid, List<BulkPersistenceResponse.PersistenceFailure<P>> failed) Validates the business instance within each pair for update.ModifierConstructorDescriptionMutationNotifyEvent
(Object source, Trackable domain, ContextInfo context, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository) NotificationInitializeEvent
(Object source, Trackable domain, ContextInfo context, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository) -
Uses of Trackable 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) 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) Apply a sort field value change -
Uses of Trackable 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
.interface
CustomizedCommonApplicationRepository<D extends Trackable>
Advanced functionality related to catalog maintenance and maintenance of application discriminated entities.Modifier and TypeMethodDescription<D extends Trackable>
DCustomizedCommonCatalogRepository.readApplicationOwnedInheritedCatalog
(String startingCatalogId, String applicationId) Find any application owned catalog that inherits from the starting catalog based on the requested application.<D extends Trackable>
voidCustomizedCommonCatalogRepository.updateAllChildRelatedEntitiesOfType
(String contextId, Map<String, Object> updateValues, Class<D> type) Given a catalogcontextId
, update all entity instances of the domaintype
whose related catalog has its parent catalog set to the givencontextId
.<D extends Trackable>
voidCustomizedCommonCatalogRepository.updateAllRelatedEntitiesOfType
(String contextId, Map<String, Object> updateValues, Class<D> type) Given a catalogcontextId
, update all entity instances of the domaintype
belonging to the catalog to have the updated values. -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.tenant.service
Modifier and TypeMethodDescriptionApplicationChangedEvent.getApplication()
The application that was modifiedCatalogChangedEvent.getCatalog()
The catalog that was modifiedprotected Trackable
TenantPersistenceHandler.hydrateFromJson
(com.fasterxml.jackson.databind.JsonNode entityJson, Class<?> domainType, com.fasterxml.jackson.databind.ObjectMapper mapper) Create a repository-specific entity instance given a JSON representation.Modifier and TypeMethodDescriptionvoid
protected void
TenantPersistenceHandler.updateCache
(Trackable existingInstance) Update Spring CacheManager to groom caches related to this entity persistenceModifier and TypeMethodDescriptionvoid
TenantPersistenceHandler.setApplicationCatalogRepository
(CommonMarketplaceApplicationCatalogRepository<Trackable> applicationCatalogRepository) void
ModifierConstructorDescriptionApplicationChangedEvent
(Object source, Trackable application, OperationType operation) CatalogChangedEvent
(Object source, Trackable catalog, OperationType operation) ModifierConstructorDescriptionDefaultCommonApplicationService
(CommonApplicationRepository<Trackable> repository, CrudEntityHelper helper) DefaultCommonCatalogService
(CommonCatalogRepository<Trackable> repository, CrudEntityHelper helper, com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager) TenantPersistenceHandler
(CommonCatalogRepository<Trackable> catalogRepository, CommonApplicationRepository<Trackable> applicationRepository, DomainMapperManager trackingMapper, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<ApplicationDataRouteSupporting> applicationRoutes, List<CatalogDataRouteSupporting> catalogRoutes, org.springframework.core.env.Environment environment) TenantPersistenceHandler
(CommonCatalogRepository<Trackable> catalogRepository, CommonApplicationRepository<Trackable> applicationRepository, DomainMapperManager trackingMapper, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, List<ApplicationDataRouteSupporting> applicationRoutes, List<CatalogDataRouteSupporting> catalogRoutes, org.springframework.core.env.Environment environment) -
Uses of Trackable 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) Modifier and TypeMethodDescriptionprotected void
WorkflowTransitionHelper.applyDeployment
(WorkflowDeployRequest request, Trackable target, Trackable original) Apply changes from an "original" entity to a target production entity (if any).protected void
WorkflowTransitionHelper.applyPromotion
(WorkflowPromoteRequest request, Trackable target, Trackable original) Apply changes from an "original" entity to a target sandbox entity (if any).protected void
WorkflowTransitionHelper.applyReject
(WorkflowRejectRequest request, Trackable target, Trackable original) Apply one or more changes related to a promotion from an "original" entity to a target user sandbox entity (if any).boolean
DefaultPropagationHandler.canHandle
(Trackable incoming, String incomingCatalog, String parentCatalog, Trackable candidate, OperationType changeType) boolean
PropagationHandler.canHandle
(Trackable incoming, String incomingCatalog, String parentCatalog, Trackable candidate, OperationType changeType) Is this handler capable of handling the propagation process given the contextual information.boolean
VendorSandboxPropagationHandler.canHandle
(Trackable incoming, String incomingCatalog, String parentCatalog, Trackable candidate, OperationType changeType) protected TempOverrideMapResponse
WorkflowTransitionHelper.evaluateForTemporaryOverride
(WorkflowDeployRequest request, Trackable target, Trackable original) In the case where a change was propagated after deployment viaVendorSandboxPropagationHandler
, temporary override state for an application can be created.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) 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) protected void
WorkflowTransitionHelper.handleTransitionFailure
(TransitionRequest request, Trackable original, Exception e) Handle failure of a transition request and notify the messaging system of the failureDefaultPropagationHandler.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
WorkflowTransitionHelper.notifyOfCompletion
(Trackable domain) Inform the system via a message of typeWorkflowRequestCompletionProducer.TYPE
that transition processing is complete.protected void
DefaultPropagationHandler.notifyOfPersistence
(Trackable domain, TrackableRepository<Trackable> repository) Inform the system via a message of typePersistenceProducer.TYPE
that an entity has been persisted.protected void
WorkflowTransitionHelper.notifyOfPersistence
(Trackable domain) 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
WorkflowTransitionHelper.propagate
(Trackable deployed, String parentCatalog, boolean isDelete, String propagationId) Deprecated.Only supportsDefaultPropagationHandler
.protected void
WorkflowTransitionHelper.propagate
(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId) 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
WorkflowTransitionHelper.updateCompletionState
(Trackable originalTrackable, Tracking advancedTracking, TransitionRequest transitionRequest, boolean success, Exception e) Setup the initialNotificationState
on aTrackable
entity in regard to the sending status of theWorkflowRequestCompletionProducer.TYPE
message for transition completion.protected void
DefaultPropagationHandler.updatePersistenceState
(Trackable trackable) Setup the initialNotificationState
on aTrackable
entity in regard to the sending status of thePersistenceProducer.TYPE
message for a persistence event.protected void
WorkflowTransitionHelper.updatePersistenceState
(Trackable trackable) Setup the initialNotificationState
on aTrackable
entity in regard to the sending status of thePersistenceProducer.TYPE
message for a persistence event.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
.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) VendorSandboxPropagationHandler
(CommonCatalogService<? extends Catalog> catalogService, CommonApplicationService<? extends Application> applicationService, DomainMapperManager mapperManager, CrudEntityHelper helper, SandboxPropagationProperties propagationProperties, org.modelmapper.ModelMapper cloneMapper, List<ChangeTransformer> changeTransformers, TrackableDomainMapperMemberSupport domainMapperMemberSupport, WorkflowMapper workflowMapper, CommonMarketplaceApplicationCatalogRepository<Trackable> applicationCatalogRepository) 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)
instead to allow for instant propagation handling.