Package lumis.portal.service.type
Interface IServiceTypeDao
-
- All Known Implementing Classes:
ServiceTypeDaoJdbc
public interface IServiceTypeDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addOrUpdate(ServiceTypeConfig definition, ITransaction transaction)
Add or update the service's type.void
delete(String serviceType, ITransaction transaction)
Delete the service's type.ServiceTypeConfig
get(String serviceType, ITransaction transaction)
Get the service's type.
-
-
-
Method Detail
-
addOrUpdate
void addOrUpdate(ServiceTypeConfig definition, ITransaction transaction) throws DaoException, PortalException
Add or update the service's type. Add the service's type if it don't exist.- Parameters:
definition
-transaction
-- Throws:
DaoException
PortalException
-
delete
void delete(String serviceType, ITransaction transaction) throws DaoException, PortalException
Delete the service's type.- Parameters:
serviceType
-transaction
-- Throws:
DaoException
PortalException
-
get
ServiceTypeConfig get(String serviceType, ITransaction transaction) throws DaoException, PortalException
Get the service's type.- Parameters:
serviceType
-transaction
-- Returns:
- Throws:
DaoException
PortalException
-
-