|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.localization.CustomStringLocalizationDaoJdbc
public class CustomStringLocalizationDaoJdbc
DAO class that read custom strings from database
Constructor Summary | |
---|---|
CustomStringLocalizationDaoJdbc()
|
Method Summary | |
---|---|
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)
Get the string table of the string localization. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomStringLocalizationDaoJdbc()
Method Detail |
---|
public Map<String,String> getStringTable(String resourcePath, Locale locale) throws DaoException
IStringLocalizationDao
getStringTable
in interface IStringLocalizationDao
DaoException
public void addOrUpdate(CustomStringConfig customStringConfig, ITransaction transaction) throws DaoException, PortalException
ICustomStringLocalizationDao
addOrUpdate
in interface ICustomStringLocalizationDao
DaoException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |