Uses of Class
org.broadleafcommerce.common.i18n.domain.TranslatedEntity
Packages that use TranslatedEntity
Package
Description
-
Uses of TranslatedEntity in org.broadleafcommerce.common.i18n.dao
Methods in org.broadleafcommerce.common.i18n.dao with parameters of type TranslatedEntityModifier and TypeMethodDescriptionTranslationDao.countTranslationEntries
(TranslatedEntity entityType, ResultType stage) Count the number of translations for the given params.TranslationDaoImpl.countTranslationEntries
(TranslatedEntity entityType, ResultType stage) TranslationDao.getEntityId
(TranslatedEntity entityType, Object entity) Get the id for the object.TranslationDaoImpl.getEntityId
(TranslatedEntity entityType, Object entity) Class<?>
TranslationDao.getEntityImpl
(TranslatedEntity entity) Returns the entity implementation class based on the TranslatedEntityClass<?>
TranslationDaoImpl.getEntityImpl
(TranslatedEntity entity) TranslationDao.getIdPropertyMetadata
(TranslatedEntity entity) Returns a map that holds the following data for the given entity: "name" --> idProperty (the name of the id property, always a String) "type" --> idProperty's type (usually either Long or String)TranslationDaoImpl.getIdPropertyMetadata
(TranslatedEntity entity) protected String
TranslationDaoImpl.getUpdatedEntityId
(TranslatedEntity entityType, Long idValue) protected String
TranslationDaoImpl.getUpdatedEntityId
(TranslatedEntity entityType, String entityId) TranslationDao.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage) Read all the available translations for the given params.TranslationDao.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage, List<String> entityIds) Read all the available translations for the given params.TranslationDaoImpl.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage) TranslationDaoImpl.readAllTranslationEntries
(TranslatedEntity entityType, ResultType stage, List<String> entityIds) TranslationDao.readConvertedTranslationEntries
(TranslatedEntity entityType, ResultType stage) Read all translation entries (seeTranslationDao.readAllTranslationEntries(org.broadleafcommerce.common.i18n.domain.TranslatedEntity, org.broadleafcommerce.common.extension.ResultType)
), and convert those results into a list ofStandardCacheItem
instances.TranslationDaoImpl.readConvertedTranslationEntries
(TranslatedEntity entityType, ResultType stage) TranslationDao.readTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) Reads a translation for the requested parameters.TranslationDao.readTranslation
(TranslatedEntity entityType, String entityId, String fieldName, String localeCode, String localeCountryCode, ResultType stage) Read a specific translation for the given params.TranslationDaoImpl.readTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) TranslationDaoImpl.readTranslation
(TranslatedEntity entityType, String entityId, String fieldName, String localeCode, String localeCountryCode, ResultType stage) TranslationDao.readTranslations
(TranslatedEntity entity, String entityId, String fieldName) Reads all translations for a given fieldTranslationDaoImpl.readTranslations
(TranslatedEntity entity, String entityId, String fieldName) -
Uses of TranslatedEntity in org.broadleafcommerce.common.i18n.domain
Fields in org.broadleafcommerce.common.i18n.domain declared as TranslatedEntityModifier and TypeFieldDescriptionstatic final TranslatedEntity
TranslatedEntity.CATALOG
static final TranslatedEntity
TranslatedEntity.CATEGORY
static final TranslatedEntity
TranslatedEntity.CATEGORY_ATTRIBUTE
static final TranslatedEntity
TranslatedEntity.CHALLENGE_QUESTION
static final TranslatedEntity
TranslatedEntity.COUNTRY
static final TranslatedEntity
TranslatedEntity.COUNTRY_SUBDIVISION
static final TranslatedEntity
TranslatedEntity.COUNTRY_SUBDIVISION_CATEGORY
static final TranslatedEntity
TranslatedEntity.CROSS_SALE_PRODUCT
static final TranslatedEntity
TranslatedEntity.CUSTOMER_ATTRIBUTE
static final TranslatedEntity
TranslatedEntity.FIELD
static final TranslatedEntity
TranslatedEntity.FULFILLMENT_OPTION
static final TranslatedEntity
TranslatedEntity.MEDIA
static final TranslatedEntity
TranslatedEntity.OFFER
static final TranslatedEntity
TranslatedEntity.PAGE
static final TranslatedEntity
TranslatedEntity.PAGE_TEMPLATE
static final TranslatedEntity
TranslatedEntity.PRODUCT
static final TranslatedEntity
TranslatedEntity.PRODUCT_ATTRIBUTE
static final TranslatedEntity
TranslatedEntity.PRODUCT_OPTION
static final TranslatedEntity
TranslatedEntity.PRODUCT_OPTION_VALUE
static final TranslatedEntity
TranslatedEntity.SEARCH_FACET
static final TranslatedEntity
TranslatedEntity.SITE
static final TranslatedEntity
TranslatedEntity.SKU
static final TranslatedEntity
TranslatedEntity.SKU_ATTRIBUTE
static final TranslatedEntity
TranslatedEntity.STATIC_ASSET
static final TranslatedEntity
TranslatedEntity.STRUCTURED_CONTENT
static final TranslatedEntity
TranslatedEntity.STRUCTURED_CONTENT_TYPE
static final TranslatedEntity
TranslatedEntity.UP_SALE_PRODUCT
Methods in org.broadleafcommerce.common.i18n.domain that return TranslatedEntityModifier and TypeMethodDescriptionTranslation.getEntityType()
TranslationImpl.getEntityType()
static TranslatedEntity
TranslatedEntity.getInstance
(String type) static TranslatedEntity
TranslatedEntity.getInstanceFromFriendlyType
(String friendlyType) Methods in org.broadleafcommerce.common.i18n.domain that return types with arguments of type TranslatedEntityModifier and TypeMethodDescriptionstatic Map<String,
TranslatedEntity> TranslatedEntity.getTypes()
Methods in org.broadleafcommerce.common.i18n.domain with parameters of type TranslatedEntityModifier and TypeMethodDescriptionvoid
Translation.setEntityType
(TranslatedEntity entityType) void
TranslationImpl.setEntityType
(TranslatedEntity entityType) -
Uses of TranslatedEntity in org.broadleafcommerce.common.i18n.service
Methods in org.broadleafcommerce.common.i18n.service that return TranslatedEntityModifier and TypeMethodDescriptionTranslationService.getAssignableEntityType
(String className) Gets the TranslatedEntity based on the passed className.TranslationServiceImpl.getAssignableEntityType
(String className) protected TranslatedEntity
TranslationServiceImpl.getEntityType
(Class<?> entityClass) protected TranslatedEntity
TranslationServiceImpl.getEntityType
(Object entity) Methods in org.broadleafcommerce.common.i18n.service with parameters of type TranslatedEntityModifier and TypeMethodDescriptionprotected static String
TranslationBatchReadCache.buildCacheKey
(TranslatedEntity entityType, String id, String propertyName, String localeCode) TranslationService.findAllTranslationEntries
(TranslatedEntity translatedEntity, ResultType standard, List<String> entityIds) Find all the available translations for the given params.TranslationServiceImpl.findAllTranslationEntries
(TranslatedEntity translatedEntity, ResultType standard, List<String> entityIds) protected String
SparseTranslationOverrideStrategy.getCacheKey
(TranslatedEntity type, String entityId, String fieldName, String localeCode) TranslationServiceImpl.getCacheKey
(ResultType resultType, TranslatedEntity entityType) TranslationSupport.getCacheKey
(ResultType resultType, TranslatedEntity entityType) Build a cache keystatic Translation
TranslationBatchReadCache.getFromCache
(TranslatedEntity entityType, String id, String propertyName, String localeCode) SparseTranslationOverrideStrategy.getLocaleBasedOverride
(String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String basicCacheKey) ThresholdCacheTranslationOverrideStrategy.getLocaleBasedOverride
(String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String basicCacheKey) TranslationOverrideStrategy.getLocaleBasedOverride
(String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String basicCacheKey) Retrieve the standard site override translation, if applicableSparseTranslationOverrideStrategy.getLocaleBasedTemplateValue
(String templateCacheKey, String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String specificPropertyKey, String generalPropertyKey) ThresholdCacheTranslationOverrideStrategy.getLocaleBasedTemplateValue
(String templateCacheKey, String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String specificPropertyKey, String generalPropertyKey) TranslationOverrideStrategy.getLocaleBasedTemplateValue
(String templateCacheKey, String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String specificPropertyKey, String generalPropertyKey) Retrieve the template level translation, if applicableprotected String
TranslationServiceImpl.getOverrideTranslatedValue
(String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode) protected String
TranslationServiceImpl.getTemplateTranslatedValue
(String standardCacheKey, String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode, String specificPropertyKey, String generalPropertyKey) protected List<Translation>
SparseTranslationOverrideStrategy.getTemplateTranslations
(TranslatedEntity entityType, String entityId, String property, String localeCode) TranslationService.getTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) Attempts to find the translation object for the given parametersTranslationServiceImpl.getTranslation
(TranslatedEntity entity, String entityId, String fieldName, String localeCode) -
Uses of TranslatedEntity in org.broadleafcommerce.core.search.service.solr.index
Methods in org.broadleafcommerce.core.search.service.solr.index with parameters of type TranslatedEntityModifier and TypeMethodDescriptionprotected void
I18nSolrIndexServiceExtensionHandler.addEntitiesToTranslationCache
(List<String> entityIds, TranslatedEntity translatedEntity)