| Package | Description |
|---|---|
| org.broadleafcommerce.common.extension | |
| org.broadleafcommerce.common.i18n.dao | |
| org.broadleafcommerce.common.i18n.service |
| 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.getCacheKey(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.refineParameterRetrieve(Class<?> type,
ResultType resultType,
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.refineQuery(Class<?> type,
ResultType resultType,
javax.persistence.TypedQuery query)
Finish the query - possibly setting parameters
|
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,
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.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
TranslationDaoImpl.countTranslationEntries(TranslatedEntity entityType,
ResultType stage) |
Long |
TranslationDao.countTranslationEntries(TranslatedEntity entityType,
ResultType stage)
Count the number of translations for the given params.
|
List<Translation> |
TranslationDaoImpl.readAllTranslationEntries(TranslatedEntity entityType,
ResultType stage) |
List<Translation> |
TranslationDao.readAllTranslationEntries(TranslatedEntity entityType,
ResultType stage)
Read all the available translations for the given params.
|
List<Translation> |
TranslationDaoImpl.readAllTranslationEntries(TranslatedEntity entityType,
ResultType stage,
List<String> entityIds) |
List<Translation> |
TranslationDao.readAllTranslationEntries(TranslatedEntity entityType,
ResultType stage,
List<String> entityIds)
Read all the available translations for the given params.
|
List<StandardCacheItem> |
TranslationDaoImpl.readConvertedTranslationEntries(TranslatedEntity entityType,
ResultType stage) |
List<StandardCacheItem> |
TranslationDao.readConvertedTranslationEntries(TranslatedEntity entityType,
ResultType stage)
Read all translation entries (see
TranslationDao.readAllTranslationEntries(org.broadleafcommerce.common.i18n.domain.TranslatedEntity, org.broadleafcommerce.common.extension.ResultType)),
and convert those results into a list of StandardCacheItem instances. |
Translation |
TranslationDaoImpl.readTranslation(TranslatedEntity entityType,
String entityId,
String fieldName,
String localeCode,
String localeCountryCode,
ResultType stage) |
Translation |
TranslationDao.readTranslation(TranslatedEntity entityType,
String entityId,
String fieldName,
String localeCode,
String localeCountryCode,
ResultType stage)
Read a specific translation for the given params.
|
| Modifier and Type | Method and Description |
|---|---|
List<Translation> |
TranslationServiceImpl.findAllTranslationEntries(TranslatedEntity translatedEntity,
ResultType standard,
List<String> entityIds) |
List<Translation> |
TranslationService.findAllTranslationEntries(TranslatedEntity translatedEntity,
ResultType standard,
List<String> entityIds)
Find all the available translations for the given params.
|
String |
TranslationServiceImpl.getCacheKey(ResultType resultType,
TranslatedEntity entityType) |
String |
TranslationSupport.getCacheKey(ResultType resultType,
TranslatedEntity entityType)
Build a cache key
|
Copyright © 2018. All rights reserved.