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 StringTranslationDaoImpl.getUpdatedEntityId(TranslatedEntity entityType, Long idValue) protected StringTranslationDaoImpl.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 ofStandardCacheIteminstances.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 TranslatedEntityTranslatedEntity.CATALOGstatic final TranslatedEntityTranslatedEntity.CATEGORYstatic final TranslatedEntityTranslatedEntity.CATEGORY_ATTRIBUTEstatic final TranslatedEntityTranslatedEntity.CHALLENGE_QUESTIONstatic final TranslatedEntityTranslatedEntity.COUNTRYstatic final TranslatedEntityTranslatedEntity.COUNTRY_SUBDIVISIONstatic final TranslatedEntityTranslatedEntity.COUNTRY_SUBDIVISION_CATEGORYstatic final TranslatedEntityTranslatedEntity.CROSS_SALE_PRODUCTstatic final TranslatedEntityTranslatedEntity.CUSTOMER_ATTRIBUTEstatic final TranslatedEntityTranslatedEntity.FIELDstatic final TranslatedEntityTranslatedEntity.FULFILLMENT_OPTIONstatic final TranslatedEntityTranslatedEntity.MEDIAstatic final TranslatedEntityTranslatedEntity.OFFERstatic final TranslatedEntityTranslatedEntity.PAGEstatic final TranslatedEntityTranslatedEntity.PAGE_TEMPLATEstatic final TranslatedEntityTranslatedEntity.PRODUCTstatic final TranslatedEntityTranslatedEntity.PRODUCT_ATTRIBUTEstatic final TranslatedEntityTranslatedEntity.PRODUCT_OPTIONstatic final TranslatedEntityTranslatedEntity.PRODUCT_OPTION_VALUEstatic final TranslatedEntityTranslatedEntity.SEARCH_FACETstatic final TranslatedEntityTranslatedEntity.SITEstatic final TranslatedEntityTranslatedEntity.SKUstatic final TranslatedEntityTranslatedEntity.SKU_ATTRIBUTEstatic final TranslatedEntityTranslatedEntity.STATIC_ASSETstatic final TranslatedEntityTranslatedEntity.STRUCTURED_CONTENTstatic final TranslatedEntityTranslatedEntity.STRUCTURED_CONTENT_TYPEstatic final TranslatedEntityTranslatedEntity.UP_SALE_PRODUCTMethods in org.broadleafcommerce.common.i18n.domain that return TranslatedEntityModifier and TypeMethodDescriptionTranslation.getEntityType()TranslationImpl.getEntityType()static TranslatedEntityTranslatedEntity.getInstance(String type) static TranslatedEntityTranslatedEntity.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 TypeMethodDescriptionvoidTranslation.setEntityType(TranslatedEntity entityType) voidTranslationImpl.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 TranslatedEntityTranslationServiceImpl.getEntityType(Class<?> entityClass) protected TranslatedEntityTranslationServiceImpl.getEntityType(Object entity) Methods in org.broadleafcommerce.common.i18n.service with parameters of type TranslatedEntityModifier and TypeMethodDescriptionprotected static StringTranslationBatchReadCache.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 StringSparseTranslationOverrideStrategy.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 TranslationTranslationBatchReadCache.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 StringTranslationServiceImpl.getOverrideTranslatedValue(String property, TranslatedEntity entityType, String entityId, String localeCode, String localeCountryCode) protected StringTranslationServiceImpl.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 voidI18nSolrIndexServiceExtensionHandler.addEntitiesToTranslationCache(List<String> entityIds, TranslatedEntity translatedEntity)