public class CustomStringLocalizationDaoJdbc extends Object implements ICustomStringLocalizationDao
Constructor and Description |
---|
CustomStringLocalizationDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
void |
addOrUpdate(CustomStringConfig customStringConfig,
ITransaction transaction)
Add or Update the specified custom string
|
void |
delete(String customStringId,
ITransaction transaction)
Delete CustomString
|
CustomStringConfig |
get(String customStringId,
ITransaction transaction)
Get the CustomString object
|
String |
getIdByStringInfo(CustomStringConfig customStringConfig,
ITransaction transaction)
Get CustomStringId from stringId, resourcePath and localeCode
|
Map<String,String> |
getStringTable(String resourcePath,
Locale locale,
List<ITheme> themes)
Get the string table of the string localization.
|
public Map<String,String> getStringTable(String resourcePath, Locale locale, List<ITheme> themes) throws PortalException
IStringLocalizationDao
getStringTable
in interface IStringLocalizationDao
resourcePath
- the path of the resources to search within for the stringslocale
- the locale to use when searching for the stringsthemes
- the themes to search within for strings, they are expected to be in the search orderPortalException
public void addOrUpdate(CustomStringConfig customStringConfig, ITransaction transaction) throws PortalException
ICustomStringLocalizationDao
addOrUpdate
in interface ICustomStringLocalizationDao
PortalException
public CustomStringConfig get(String customStringId, ITransaction transaction) throws PortalException
ICustomStringLocalizationDao
get
in interface ICustomStringLocalizationDao
PortalException
public void delete(String customStringId, ITransaction transaction) throws PortalException
ICustomStringLocalizationDao
delete
in interface ICustomStringLocalizationDao
PortalException
public String getIdByStringInfo(CustomStringConfig customStringConfig, ITransaction transaction) throws PortalException
ICustomStringLocalizationDao
getIdByStringInfo
in interface ICustomStringLocalizationDao
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.