Uses of Interface
com.broadleafcommerce.data.tracking.core.Trackable
-
-
Uses of Trackable in com.broadleafcommerce.data.tracking.core
Classes in com.broadleafcommerce.data.tracking.core with type parameters of type Trackable Modifier and Type Interface Description interfaceBaseTrackableRepository<D extends Trackable>Establish a base Trackable repository interface that includes TrackableRsqlFilterExecutor as well.interfaceTrackableRepository<D extends Trackable>Special Spring DataRepositoryversion targeted specifically at maintaining persistence forTrackabledomain objects.interfaceTrackableRsqlFilterExecutor<D extends Trackable>Marker interface to indicate that aTrackableRepositorycan also handle RSQL-based query methods.classTransitionPackage<D extends Trackable>Represents an item to advance or reverse in the sandbox approval flow.Subinterfaces of Trackable in com.broadleafcommerce.data.tracking.core Modifier and Type Interface Description interfaceApplicationTrackable<D>Defines a domain class type that supports tracking information (audit, sandbox and application).interfaceCatalogTrackable<D>Defines a domain class type that supports tracking information (audit, sandbox and catalog).interfaceCustomerContextTrackable<D>Defines a domain class type that supports tracking information (audit, sandbox and customer context).interfaceFullTrackable<D>Defines a domain class type that supports the expanded scope of tracking information (audit, sandbox, catalog, and application).interfaceSandboxTrackable<D>Defines a domain class type that supports tracking information (audit and sandbox).interfaceTenantTrackable<D>Defines a domain class type that supports audit tracking only.interfaceTypedTrackable<D>Allows setter generics for the entityTrackingimplementation to directly reflect the concrete type of the Tracking instance variable.Methods in com.broadleafcommerce.data.tracking.core with type parameters of type Trackable Modifier and Type Method Description <D extends Trackable>
DBasicAuditUtility. touch(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example)Set the update portion of aBasicAuditableidentified by the type and contextId, and then persist that change.<D extends Trackable>
DDefaultBasicAuditUtility. touch(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example)Methods in com.broadleafcommerce.data.tracking.core with parameters of type Trackable Modifier and Type Method Description booleanDefaultTrackableBehaviorUtil. isSandboxRecord(@NonNull Trackable domainInstance)booleanTrackableBehaviorUtil. isSandboxRecord(Trackable domainInstance)Determines whether the givenTrackableis a record in a sandbox.<D extends Trackable>
DBasicAuditUtility. touch(ContextInfo contextInfo, String contextId, Class<D> repositoryEntityType, Trackable example)Set the update portion of aBasicAuditableidentified 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
Method parameters in com.broadleafcommerce.data.tracking.core.autoconfigure with type arguments of type Trackable Modifier and Type Method Description TenantPersistenceHandlerTenantSyncMessagingConfiguration. 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)TenantPersistenceHandlerTenantSyncMessagingConfiguration. 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
Methods in com.broadleafcommerce.data.tracking.core.cache with parameters of type Trackable Modifier and Type Method Description voidCacheInvalidationNotificationImmediateSender. sendCacheInvalidation(TrackableRepository<? extends Trackable> repository, Trackable entity)Send a remote cache invalidation message to all concerned microservices.Method parameters in com.broadleafcommerce.data.tracking.core.cache with type arguments of type Trackable Modifier and Type Method Description voidCacheInvalidationNotificationImmediateSender. 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
Method parameters in com.broadleafcommerce.data.tracking.core.filtering.fetch with type arguments of type Trackable Modifier and Type Method Description static 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 Trackable in com.broadleafcommerce.data.tracking.core.mapping
Methods in com.broadleafcommerce.data.tracking.core.mapping with type parameters of type Trackable Modifier and Type Method Description protected <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 compileChangeDetailinstances to include in theTrackingstate.protected <D extends Trackable>
booleanModelMapperDomainMapperMember. shouldBuildChangeDetails(D repositoryDomain, ContextInfo contextInfo)Determine if dirty change details should be built for this domain.Methods in com.broadleafcommerce.data.tracking.core.mapping that return Trackable Modifier and Type Method Description TrackableRejectMapResponse. getAdvancedState()The resulting promotion sandbox state after anyChangeDetailinstances have been removed, and the entity state updated to reflect the removal.TrackableForwardMapResponse. getForwardState()The resulting sandbox stateTrackableRejectMapResponse. getUserState()The resulting user sandbox state after the reject request.TrackableDefaultTrackableDomainMapperMemberSupport. handleDelete(Trackable repositoryDomain, ContextInfo contextInfo)TrackableTrackableDomainMapperMemberSupport. 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.TrackableDefaultWorkflowMapper. propagateMap(Trackable original, Trackable target, boolean delete, String propagationId)TrackableWorkflowMapper. propagateMap(Trackable original, Trackable target, boolean delete, String propagationId)Transfer state (viaChangeDetailbetween an original item and a target item belonging to a parentCatalogand a child Catalog, respectively.TrackableDefaultWorkflowMapper. rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request)TrackableWorkflowMapper. rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request)Update an original item withChangeDetailstate from a target that is missing in the original.TrackableDefaultWorkflowMapper. revertMap(Trackable original, WorkflowRevertRequest request)TrackableWorkflowMapper. revertMap(Trackable original, WorkflowRevertRequest request)Update an originalTrackingLevel.USERlevel record to represent a reverted state.Methods in com.broadleafcommerce.data.tracking.core.mapping with parameters of type Trackable Modifier and Type Method Description booleanChangeTransformer. applyChanges(ChangeDetail detail, Trackable target, boolean reverse, boolean addDetail, boolean validateDetailVersion, String explicitVersion)Apply aChangeDetailto a target entitybooleanDefaultChangeTransformer. applyChanges(ChangeDetail detail, Trackable target, boolean reverse, boolean addDetail, boolean validateDetailVersion, String explicitVersion)Apply aChangeDetailto a target entity.protected voidDefaultWorkflowMapper. applyChanges(ChangeDetail detail, Trackable target, boolean reverse, boolean addDetail, boolean validateDetailVersion, String explicitVersion)Apply aChangeDetailto a promotion target entityChangeDetailDefaultTrackableDomainMapperMemberSupport. buildChangeDetailBefore(ContextInfo contextInfo, Trackable repositoryDomain, String propertyName, PropertyTypeInfo propertyTypeInfo, String businessPropertyName)ChangeDetailTrackableDomainMapperMemberSupport. buildChangeDetailBefore(ContextInfo contextInfo, Trackable repositoryDomain, String propertyName, PropertyTypeInfo propertyTypeInfo, String businessPropertyName)Construct aChangeDetailinstance that represents the value of soon-to-be dirty field before the mutating change is applied.ContextStateContextStateBuilder. buildContextState(Trackable domain, ContextInfo contextInfo)BuildsContextState informationfor aContextStateAware business instancecorresponding to the givenTrackable domain instancethat can be inspected for additional metadata around the entity in relation to the context of the requester.<P> voidDefaultTrackableDomainMapperMemberSupport. buildContextState(Trackable domain, P business, ContextInfo contextInfo, org.modelmapper.ModelMapper fromMeMapper)<P> voidTrackableDomainMapperMemberSupport. buildContextState(Trackable domain, P business, ContextInfo contextInfo, org.modelmapper.ModelMapper fromMeMapper)Add inContextStateinformation 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 ofFieldChangesfor theContextStateof aContextStateAware business instancecorresponding to a givenTrackable domain instance.voidDefaultTrackableDomainMapperMemberSupport. buildTracking(ContextInfo contextInfo, Trackable domainInstance, List<ChangeDetail> details)voidDefaultTrackableDomainMapperMemberSupport. buildTracking(Trackable domainInstance, List<ChangeDetail> details)voidTrackableDomainMapperMemberSupport. buildTracking(ContextInfo contextInfo, Trackable domainInstance, List<ChangeDetail> details)Compile theTrackinginformation for a new changevoidTrackableDomainMapperMemberSupport. buildTracking(Trackable domainInstance, List<ChangeDetail> details)Compile theTrackinginformation for a new change.protected voidDefaultWorkflowMapper. 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 voidDefaultWorkflowMapper. deployDelete(Trackable original, Trackable target)Handle the advancement of a delete change from a starting object to a target object.ForwardMapResponseDefaultWorkflowMapper. deployMap(Trackable original, Trackable target, WorkflowDeployRequest request, String propagationId)ForwardMapResponseWorkflowMapper. deployMap(Trackable original, Trackable target, WorkflowDeployRequest request, String propagationId)Transfer state (viaChangeDetailbetween an original item and the target production state.protected booleanContextStateBuilder. 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 BooleanContextStateBuilder. determineArchived(Trackable domain)Determines theContextState.getArchived().protected IntegerContextStateBuilder. determineContextStateLevel(Trackable domain)Determines theContextState.getLevel().protected booleanAlwaysMutableContextStateBuilder. determineContextStateMutability(Trackable domain, ContextInfo contextInfo)protected booleanContextStateBuilder. determineContextStateMutability(Trackable domain, ContextInfo contextInfo)Determines whether the domain is mutable given the requesting context.protected booleanContextStateBuilder. determinePolicyContextStateMutability(Trackable domain, ContextInfo contextInfo)Determines whether the domain is mutable given the requesting context based on permissions and policy validation.protected StringContextStateBuilder. determineSandboxChangeType(Trackable domain)Returns thetracking's object'ssandbox change type.TrackableDefaultTrackableDomainMapperMemberSupport. handleDelete(Trackable repositoryDomain, ContextInfo contextInfo)TrackableTrackableDomainMapperMemberSupport. 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.protected voidDefaultWorkflowMapper. 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 voidDefaultWorkflowMapper. 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.ForwardMapResponseDefaultWorkflowMapper. promoteMap(Trackable original, Trackable target, WorkflowPromoteRequest request)ForwardMapResponseWorkflowMapper. promoteMap(Trackable original, Trackable target, WorkflowPromoteRequest request)Transfer state (viaChangeDetailbetween an original item and a target item.TrackableDefaultWorkflowMapper. propagateMap(Trackable original, Trackable target, boolean delete, String propagationId)TrackableWorkflowMapper. propagateMap(Trackable original, Trackable target, boolean delete, String propagationId)Transfer state (viaChangeDetailbetween an original item and a target item belonging to a parentCatalogand a child Catalog, respectively.TrackableDefaultWorkflowMapper. rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request)TrackableWorkflowMapper. rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request)Update an original item withChangeDetailstate from a target that is missing in the original.RejectMapResponseDefaultWorkflowMapper. rejectMap(Trackable original, Trackable target, WorkflowRejectRequest request)RejectMapResponseWorkflowMapper. rejectMap(Trackable promotedState, Trackable target, WorkflowRejectRequest request)Transfer state (viaChangeDetailbetween a promoted sandbox state item to a new user state item.TrackableDefaultWorkflowMapper. revertMap(Trackable original, WorkflowRevertRequest request)TrackableWorkflowMapper. revertMap(Trackable original, WorkflowRevertRequest request)Update an originalTrackingLevel.USERlevel record to represent a reverted state.voidRejectMapResponse. setAdvancedState(Trackable advancedState)The resulting promotion sandbox state after anyChangeDetailinstances have been removed, and the entity state updated to reflect the removal.protected voidContextStateBuilder. setApplicationInfo(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior)protected voidContextStateBuilder. setCatalogInfo(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior)voidContextStateBuilder. setChangeStateForEmbeddedCollections(Trackable domain, ContextStateAware businessItem, org.modelmapper.ModelMapper fromMeMapper)Sets theEmbeddedContextStateon a businessItem's embedded collections where the member items areEmbeddedContextStateAware.protected voidContextStateBuilder. setContextStateTrackingInfo(Trackable domain, ContextState contextState)Adds additional info to aContextStatebeing built for aContextStateAware business instancecorresponding to a givenTrackable domain instance.protected voidContextStateBuilder. setCustomerContext(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior)protected voidContextStateBuilder. setTenant(Trackable domain, ContextState contextState, TrackableBehaviorPackage behavior)protected booleanDefaultTrackableDomainMapperMemberSupport. shouldBuildNotificationState(Trackable entity, String eventType)Determines if a notification state should be created for the supplied entity.protected voidDefaultTrackableDomainMapperMemberSupport. updateChangeSummaryState(Trackable entity, Tracking tracking)protected voidDefaultTrackableDomainMapperMemberSupport. updatePersistenceMessageState(Trackable entity, Tracking tracking)RejectMapResponseRejectMapResponse. withAdvancedState(Trackable advancedState)Constructors in com.broadleafcommerce.data.tracking.core.mapping with parameters of type Trackable Constructor Description ForwardMapResponse(Trackable forwardState)RejectMapResponse(Trackable userState) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.marketplace.service
Methods in com.broadleafcommerce.data.tracking.core.marketplace.service that return types with arguments of type Trackable Modifier and Type Method Description protected CommonMarketplaceApplicationCatalogRepository<Trackable>DefaultCommonMarketplaceApplicationCatalogService. getRepository()Constructor parameters in com.broadleafcommerce.data.tracking.core.marketplace.service with type arguments of type Trackable Constructor Description DefaultCommonMarketplaceApplicationCatalogService(CommonMarketplaceApplicationCatalogRepository<Trackable> repository, CrudEntityHelper helper) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.messaging
Methods in com.broadleafcommerce.data.tracking.core.messaging that return types with arguments of type Trackable 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 Trackable Modifier and Type Method Description protected voidChangeSummaryMessageFactory. buildIndexableInformation(Object entity, Trackable domain, ChangeEvent changeEvent)AssignChangeEvent.getIndexableTargetId()andChangeEvent.getIndexableType(), if single index request messaging is supported for the entity and state.protected booleanChangeDetailPruningPersistenceMessageAckedHandler. isProductionLevel(Trackable trackable)protected booleanChangeDetailPruningPersistenceMessageAckedHandler. isSandboxableEntity(Trackable trackable, TrackableBehaviorUtil trackableBehaviorUtil)protected voidChangeSummaryMessageFactory. setVendorRefIfApplicable(Trackable entity, ChangeEvent changeEvent)If vendor processing is enabled, this will determine the vendor theentityis associated to, and set that information on theChangeEvent.getVendorRef().Method parameters in com.broadleafcommerce.data.tracking.core.messaging with type arguments of type Trackable Modifier and Type Method Description protected voidChangeDetailPruningPersistenceMessageAckedHandler. pruneChangeDetails(Object nativeEntityId, TrackableRepository<Trackable> repository)Constructor parameters in com.broadleafcommerce.data.tracking.core.messaging with type arguments of type Trackable Constructor Description PruneRestingNotificationStatesHandler(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties)PurgeObsoleteSandboxDataHandler(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.messaging.autoconfigure
-
Uses of Trackable in com.broadleafcommerce.data.tracking.core.policy.trackable
Methods in com.broadleafcommerce.data.tracking.core.policy.trackable with parameters of type Trackable Modifier and Type Method Description protected PolicyResponseDefaultTrackablePolicyUtils. 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 PolicyResponseDefaultTrackablePolicyUtils. 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.PolicyResponseDefaultTrackablePolicyUtils. validateDelete(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy)PolicyResponseTrackablePolicyUtils. 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 PolicyResponseDefaultTrackablePolicyUtils. validateEntityOperation(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy, OperationType operationType)protected PolicyResponseDefaultTrackablePolicyUtils. validateEntityUpdate(Trackable entity, @NonNull ContextInfo contextInfo)Check update validity for a given entity instanceprotected PolicyResponseDefaultTrackablePolicyUtils. validateEntityUpdateForTenantFactors(Trackable entity, Application application, String tenantId, TrackableBehaviorPackage behavior)protected PolicyResponseDefaultTrackablePolicyUtils. validateGlobalMutateToInheritedCatalog(Trackable entity, ContextInfo contextInfo)protected PolicyResponseDefaultTrackablePolicyUtils. validateGlobalUpdateToHiddenCatalog(Trackable entity)PolicyResponseDefaultTrackablePolicyUtils. validateInsert(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy)PolicyResponseTrackablePolicyUtils. 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 booleanDefaultTrackablePolicyUtils. validateTenantTrackableUpdate(Trackable entity, Application application, TrackableBehaviorPackage behavior)protected PolicyResponseDefaultTrackablePolicyUtils. validateTenantUpdate(@NonNull Trackable entity, String tenantId)PolicyResponseDefaultTrackablePolicyUtils. validateUpdate(Trackable entity, ContextInfo contextInfo, String[] permissionRoots, PermissionMatchingStrategy strategy)PolicyResponseTrackablePolicyUtils. 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
Methods in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor with parameters of type Trackable Modifier and Type Method Description protected PolicyResponseVendorAwareTrackablePolicyUtils. validateEntityMutableByCurrentVendorRestrictions(Trackable entity, ContextInfo contextInfo, String[] requiredPermissionRoots, PermissionMatchingStrategy permissionMatchingStrategy, OperationType operationType)Checks whether the givenentitybeing mutated is actually mutable given the current authentication's vendor privileges and provided policy requirements.protected PolicyResponseVendorAwareTrackablePolicyUtils. 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.PolicyResponseVendorAwareTrackablePolicyUtils. 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
Methods in com.broadleafcommerce.data.tracking.core.service with type parameters of type Trackable 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 bothTrackableRepositoryandTrackableRsqlFilterExecutor, 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 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>>
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.Methods in com.broadleafcommerce.data.tracking.core.service that return Trackable Modifier and Type Method Description protected <P> TrackableCrudEntityHelper. applyReplace(String entityToReplaceId, P replacement, Map<String,Trackable> foundEntitiesByContextId, List<BulkPersistenceResponse.PersistenceFailure<P>> failures, ContextInfo contextInfo)protected TrackableBaseCrudEntityService. convertToPersistentDomain(P businessInstance, Class<Trackable> persistentType, ContextInfo contextInfo)<P> TrackableCrudEntityHelper. convertToPersistentDomain(P businessInstance, Class<Trackable> persistentType, ContextInfo context)Convenience method to use theCrudEntityHelper.mapperto convert a business domain instance to its persistent equivalent.TrackableMutationNotifyEvent. getDomain()TrackableNotificationInitializeEvent. getDomain()Methods in com.broadleafcommerce.data.tracking.core.service that return types with arguments of type Trackable Modifier and Type Method Description 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)protected TrackableRepository<Trackable>BaseCrudEntityService. getRepository()Methods in com.broadleafcommerce.data.tracking.core.service with parameters of type Trackable Modifier and Type Method Description protected PBaseCrudEntityService. convertFromPersistentDomain(Trackable domain, ContextInfo contextInfo)<P> PCrudEntityHelper. convertFromPersistentDomain(Trackable domain, ContextInfo contextInfo)Convenience method to use theCrudEntityHelper.mapperto convert a persistent domain instance to its business equivalent.voidChangeNotifier. notify(Trackable domain, ContextInfo context, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository)Notify the async message fabric of the changevoidCrudEntityHelper. notify(Trackable domain, ContextInfo context, @NonNull com.broadleafcommerce.common.messaging.notification.NotificationStateRepository repository)Notify the system of the change.StringCrudEntityHelper. prepare(Trackable updated, ContextInfo context, @NonNull OperationType operationType)StringPropagationIntegrator. prepare(Trackable domain, ContextInfo context, OperationType operationType)Prepare aTrackableentity for propagation, if applicable.voidCrudEntityHelper. propagateIfApplicable(Trackable updated, ContextInfo context, @NonNull OperationType operationType, @NonNull TrackableRepository<Trackable> repository, String propagationId)voidPropagationIntegrator. propagateIfApplicable(Trackable domain, ContextInfo context, OperationType operationType, TrackableRepository<Trackable> repository, String propagationId)Initiate a catalog propagation for the change.voidCatalogChangeService. sync(Trackable catalog, Class<Trackable> type, boolean isNew)Sync catalog change information to one or more instances of<D>Method parameters in com.broadleafcommerce.data.tracking.core.service with type arguments of type Trackable Modifier and Type Method Description protected <P> TrackableCrudEntityHelper. 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 bothTrackableRepositoryandTrackableRsqlFilterExecutor, this method provides a convenient way to handle that casting.protected TrackableBaseCrudEntityService. convertToPersistentDomain(P businessInstance, Class<Trackable> persistentType, ContextInfo contextInfo)<P> TrackableCrudEntityHelper. convertToPersistentDomain(P businessInstance, Class<Trackable> persistentType, ContextInfo context)Convenience method to use theCrudEntityHelper.mapperto convert a business domain instance to its persistent equivalent.<P> PCrudEntityHelper. 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)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)voidPropagationIntegrator. 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> 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)voidCatalogChangeService. sync(Trackable catalog, Class<Trackable> type, boolean isNew)Sync catalog change information to one or more instances of<D>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 changeprotected <P> voidCrudEntityHelper. 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.Constructors in com.broadleafcommerce.data.tracking.core.service with parameters of type Trackable Constructor Description MutationNotifyEvent(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
Method parameters in com.broadleafcommerce.data.tracking.core.sort with type arguments of type Trackable Modifier and Type Method Description protected 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.PDecimalSplitSortPositionStrategy. updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator)default PSortPositionStrategy. 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.PSortPositionStrategy. 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
Classes in com.broadleafcommerce.data.tracking.core.tenant.repository with type parameters of type Trackable Modifier and Type Interface Description interfaceCommonApplicationRepository<D extends Trackable>Repository agnostic interface for management ofTrackabledomain related toApplication.interfaceCommonCatalogRepository<D extends Trackable>interfaceCommonMarketplaceApplicationCatalogRepository<D extends Trackable>Repository agnostic interface for management ofTrackabledomain related toMarketplaceApplicationCatalog.interfaceCustomizedCommonApplicationRepository<D extends Trackable>Advanced functionality related to catalog maintenance and maintenance of application discriminated entities.Methods in com.broadleafcommerce.data.tracking.core.tenant.repository with type parameters of type Trackable Modifier and Type Method Description <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 domaintypewhose 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 domaintypebelonging to the catalog to have the updated values. -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.tenant.service
Methods in com.broadleafcommerce.data.tracking.core.tenant.service that return Trackable Modifier and Type Method Description TrackableApplicationChangedEvent. getApplication()The application that was modifiedTrackableCatalogChangedEvent. getCatalog()The catalog that was modifiedprotected TrackableTenantPersistenceHandler. 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.Methods in com.broadleafcommerce.data.tracking.core.tenant.service with parameters of type Trackable Modifier and Type Method Description voidCatalogChangeHelper. sync(Trackable catalog, Class<Trackable> type, boolean isNew)protected voidTenantPersistenceHandler. updateCache(Trackable existingInstance)Update Spring CacheManager to groom caches related to this entity persistenceMethod parameters in com.broadleafcommerce.data.tracking.core.tenant.service with type arguments of type Trackable Modifier and Type Method Description voidTenantPersistenceHandler. setApplicationCatalogRepository(CommonMarketplaceApplicationCatalogRepository<Trackable> applicationCatalogRepository)voidCatalogChangeHelper. sync(Trackable catalog, Class<Trackable> type, boolean isNew)Constructors in com.broadleafcommerce.data.tracking.core.tenant.service with parameters of type Trackable Constructor Description ApplicationChangedEvent(Object source, Trackable application, OperationType operation)CatalogChangedEvent(Object source, Trackable catalog, OperationType operation)Constructor parameters in com.broadleafcommerce.data.tracking.core.tenant.service with type arguments of type Trackable Constructor Description CatalogChangeHelper(CommonCatalogRepository<Trackable> repo)DefaultCommonApplicationService(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
Methods in com.broadleafcommerce.data.tracking.core.transition that return Trackable Modifier and Type Method Description TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. 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)TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)Methods in com.broadleafcommerce.data.tracking.core.transition with parameters of type Trackable Modifier and Type Method Description protected voidWorkflowTransitionHelper. applyDeployment(WorkflowDeployRequest request, Trackable target, Trackable original)Apply changes from an "original" entity to a target production entity (if any).protected voidWorkflowTransitionHelper. applyPromotion(WorkflowPromoteRequest request, Trackable target, Trackable original)Apply changes from an "original" entity to a target sandbox entity (if any).protected voidWorkflowTransitionHelper. 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).booleanDefaultPropagationHandler. canHandle(Trackable incoming, String incomingCatalog, String parentCatalog, Trackable candidate, OperationType changeType)booleanPropagationHandler. canHandle(Trackable incoming, String incomingCatalog, String parentCatalog, Trackable candidate, OperationType changeType)Is this handler capable of handling the propagation process given the contextual information.booleanVendorSandboxPropagationHandler. canHandle(Trackable incoming, String incomingCatalog, String parentCatalog, Trackable candidate, OperationType changeType)protected TempOverrideMapResponseWorkflowTransitionHelper. 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.TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. 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)protected voidWorkflowTransitionHelper. handleTransitionFailure(TransitionRequest request, Trackable original, Exception e)Handle failure of a transition request and notify the messaging system of the failureTrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)protected voidWorkflowTransitionHelper. notifyOfCompletion(Trackable domain)Inform the system via a message of typeWorkflowRequestCompletionProducer.TYPEthat transition processing is complete.protected voidDefaultPropagationHandler. notifyOfPersistence(Trackable domain, TrackableRepository<Trackable> repository)Inform the system via a message of typePersistenceProducer.TYPEthat an entity has been persisted.protected voidWorkflowTransitionHelper. notifyOfPersistence(Trackable domain)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 voidWorkflowTransitionHelper. propagate(Trackable deployed, String parentCatalog, boolean isDelete, String propagationId)Deprecated.Only supportsDefaultPropagationHandler.protected voidWorkflowTransitionHelper. 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 voidWorkflowTransitionHelper. updateCompletionState(Trackable originalTrackable, Tracking advancedTracking, TransitionRequest transitionRequest, boolean success, Exception e)Setup the initialNotificationStateon aTrackableentity in regard to the sending status of theWorkflowRequestCompletionProducer.TYPEmessage for transition completion.protected voidDefaultPropagationHandler. updatePersistenceState(Trackable trackable)Setup the initialNotificationStateon aTrackableentity in regard to the sending status of thePersistenceProducer.TYPEmessage for a persistence event.protected voidWorkflowTransitionHelper. updatePersistenceState(Trackable trackable)Setup the initialNotificationStateon aTrackableentity in regard to the sending status of thePersistenceProducer.TYPEmessage for a persistence event.Method parameters in com.broadleafcommerce.data.tracking.core.transition with type arguments of type Trackable Modifier and Type Method Description TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository)TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. 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)TrackableDefaultPropagationHandler. 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)TrackablePropagationAware. handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository)TrackableVendorSandboxPropagationHandler. 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.Constructor parameters in com.broadleafcommerce.data.tracking.core.transition with type arguments of type Trackable 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)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)
-