Uses of Interface
com.broadleafcommerce.common.extension.data.DataRouteSupporting
-
Packages that use DataRouteSupporting Package Description com.broadleafcommerce.common.extension.autoconfigure com.broadleafcommerce.common.extension.data -
-
Uses of DataRouteSupporting in com.broadleafcommerce.common.extension.autoconfigure
Method parameters in com.broadleafcommerce.common.extension.autoconfigure with type arguments of type DataRouteSupporting Modifier and Type Method Description DataRouteReference
CommonExtensionAutoConfiguration.CommonExtensionDataRouteAutoConfiguration. dataRouteReference(List<PackageDataRouteSupplier<DataRouteSupporting>> routeSuppliers, List<RepositoryDataRouteSupplier<DataRouteSupporting>> repositorySuppliers, List<DomainClassSupplier<DataRouteSupporting>> domainSuppliers)
-
Uses of DataRouteSupporting in com.broadleafcommerce.common.extension.data
Classes in com.broadleafcommerce.common.extension.data with type parameters of type DataRouteSupporting Modifier and Type Interface Description interface
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.Methods in com.broadleafcommerce.common.extension.data with type parameters of type DataRouteSupporting Modifier and Type Method Description <G extends DataRouteSupporting>
DomainClassSupplier.DomainMapping<G>DomainClassSupplier.DomainMapping. map(Class<G> type)
<G extends DataRouteSupporting>
RepositoryDataRouteSupplier.RepositoryMapping<G>RepositoryDataRouteSupplier.RepositoryMapping. map(Class<G> type)
Methods in com.broadleafcommerce.common.extension.data that return DataRouteSupporting Modifier and Type Method Description DataRouteSupporting
DataRouteReference. findRouteByKey(String key)
Given a known route key, find a matching instance based ongetLookupKey()
.Methods in com.broadleafcommerce.common.extension.data that return types with arguments of type DataRouteSupporting Modifier and Type Method Description Optional<DataRouteSupporting>
DataRouteReference. findRouteByExample(Class<?> exampleClass)
Given an example class, find a matching instance based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.Optional<DataRouteSupporting>
DataRouteReference. findRouteByExample(String routePartition)
Given an example package fragment, find a matching instance based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.Optional<List<DataRouteSupporting>>
DataRouteReference. findRoutesByRepository(Class<?> repositoryClass)
Filter all routes associated with aDataRouteSupporting
extension that are handled by a given repository.Set<DataRouteSupporting>
DataRouteReference. findSupportingRoutesByExample(Class<?> exampleClass)
Given an example class, find one or more matching instances based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.Set<DataRouteSupporting>
DataRouteReference. findSupportingRoutesByExample(String routePartition)
Given an example package fragment, find one or more matching instances based onPackageDataRouteSupplier.PackageMapping.packageFragment()
, if available.List<DomainClassSupplier<DataRouteSupporting>>
DataRouteReference. getDomainSuppliers()
List<RepositoryDataRouteSupplier<DataRouteSupporting>>
DataRouteReference. getRepositoryRouteSuppliers()
List<PackageDataRouteSupplier<DataRouteSupporting>>
DataRouteReference. getRouteSuppliers()
Methods in com.broadleafcommerce.common.extension.data with parameters of type DataRouteSupporting Modifier and Type Method Description static 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.Method parameters in com.broadleafcommerce.common.extension.data with type arguments of type DataRouteSupporting Modifier and Type Method Description static 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.Constructor parameters in com.broadleafcommerce.common.extension.data with type arguments of type DataRouteSupporting Constructor Description DataRouteReference(List<PackageDataRouteSupplier<DataRouteSupporting>> routeSuppliers, List<RepositoryDataRouteSupplier<DataRouteSupporting>> repositoryRouteSuppliers, List<DomainClassSupplier<DataRouteSupporting>> domainSuppliers)
-