public class ProductService
extends java.lang.Object
| Constructor and Description |
|---|
ProductService(BaseDTO dto) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.Map> |
getAllComponentTranslation()
Retrieves translated messages of all components of a product in the requested locale (See the dto object).
|
java.util.Set<java.lang.String> |
getCachedSupportedLocales()
Retrieves the combined set of cached supported locales from all data sources.
|
java.util.Set<java.lang.String> |
getCachedSupportedLocales(DataSourceEnum dataSource)
Retrieves the cached set of locales that are supported in the given data source.
|
java.util.List<java.lang.String> |
getComponents()
Retrieves the list of components of a product.
|
java.util.Set<java.lang.String> |
getSupportedLocales(DataSourceEnum dataSource)
Retrieves the set of locales that are supported in the given data source.
|
public ProductService(BaseDTO dto)
public java.util.List<java.util.Map> getAllComponentTranslation()
public java.util.List<java.lang.String> getComponents()
public java.util.Set<java.lang.String> getCachedSupportedLocales()
public java.util.Set<java.lang.String> getCachedSupportedLocales(DataSourceEnum dataSource)
dataSource - The data sourcepublic java.util.Set<java.lang.String> getSupportedLocales(DataSourceEnum dataSource)
dataSource - The data source