se.cambio.cds.model.externalElementLink.dao
Class StandardSQLExternalElementLinkDAO

Package class diagram package StandardSQLExternalElementLinkDAO
java.lang.Object
  extended by se.cambio.cds.model.externalElementLink.dao.StandardSQLExternalElementLinkDAO
All Implemented Interfaces:
SQLExternalElementLinkDAO

public class StandardSQLExternalElementLinkDAO
extends Object
implements SQLExternalElementLinkDAO

Author:
iago.corbal

Constructor Summary
StandardSQLExternalElementLinkDAO()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSQLExternalElementLinkDAO

public StandardSQLExternalElementLinkDAO()
Method Detail

search

public Collection<ExternalElementLinkDTO> search(Connection connection,
                                                 String idExternalElement,
                                                 String idDataSource)
                                          throws InternalErrorException,
                                                 ModelException
Specified by:
search in interface SQLExternalElementLinkDAO
Throws:
InternalErrorException
ModelException

searchByElementId

public Collection<ExternalElementLinkDTO> searchByElementId(Connection connection,
                                                            Integer idElement)
                                                     throws InternalErrorException,
                                                            ModelException
Specified by:
searchByElementId in interface SQLExternalElementLinkDAO
Throws:
InternalErrorException
ModelException

add

public void add(Connection connection,
                ExternalElementLinkDTO externalElementLinkDTO)
         throws InternalErrorException,
                ModelException
Specified by:
add in interface SQLExternalElementLinkDAO
Throws:
InternalErrorException
ModelException

remove

public void remove(Connection connection,
                   ExternalElementLinkDTO externalElementLinkDTO)
            throws InternalErrorException,
                   ModelException
Specified by:
remove in interface SQLExternalElementLinkDAO
Throws:
InternalErrorException
ModelException

removeByDataSourceId

public int removeByDataSourceId(Connection connection,
                                String idDataSource)
                         throws InternalErrorException,
                                ModelException
Specified by:
removeByDataSourceId in interface SQLExternalElementLinkDAO
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.