Uses of Interface
com.broadleafcommerce.common.extension.data.DataRouteSupporting
-
Packages that use DataRouteSupporting Package Description com.broadleafcommerce.common.extension.data -
-
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 interfaceDomainClassSupplier<T extends DataRouteSupporting>Supplier of entity classes scanned and determined to be associated with a particular route.interfacePackageDataRouteSupplier<T extends DataRouteSupporting>Supplier of a registered package fragment determined to be associated with a particular route.interfaceRepositoryDataRouteSupplier<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 DataRouteSupportingDataRouteReference. 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 aDataRouteSupportingextension 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 booleanDataRouteSupportUtil. processOnRoute(DataRouteSupportUtil.ConfirmingWork work, DataRouteSupporting route)Given a piece of confirming work, execute the work against the supplied route.static ObjectDataRouteSupportUtil. 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 voidDataRouteSupportUtil. processOnRoute(DataRouteSupportUtil.VoidWork work, DataRouteSupporting route)Given a piece of void work, execute the work against the supplied route.static <T> TDataRouteSupportUtil. 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 voidDataRouteSupportUtil. 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 booleanDataRouteSupportUtil. 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)
-