Uses of Interface
com.broadleafcommerce.data.tracking.core.Trackable
Packages that use Trackable
Package
Description
-
Uses of Trackable in com.broadleafcommerce.data.tracking.core
Classes in com.broadleafcommerce.data.tracking.core with type parameters of type TrackableModifier and TypeInterfaceDescriptioninterfaceBaseTrackableRepository<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.coreModifier and TypeInterfaceDescriptioninterfaceDefines a domain class type that supports tracking information (audit, sandbox and application).interfaceDefines a domain class type that supports tracking information (audit, sandbox and catalog).interfaceDefines a domain class type that supports tracking information (audit, sandbox and customer context).interfaceDefines a domain class type that supports the expanded scope of tracking information (audit, sandbox, catalog, and application).interfaceDefines a domain class type that supports tracking information (audit and sandbox).interfaceDefines a domain class type that supports audit tracking only.interfaceAllows 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 TrackableModifier and TypeMethodDescription<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 TrackableModifier and TypeMethodDescriptionbooleanDefaultTrackableBehaviorUtil.allowTransitionPersistenceMessage(Trackable domainInstance) default booleanTrackableBehaviorUtil.allowTransitionPersistenceMessage(Trackable domainInstance) Whether a persistence message will be dropped for sandbox transitions.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 TrackableModifier 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
Methods in com.broadleafcommerce.data.tracking.core.cache with parameters of type TrackableModifier and TypeMethodDescriptionvoidCacheInvalidationNotificationImmediateSender.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 TrackableModifier and TypeMethodDescriptionvoidCacheInvalidationNotificationImmediateSender.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.catalog
Methods in com.broadleafcommerce.data.tracking.core.catalog that return TrackableModifier and TypeMethodDescriptionCatalogEntityDeletedEvent.getCatalogEntity()TheCatalogTrackableentity that was deleted.Constructors in com.broadleafcommerce.data.tracking.core.catalog with parameters of type TrackableModifierConstructorDescriptionCatalogEntityDeletedEvent(Object source, Trackable catalogEntity, String catalogId) CatalogEntityDeletedEvent(Object source, Trackable catalogEntity, String catalogId, String applicationId) -
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 TrackableModifier and TypeMethodDescriptionstatic cz.jirutka.rsql.parser.ast.NodeFilterHelper.transform(cz.jirutka.rsql.parser.ast.Node filters, TrackableRepository<Trackable> repository, List<RsqlQueryTransformer> rsqlQueryTransformers) Transformsfiltersfrom properties that target a projection into ones that apply to a backing repository provider domain object -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.mapping
Methods in com.broadleafcommerce.data.tracking.core.mapping with type parameters of type TrackableModifier 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 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 TrackableModifier and TypeMethodDescriptionRejectMapResponse.getAdvancedState()The resulting promotion sandbox state after anyChangeDetailinstances 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 (viaChangeDetailbetween an original item and a target item belonging to a parentCatalogand a child Catalog, respectively.DefaultWorkflowMapper.rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request) WorkflowMapper.rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request) Update an original item withChangeDetailstate from a target that is missing in the original.DefaultWorkflowMapper.revertMap(Trackable original, WorkflowRevertRequest request) WorkflowMapper.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 TrackableModifier and TypeMethodDescriptionbooleanChangeTransformer.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 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 aChangeDetailinstance that represents the value of soon-to-be dirty field before the mutating change is applied.ContextStateBuilder.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.DefaultWorkflowMapper.deployMap(Trackable original, Trackable target, WorkflowDeployRequest request, String propagationId) WorkflowMapper.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.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.booleanDefaultTrackableDomainMapperMemberSupport.isMappingResetRequired(Trackable domainInstance, ContextInfo contextInfo) booleanTrackableDomainMapperMemberSupport.isMappingResetRequired(Trackable domainInstance, ContextInfo contextInfo) Whether or not the id will be reset during modify or delete mapping.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.DefaultWorkflowMapper.promoteMap(Trackable original, Trackable target, WorkflowPromoteRequest request) WorkflowMapper.promoteMap(Trackable original, Trackable target, WorkflowPromoteRequest request) Transfer state (viaChangeDetailbetween 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 (viaChangeDetailbetween an original item and a target item belonging to a parentCatalogand a child Catalog, respectively.DefaultWorkflowMapper.rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request) WorkflowMapper.rebaseMap(Trackable original, Trackable target, WorkflowRebaseRequest request) Update an original item withChangeDetailstate 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 (viaChangeDetailbetween 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.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.setAuditInfo(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) RejectMapResponse.withAdvancedState(Trackable advancedState) Constructors in com.broadleafcommerce.data.tracking.core.mapping with parameters of type TrackableModifierConstructorDescriptionForwardMapResponse(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 TrackableModifier and TypeMethodDescriptionDefaultCommonMarketplaceApplicationCatalogService.getRepository()Constructor parameters in com.broadleafcommerce.data.tracking.core.marketplace.service with type arguments of type TrackableModifierConstructorDescriptionDefaultCommonMarketplaceApplicationCatalogService(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 TrackableModifier and TypeMethodDescriptionprotected List<TrackableRepository<Trackable>>PruneRestingNotificationStatesHandler.getTrackableRepositories()protected List<TrackableRepository<Trackable>>PurgeObsoleteSandboxDataHandler.getTrackableRepositories()Methods in com.broadleafcommerce.data.tracking.core.messaging with parameters of type TrackableModifier and TypeMethodDescriptionprotected 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 TrackableModifier and TypeMethodDescriptionprotected voidChangeDetailPruningPersistenceMessageAckedHandler.pruneChangeDetails(Object nativeEntityId, TrackableRepository<Trackable> repository) Constructor parameters in com.broadleafcommerce.data.tracking.core.messaging with type arguments of type TrackableModifierConstructorDescriptionPruneRestingNotificationStatesHandler(List<TrackableRepository<Trackable>> trackableRepositories, PruneRestingNotificationStatesConfigurationProperties configurationProperties) PurgeObsoleteSandboxDataHandler(List<TrackableRepository<Trackable>> trackableRepositories, PurgeObsoleteSandboxDataConfigurationProperties configurationProperties) -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.messaging.autoconfigure
Method parameters in com.broadleafcommerce.data.tracking.core.messaging.autoconfigure with type arguments of type TrackableModifier 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
Methods in com.broadleafcommerce.data.tracking.core.policy.trackable with parameters of type TrackableModifier and TypeMethodDescriptionprotected 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.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 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) 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 booleanDefaultTrackablePolicyUtils.validateTenantTrackableUpdate(Trackable entity, Application application, TrackableBehaviorPackage behavior) protected PolicyResponseDefaultTrackablePolicyUtils.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
Methods in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor with parameters of type TrackableModifier and TypeMethodDescriptionprotected 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.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
Methods in com.broadleafcommerce.data.tracking.core.service with type parameters of type TrackableModifier and TypeMethodDescription<R extends TrackableRepository<Trackable> & TrackableRsqlFilterExecutor<Trackable>>
RRsqlCrudEntityHelper.castToRsqlRepository(TrackableRepository<Trackable> repository) Since most of the methods in the service require a repository that implements bothTrackableRepositoryandTrackableRsqlFilterExecutor, this method provides a convenient way to handle that casting.<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 TrackableModifier and TypeMethodDescriptionprotected <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.MutationNotifyEvent.getDomain()NotificationInitializeEvent.getDomain()Methods in com.broadleafcommerce.data.tracking.core.service that return types with arguments of type TrackableModifier 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()Methods in com.broadleafcommerce.data.tracking.core.service with parameters of type TrackableModifier and TypeMethodDescriptionprotected 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.CrudEntityHelper.prepare(Trackable updated, ContextInfo context, @NonNull OperationType operationType, SlimPropagationTracking slimPropagationTracking) PropagationIntegrator.prepare(Trackable domain, ContextInfo contextInfo, OperationType operationType, SlimPropagationTracking slimPropagationTracking) Prepare aTrackableentity for propagation, if applicable.voidCrudEntityHelper.propagateIfApplicable(Trackable updated, ContextInfo context, @NonNull OperationType operationType, @NonNull TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) voidPropagationIntegrator.propagateIfApplicable(Trackable domain, ContextInfo context, OperationType operationType, TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) Initiate a catalog propagation for the change.voidSync catalog change information to one or more instances of<D>Method parameters in com.broadleafcommerce.data.tracking.core.service with type arguments of type TrackableModifier and TypeMethodDescriptionprotected <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 relevant property values.<P> List<P>CrudEntityHelper.createAll(List<P> businessInstances, ContextInfo context, TrackableRepository<Trackable> repository) <P> BulkPersistenceResponse<P>CrudEntityHelper.createAllAllowingPartialSuccess(List<P> businessInstances, ContextInfo context, TrackableRepository<Trackable> repository) voidCrudEntityHelper.delete(String id, ContextInfo context, TrackableRepository<Trackable> repository) Perform a delete operation on the entity identified by the context id.voidCrudEntityHelper.propagateIfApplicable(Trackable updated, ContextInfo context, @NonNull OperationType operationType, @NonNull TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) voidPropagationIntegrator.propagateIfApplicable(Trackable domain, ContextInfo context, OperationType operationType, TrackableRepository<Trackable> repository, String propagationId, SlimPropagationTracking slimPropagationTracking) Initiate a catalog propagation for the change.<P> List<P>CrudEntityHelper.readAll(ContextInfo context, TrackableRepository<Trackable> repository) Read a list of narrowed instances in the form of the business instance.<P> org.springframework.data.domain.Page<P>CrudEntityHelper.readAll(org.springframework.data.domain.Pageable pageable, ContextInfo context, TrackableRepository<Trackable> repository) Read a page of narrowed instances in the form of the business instance.<P> List<P>CrudEntityHelper.readAll(org.springframework.data.domain.Sort sort, ContextInfo context, TrackableRepository<Trackable> repository) Read a list of narrowed instances in the form of the business instance.<P> Iterable<P>CrudEntityHelper.readAllByContextId(Iterable<String> ids, ContextInfo context, TrackableRepository<Trackable> repository) Retrieve all business instances based on a list of context ids.<P> PCrudEntityHelper.readByContextId(String id, ContextInfo context, TrackableRepository<Trackable> repository) Read a single instance of an entity in the form of a business domain.<P> PCrudEntityHelper.replace(String id, P businessInstance, ContextInfo context, TrackableRepository<Trackable> repository) Replace a single, narrowed instance of an entity based on a business instance containing relavant property values.<P> List<P>CrudEntityHelper.replaceAll(List<Update<P>> replacements, ContextInfo context, TrackableRepository<Trackable> repository) <P> BulkPersistenceResponse<P>CrudEntityHelper.replaceAllAllowingPartialSuccess(List<Update<P>> replacements, ContextInfo context, TrackableRepository<Trackable> repository) voidSync 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 TrackableModifierConstructorDescriptionMutationNotifyEvent(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 TrackableModifier and TypeMethodDescriptionprotected voidDecimalSplitSortPositionStrategy.updateAfterPositionSort(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, Sortable toUpdate, Sortable sortTransfer) Update when theSortPositionRequest.getPositionAfterContextId()value is available.protected voidDecimalSplitSortPositionStrategy.updateBeforePositionSort(SortPositionRequest sortPositionRequest, ContextInfo context, TrackableRepository<Trackable> repository, Sortable toUpdate, Sortable sortTransfer) Update when theSortPositionRequest.getPositionBeforeContextId()value is available.protected voidDecimalSplitSortPositionStrategy.updateFirstPositionSort(ContextInfo context, TrackableRepository<Trackable> repository, Sortable domain, Sortable sortTransfer) Update when theSortPositionRequest.getPositionAfterContextId()is missing, which indicates that the request is to move the entity to the first position in the sorting group.DecimalSplitSortPositionStrategy.updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator, PropagationHelperUtility propagationHelperUtility) default PSortPositionStrategy.updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier) Deprecated.SortPositionStrategy.updateSort(SortPositionRequest sortPositionRequest, ContextInfo context, DomainMapperManager mapper, TrackableRepository<Trackable> repository, ChangeNotifier notifier, PropagationIntegrator propagationIntegrator, PropagationHelperUtility propagationHelperUtility) Apply a sort field value change -
Uses of Trackable in com.broadleafcommerce.data.tracking.core.tenant.repository
Classes in com.broadleafcommerce.data.tracking.core.tenant.repository with type parameters of type TrackableModifier and TypeInterfaceDescriptioninterfaceCommonApplicationRepository<D extends Trackable>Repository agnostic interface for management ofTrackabledomain related toApplication.interfaceCommonCatalogRepository<D extends Trackable>interfaceRepository agnostic interface for management ofTrackabledomain related toMarketplaceApplicationCatalog.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 TrackableModifier 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 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 TrackableModifier and TypeMethodDescriptionApplicationChangedEvent.getApplication()The application that was modifiedCatalogChangedEvent.getCatalog()The catalog that was modifiedMarketplaceApplicationCatalogChangedEvent.getMarketplaceApplicationCatalog()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 TrackableModifier and TypeMethodDescriptionprotected voidTenantPersistenceHandler.notifyCatalogIndexingEvent(Trackable changed, OperationType operation) voidprotected 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 TrackableModifier and TypeMethodDescriptionvoidTenantPersistenceHandler.setApplicationCatalogRepository(CommonMarketplaceApplicationCatalogRepository<Trackable> applicationCatalogRepository) voidConstructors in com.broadleafcommerce.data.tracking.core.tenant.service with parameters of type TrackableModifierConstructorDescriptionApplicationChangedEvent(Object source, Trackable application, OperationType operation) CatalogChangedEvent(Object source, Trackable catalog, OperationType operation) MarketplaceApplicationCatalogChangedEvent(Object source, Trackable marketplaceApplicationCatalog, OperationType operation) Constructor parameters in com.broadleafcommerce.data.tracking.core.tenant.service with type arguments of type TrackableModifierConstructorDescriptionDefaultCommonApplicationService(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 TrackableModifier and TypeMethodDescriptionDefaultPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) PropagationAware.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) DefaultPropagationHandler.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationHandler.handlePropagation(Trackable incoming, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository, boolean isDelete) DefaultPropagationHandler.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) Methods in com.broadleafcommerce.data.tracking.core.transition with parameters of type TrackableModifier and TypeMethodDescriptionprotected 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).PropagationHelperUtility.buildSlimPropagationTracking(Trackable trackable) Builds aSlimPropagationTrackingfor the providedTrackableinstance.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.DefaultPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) PropagationAware.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) DefaultPropagationHandler.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationHandler.handlePropagation(Trackable incoming, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository, boolean isDelete) protected voidWorkflowTransitionHelper.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 TrackableDefaultPropagationManager.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected booleanPropagationHelperUtility.isCatalogChangeAnApplicationOverride(Trackable updated, SlimPropagationTracking originalTracking) Determines if a catalog-discriminated entity change is an application override of an existing instance.booleanPropagationHelperUtility.isCatalogChangeAnOverride(Trackable original, Trackable updated) Given the original and updated states of a catalog-discriminated change, determine whether the update is an override.booleanPropagationHelperUtility.isCatalogChangeAnOverride(SlimPropagationTracking originalTracking, Trackable updated) Given the original and updated states of a catalog-discriminated change, determine whether the update is an override.protected booleanPropagationHelperUtility.isCatalogChangeATenantOverride(Trackable updated, SlimPropagationTracking originalTracking) Determines if a catalog-discriminated entity change is a tenant override of an existing instance.protected voidDefaultPropagationManager.notifyCatalogEntityDeletion(Trackable entity, String catalogId) Inform the system via aCatalogEntityDeletedEventmessage that a catalog entity has been deleted if applicable.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 voidDefaultPropagationManager.propagateThroughChildCatalogs(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) Propagates the changes for each child catalog of the given parent catalog.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 TrackableModifier and TypeMethodDescriptionPropagationHelperUtility.buildSlimPropagationTrackingMap(Map<String, Trackable> trackablesById) Builds aSlimPropagationTrackingfor each of the providedTrackableinstances.DefaultPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) PropagationAware.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleCreate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, TrackableRepository<Trackable> repository) DefaultPropagationHandler.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleDelete(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationHandler.handlePropagation(Trackable incoming, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository, boolean isDelete) DefaultPropagationHandler.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected TrackableDefaultPropagationManager.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) PropagationAware.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) VendorSandboxPropagationHandler.handleUpdate(Trackable incoming, String incomingCatalog, String parentCatalog, String propagationId, Trackable candidate, TrackableRepository<Trackable> repository) protected voidDefaultPropagationHandler.notifyOfPersistence(Trackable domain, TrackableRepository<Trackable> repository) Inform the system via a message of typePersistenceProducer.TYPEthat an entity has been persisted.voidDefaultPropagationManager.propagate(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) voidPropagationManager.propagate(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) Given a deployed catalog discriminated change, recurse through versions of the entity in child catalogs and transfer the deployed changes using the process defined implementations ofPropagationHandler.protected voidDefaultPropagationManager.propagateThroughChildCatalogs(Trackable deployed, String parentCatalog, OperationType changeType, String propagationId, TrackableRepository<Trackable> repository) Propagates the changes for each child catalog of the given parent catalog.Constructor parameters in com.broadleafcommerce.data.tracking.core.transition with type arguments of type TrackableModifierConstructorDescriptionDefaultTransitionHandler(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, PropagationHelperUtility)instead to allow for instant propagation handling.