| Package | Description |
|---|---|
| org.broadleafcommerce.common.extension |
| Modifier and Type | Method and Description |
|---|---|
static ResultType |
ResultType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultType[] |
ResultType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.breakdown(Class<?> type,
ResultType resultType)
Perform any breakdown operations.
|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.getCacheKey(Object testObject,
String qualifier,
ResultType resultType,
ExtensionResultHolder<String> response)
Build the cache key to be used for either the STANDARD or TEMPLATE style cache, driven by the resultType.
|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.refineOrder(Class<?> type,
ResultType resultType,
javax.persistence.criteria.CriteriaBuilder builder,
javax.persistence.criteria.CriteriaQuery criteria,
javax.persistence.criteria.Root root,
List<javax.persistence.criteria.Order> sorts)
Add sorting to the fetch query
|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.refineResults(Class<?> type,
ResultType resultType,
List queryResults,
ExtensionResultHolder<List> response)
Filter the results from the database in Java
|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.refineRetrieve(Class<?> type,
ResultType resultType,
Object testObject,
javax.persistence.criteria.CriteriaBuilder builder,
javax.persistence.criteria.CriteriaQuery criteria,
javax.persistence.criteria.Root root,
List<javax.persistence.criteria.Predicate> restrictions)
Add additional restrictions to the fetch query
|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.setup(Class<?> type,
ResultType resultType)
Perform any setup operations.
|
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
SparselyPopulatedQueryExtensionHandler.getResultType(Object testObject,
ExtensionResultHolder<ResultType> response)
By examining the multitenant information related to a test object, return whether the object is related to a standard
site, or a template profile or catalog, if applicable.
|
Copyright © 2015. All Rights Reserved.