Package lumis.portal.service
Interface IServiceDao
-
- All Known Implementing Classes:
ServiceDaoHib
public interface IServiceDao
Interface for service DAO- Since:
- 4.0.0
- Version:
- $Revision: 7370 $ $Date: 2007-06-12 13:50:49 -0300 (Tue, 12 Jun 2007) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(ServiceConfig serviceConfig, ITransaction transaction)
Add the service.void
clearCache()
Clears the caches in this DAO.boolean
delete(String serviceId, ITransaction transaction)
Delete the service.ServiceConfig
get(String serviceId, ITransaction transaction)
Get the service.ServiceConfig
getByBaseUrl(String baseUrl, ITransaction daoTransaction)
Returns a ServiceConfig by it's baseUrl.Collection<String>
getServicesIds(boolean getInstantiableServicesOnly, ITransaction transaction)
Get the ids of services.void
update(ServiceConfig serviceConfig, ITransaction transaction)
Update the service.
-
-
-
Method Detail
-
get
ServiceConfig get(String serviceId, ITransaction transaction) throws DaoException, PortalException
Get the service.- Parameters:
serviceId
-transaction
-- Returns:
- Throws:
DaoException
PortalException
-
add
void add(ServiceConfig serviceConfig, ITransaction transaction) throws DaoException, PortalException
Add the service. Add the service if it don't exist.- Parameters:
serviceConfig
-transaction
-- Throws:
DaoException
PortalException
-
update
void update(ServiceConfig serviceConfig, ITransaction transaction) throws DaoException, PortalException
Update the service.- Parameters:
serviceConfig
-transaction
-- Throws:
DaoException
PortalException
-
delete
boolean delete(String serviceId, ITransaction transaction) throws DaoException, PortalException
Delete the service.- Parameters:
serviceId
-transaction
-- Throws:
DaoException
PortalException
-
getServicesIds
Collection<String> getServicesIds(boolean getInstantiableServicesOnly, ITransaction transaction) throws PortalException
Get the ids of services.- Parameters:
transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByBaseUrl
ServiceConfig getByBaseUrl(String baseUrl, ITransaction daoTransaction) throws DaoException, PortalException
Returns a ServiceConfig by it's baseUrl.- Parameters:
baseUrl
-daoTransaction
-- Returns:
- Throws:
DaoException
PortalException
- Since:
- 4.0.8
-
clearCache
void clearCache() throws PortalException
Clears the caches in this DAO.- Throws:
PortalException
- Since:
- 4.0.11
-
-