Package | Description |
---|---|
org.broadleafcommerce.common.i18n.dao | |
org.broadleafcommerce.common.i18n.domain | |
org.broadleafcommerce.common.i18n.service |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
TranslationDaoImpl.getIdPropertyMetadata(TranslatedEntity entity) |
Map<String,Object> |
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)
|
Translation |
TranslationDaoImpl.readTranslation(TranslatedEntity entity,
String entityId,
String fieldName,
String localeCode) |
Translation |
TranslationDao.readTranslation(TranslatedEntity entity,
String entityId,
String fieldName,
String localeCode)
Reads a translation for the requested parameters.
|
List<Translation> |
TranslationDaoImpl.readTranslations(TranslatedEntity entity,
String entityId,
String fieldName) |
List<Translation> |
TranslationDao.readTranslations(TranslatedEntity entity,
String entityId,
String fieldName)
Reads all translations for a given field
|
Modifier and Type | Field and Description |
---|---|
static TranslatedEntity |
TranslatedEntity.CATEGORY |
static TranslatedEntity |
TranslatedEntity.FULFILLMENT_OPTION |
static TranslatedEntity |
TranslatedEntity.OFFER |
static TranslatedEntity |
TranslatedEntity.PRODUCT |
static TranslatedEntity |
TranslatedEntity.PRODUCT_OPTION |
static TranslatedEntity |
TranslatedEntity.PRODUCT_OPTION_VALUE |
static TranslatedEntity |
TranslatedEntity.SEARCH_FACET |
static TranslatedEntity |
TranslatedEntity.SKU |
static TranslatedEntity |
TranslatedEntity.STATIC_ASSET |
Modifier and Type | Method and Description |
---|---|
TranslatedEntity |
TranslationImpl.getEntityType() |
TranslatedEntity |
Translation.getEntityType() |
static TranslatedEntity |
TranslatedEntity.getInstance(String type) |
static TranslatedEntity |
TranslatedEntity.getInstanceFromFriendlyType(String friendlyType) |
Modifier and Type | Method and Description |
---|---|
static Map<String,TranslatedEntity> |
TranslatedEntity.getTypes() |
Modifier and Type | Method and Description |
---|---|
void |
TranslationImpl.setEntityType(TranslatedEntity entityType) |
void |
Translation.setEntityType(TranslatedEntity entityType) |
Modifier and Type | Method and Description |
---|---|
protected TranslatedEntity |
TranslationServiceImpl.getEntityType(Class<?> entityClass) |
protected TranslatedEntity |
TranslationServiceImpl.getEntityType(Object entity) |
protected TranslatedEntity |
TranslationServiceImpl.getEntityType(String className) |
Modifier and Type | Method and Description |
---|---|
protected String |
TranslationServiceImpl.getCacheKey(TranslatedEntity entityType,
String entityId,
String property,
String localeCode) |
protected String |
TranslationServiceImpl.getEntityId(Object entity,
TranslatedEntity entityType) |
Translation |
TranslationServiceImpl.getTranslation(TranslatedEntity entity,
String entityId,
String fieldName,
String localeCode) |
Translation |
TranslationService.getTranslation(TranslatedEntity entity,
String entityId,
String fieldName,
String localeCode)
Attempts to find the translation object for the given parameters
|
Copyright © 2014. All rights reserved.