org.ow2.dragon.persistence.dao.deployment
Interface EndpointDAO

All Superinterfaces:
GenericORMDAO<Endpoint,java.lang.String>
All Known Implementing Classes:
EndpointDAOImpl

public interface EndpointDAO
extends GenericORMDAO<Endpoint,java.lang.String>

Author:
ofabre - eBM WebSourcing

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 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
 

Method Detail

getByNameAndServiceFullName

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.

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

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.

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

java.util.List<Endpoint> getAllEndpoints(java.lang.String serviceId)
Retrieve the endpoints from the given serviceID

Parameters:
serviceId - a technical service id
Returns:
the Endpoint list that have the given TechnicalService.


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.