Package lumis.portal.localization
Interface ICustomStringLocalizationDao
-
- All Superinterfaces:
IStringLocalizationDao
- All Known Implementing Classes:
CustomStringLocalizationDaoJdbc
public interface ICustomStringLocalizationDao extends IStringLocalizationDao
Dao interface for Custom String- Since:
- 4.0.11
- Version:
- $Revision: 17606 $ $Date: 2015-07-24 10:56:40 -0300 (Fri, 24 Jul 2015) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addOrUpdate(CustomStringConfig customStringConfig, ITransaction transaction)
Add or Update the specified custom stringvoid
delete(String customStringId, ITransaction transaction)
Delete CustomStringCustomStringConfig
get(String customStringId, ITransaction transaction)
Get the CustomString objectString
getIdByStringInfo(CustomStringConfig customStringConfig, ITransaction transaction)
Get CustomStringId from stringId, resourcePath and localeCode-
Methods inherited from interface lumis.portal.localization.IStringLocalizationDao
getStringTable
-
-
-
-
Method Detail
-
addOrUpdate
void addOrUpdate(CustomStringConfig customStringConfig, ITransaction transaction) throws PortalException
Add or Update the specified custom string- Parameters:
customStringConfig
-- Throws:
PortalException
-
get
CustomStringConfig get(String customStringId, ITransaction transaction) throws PortalException
Get the CustomString object- Parameters:
sessionConfig
-customStringId
-transaction
-- Returns:
- Throws:
PortalException
-
getIdByStringInfo
String getIdByStringInfo(CustomStringConfig customStringConfig, ITransaction transaction) throws PortalException
Get CustomStringId from stringId, resourcePath and localeCode- Parameters:
customStringConfig
-transaction
-- Returns:
- Throws:
PortalException
-
delete
void delete(String customStringId, ITransaction transaction) throws PortalException
Delete CustomString- Parameters:
customStringId
-transaction
-- Throws:
PortalException
-
-