lumis.portal.service
Class ServiceDaoJdbc

Package class diagram package ServiceDaoJdbc
java.lang.Object
  extended by lumis.portal.service.ServiceDaoJdbc
All Implemented Interfaces:
IServiceDao

public class ServiceDaoJdbc
extends Object
implements IServiceDao

IServiceDao JDBC implementation

Since:
4.0.0

Constructor Summary
ServiceDaoJdbc()
           
 
Method Summary
 void add(ServiceConfig serviceConfig, ITransaction daoTransaction)
          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 daoTransaction)
          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 daoTransaction)
          Update the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDaoJdbc

public ServiceDaoJdbc()
Method Detail

add

public void add(ServiceConfig serviceConfig,
                ITransaction daoTransaction)
         throws DaoException,
                PortalException
Description copied from interface: IServiceDao
Add the service. Add the service if it don't exist.

Specified by:
add in interface IServiceDao
Throws:
DaoException
PortalException

update

public void update(ServiceConfig serviceConfig,
                   ITransaction daoTransaction)
            throws DaoException,
                   PortalException
Description copied from interface: IServiceDao
Update the service.

Specified by:
update in interface IServiceDao
Throws:
DaoException
PortalException

get

public ServiceConfig get(String serviceId,
                         ITransaction daoTransaction)
                  throws DaoException,
                         PortalException
Description copied from interface: IServiceDao
Get the service.

Specified by:
get in interface IServiceDao
Returns:
Throws:
DaoException
PortalException

delete

public boolean delete(String serviceId,
                      ITransaction transaction)
               throws DaoException,
                      PortalException
Description copied from interface: IServiceDao
Delete the service.

Specified by:
delete in interface IServiceDao
Throws:
DaoException
PortalException

getServicesIds

public Collection<String> getServicesIds(boolean getInstantiableServicesOnly,
                                         ITransaction transaction)
                                  throws DaoException,
                                         PortalException
Description copied from interface: IServiceDao
Get the ids of services.

Specified by:
getServicesIds in interface IServiceDao
Returns:
Throws:
ManagerException
PortalException
DaoException

getByBaseUrl

public ServiceConfig getByBaseUrl(String baseUrl,
                                  ITransaction daoTransaction)
                           throws DaoException,
                                  PortalException
Description copied from interface: IServiceDao
Returns a ServiceConfig by it's baseUrl.

Specified by:
getByBaseUrl in interface IServiceDao
Returns:
Throws:
DaoException
PortalException

clearCache

public void clearCache()
                throws PortalException
Description copied from interface: IServiceDao
Clears the caches in this DAO.

Specified by:
clearCache in interface IServiceDao
Throws:
PortalException


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