se.cambio.cds.model.externalElementLink.dao
Interface SQLExternalElementLinkDAO

Package class diagram package SQLExternalElementLinkDAO
All Known Implementing Classes:
StandardSQLExternalElementLinkDAO

public interface SQLExternalElementLinkDAO

Author:
iago.corbal

Method Summary
 void add(Connection connection, ExternalElementLinkDTO externalElementLinkDTO)
           
 void remove(Connection connection, ExternalElementLinkDTO externalElementLinkDTO)
           
 int removeByDataSourceId(Connection connection, String idDataSource)
           
 Collection<ExternalElementLinkDTO> search(Connection connection, String idExternalElement, String idDataSource)
           
 Collection<ExternalElementLinkDTO> searchByElementId(Connection connection, Integer idElement)
           
 

Method Detail

search

Collection<ExternalElementLinkDTO> search(Connection connection,
                                          String idExternalElement,
                                          String idDataSource)
                                          throws InternalErrorException,
                                                 ModelException
Throws:
InternalErrorException
ModelException

searchByElementId

Collection<ExternalElementLinkDTO> searchByElementId(Connection connection,
                                                     Integer idElement)
                                                     throws InternalErrorException,
                                                            ModelException
Throws:
InternalErrorException
ModelException

add

void add(Connection connection,
         ExternalElementLinkDTO externalElementLinkDTO)
         throws InternalErrorException,
                ModelException
Throws:
InternalErrorException
ModelException

remove

void remove(Connection connection,
            ExternalElementLinkDTO externalElementLinkDTO)
            throws InternalErrorException,
                   ModelException
Throws:
InternalErrorException
ModelException

removeByDataSourceId

int removeByDataSourceId(Connection connection,
                         String idDataSource)
                         throws InternalErrorException,
                                ModelException
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.