lumis.portal.localization
Interface ICustomStringLocalizationDao

Package class diagram package ICustomStringLocalizationDao
All Superinterfaces:
IStringLocalizationDao
All Known Implementing Classes:
CustomStringLocalizationDaoJdbc

public interface ICustomStringLocalizationDao
extends IStringLocalizationDao

Dao interface for Custom String

Since:
4.0.11

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
 
Methods inherited from interface lumis.portal.localization.IStringLocalizationDao
getStringTable
 

Method Detail

addOrUpdate

void addOrUpdate(CustomStringConfig customStringConfig,
                 ITransaction transaction)
                 throws DaoException,
                        PortalException
Add or Update the specified custom string

Parameters:
customStringConfig -
Throws:
DaoException
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


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.