org.ow2.dragon.persistence.dao.deployment.hibernate
Class EndpointDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl<Endpoint,java.lang.String>
              extended by org.ow2.dragon.persistence.dao.deployment.hibernate.EndpointDAOImpl
All Implemented Interfaces:
EndpointDAO, GenericORMDAO<Endpoint,java.lang.String>, org.springframework.beans.factory.InitializingBean

public class EndpointDAOImpl
extends GenericHibernateDAOImpl<Endpoint,java.lang.String>
implements EndpointDAO

Author:
ofabre - eBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl
type
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
EndpointDAOImpl()
           
 
Method Summary
 java.util.List<Endpoint> getAllEndpoints(java.lang.String serviceId)
          Retrieve the endpoints from the given serviceID
 Endpoint getByNameAndServiceFullName(java.lang.String serviceName, java.lang.String endpointName)
          Retrieve the endpoint that have the given name and which is part of the given technical service.
 Endpoint getByNameAndServiceId(java.lang.String serviceId, java.lang.String endpointName)
          Retrieve the endpoint that have the given name and which is part of the given technical service.
 
Methods inherited from class org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getManipulatedType, remove, remove, save, search, searchAndCount, searchEquals, searchLike, searchUnique, setType
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.dragon.persistence.dao.GenericORMDAO
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getManipulatedType, remove, remove, save, search, searchAndCount, searchEquals, searchLike, searchUnique
 

Constructor Detail

EndpointDAOImpl

public EndpointDAOImpl()
Method Detail

getByNameAndServiceFullName

public Endpoint getByNameAndServiceFullName(java.lang.String serviceName,
                                            java.lang.String endpointName)
Description copied from interface: EndpointDAO
Retrieve the endpoint that have the given name and which is part of the given technical service.

Specified by:
getByNameAndServiceFullName in interface EndpointDAO
Parameters:
serviceName - a technical service full name
endpointName - an endpoint name
Returns:
the Endpoint that have the given name and which is part of the given TechnicalService.

getByNameAndServiceId

public Endpoint getByNameAndServiceId(java.lang.String serviceId,
                                      java.lang.String endpointName)
Description copied from interface: EndpointDAO
Retrieve the endpoint that have the given name and which is part of the given technical service.

Specified by:
getByNameAndServiceId in interface EndpointDAO
Parameters:
serviceId - a technical service id
endpointName - an endpoint name
Returns:
the Endpoint that have the given name and which is part of the given TechnicalService.

getAllEndpoints

public java.util.List<Endpoint> getAllEndpoints(java.lang.String serviceId)
Description copied from interface: EndpointDAO
Retrieve the endpoints from the given serviceID

Specified by:
getAllEndpoints in interface EndpointDAO
Parameters:
serviceId - a technical service id
Returns:
the Endpoint list that have the given TechnicalService.


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.