Uses of Interface
com.broadleafcommerce.common.extension.data.DataRouteSupporting
Package
Description
-
Uses of DataRouteSupporting in com.broadleafcommerce.common.extension.autoconfigure
Modifier and TypeMethodDescriptionCommonExtensionAutoConfiguration.CommonExtensionDataRouteAutoConfiguration.dataRouteReference
(List<PackageDataRouteSupplier<DataRouteSupporting>> routeSuppliers, List<RepositoryDataRouteSupplier<DataRouteSupporting>> repositorySuppliers, List<DomainClassSupplier<DataRouteSupporting>> domainSuppliers) -
Uses of DataRouteSupporting in com.broadleafcommerce.common.extension.data
Modifier and TypeInterfaceDescriptioninterface
DomainClassSupplier<T extends DataRouteSupporting>
Supplier of entity classes scanned and determined to be associated with a particular route.interface
PackageDataRouteSupplier<T extends DataRouteSupporting>
Supplier of a registered package fragment determined to be associated with a particular route.interface
RepositoryDataRouteSupplier<T extends DataRouteSupporting>
Supplier of a repository class determined to be associated with one or more routes.Modifier and TypeMethodDescription<G extends DataRouteSupporting>
DomainClassSupplier.DomainMapping<G>Modifier and TypeMethodDescriptionDataRouteReference.findRouteByKey
(String key) Given a known route key, find a matching instance based ongetLookupKey()
.Modifier and TypeMethodDescriptionDataRouteReference.findRouteByExample
(Class<?> exampleClass) Given an example class, find a matching instance based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.DataRouteReference.findRouteByExample
(String routePartition) Given an example package fragment, find a matching instance based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.DataRouteReference.findRoutesByRepository
(Class<?> repositoryClass) Filter all routes associated with aDataRouteSupporting
extension that are handled by a given repository.DataRouteReference.findSupportingRoutesByExample
(Class<?> exampleClass) Given an example class, find one or more matching instances based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.DataRouteReference.findSupportingRoutesByExample
(String routePartition) Given an example package fragment, find one or more matching instances based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.DataRouteReference.getDomainSuppliers()
DataRouteReference.getRepositoryRouteSuppliers()
DataRouteReference.getRouteSuppliers()
Modifier and TypeMethodDescriptionstatic boolean
DataRouteSupportUtil.processOnRoute
(DataRouteSupportUtil.ConfirmingWork work, DataRouteSupporting route) Given a piece of confirming work, execute the work against the supplied route.static Object
DataRouteSupportUtil.processOnRoute
(DataRouteSupportUtil.ReturningWork work, DataRouteSupporting route) Given a piece of returning work, execute the work against the supplied route.static <G extends Exception>
voidDataRouteSupportUtil.processOnRoute
(DataRouteSupportUtil.ThrowingVoidWork<G> work, DataRouteSupporting route, Class<G> exceptionClass) Given a piece of void work, execute the work against the supplied route.static void
DataRouteSupportUtil.processOnRoute
(DataRouteSupportUtil.VoidWork work, DataRouteSupporting route) Given a piece of void work, execute the work against the supplied route.static <T> T
DataRouteSupportUtil.proxyForDataRoute
(T bean, DataRouteSupporting route) Given a component, wrap the component in an AOP proxy that will guarantee any call on the component's API will have thegetLookupKey()
set onDataRouteContext.setLookupKey(String)
during execution.Modifier and TypeMethodDescriptionstatic void
DataRouteSupportUtil.processAllOrOnce
(List<? extends DataRouteSupporting> supportingRoutes, DataRouteSupportUtil.VoidWork work, Class<?>... refineTypes) Given a piece of void work, execute the work repeatedly against all the supplied routes.static boolean
DataRouteSupportUtil.processFirstOrOnce
(List<? extends DataRouteSupporting> supportingRoutes, DataRouteSupportUtil.ConfirmingWork work, Class<?>... refineTypes) Given a piece of confirming work, execute the work against the supplied routes looking for the first positive confirmation.ModifierConstructorDescriptionDataRouteReference
(List<PackageDataRouteSupplier<DataRouteSupporting>> routeSuppliers, List<RepositoryDataRouteSupplier<DataRouteSupporting>> repositoryRouteSuppliers, List<DomainClassSupplier<DataRouteSupporting>> domainSuppliers)