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

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

public class SQLGenericExternalElementLinkDAO
extends Object
implements GenericExternalElementLinkDAO

Author:
iago.corbal

Constructor Summary
SQLGenericExternalElementLinkDAO()
           
 
Method Summary
 void add(ExternalElementLinkDTO externalElementLinkDTO)
           
 void remove(ExternalElementLinkDTO externalElementLinkDTO)
           
 int removeByDataSourceId(String dataSourceId)
           
 Collection<ExternalElementLinkDTO> search(String idExternalElement, String idDataSource)
           
 Collection<ExternalElementLinkDTO> searchByElementId(Integer idElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLGenericExternalElementLinkDAO

public SQLGenericExternalElementLinkDAO()
                                 throws InternalErrorException
Throws:
InternalErrorException
Method Detail

search

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

searchByElementId

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

add

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

remove

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

removeByDataSourceId

public int removeByDataSourceId(String dataSourceId)
                         throws InternalErrorException,
                                ModelException
Specified by:
removeByDataSourceId in interface GenericExternalElementLinkDAO
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.