se.cambio.cds.model.dataSource.dao
Class StandardSQLDataSourceDAO

Package class diagram package StandardSQLDataSourceDAO
java.lang.Object
  extended by se.cambio.cds.model.dataSource.dao.StandardSQLDataSourceDAO
All Implemented Interfaces:
SQLDataSourceDAO

public class StandardSQLDataSourceDAO
extends Object
implements SQLDataSourceDAO

Author:
iago.corbal

Constructor Summary
StandardSQLDataSourceDAO()
           
 
Method Summary
 void add(Connection connection, DataSourceDTO dataSourceDTO)
           
 void remove(Connection connection, String idDataSource)
           
 DataSourceDTO search(Connection connection, String idDataSource)
           
 Collection<DataSourceDTO> searchAll(Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSQLDataSourceDAO

public StandardSQLDataSourceDAO()
Method Detail

search

public DataSourceDTO search(Connection connection,
                            String idDataSource)
                     throws InternalErrorException,
                            ModelException
Specified by:
search in interface SQLDataSourceDAO
Throws:
InternalErrorException
ModelException

searchAll

public Collection<DataSourceDTO> searchAll(Connection connection)
                                    throws InternalErrorException,
                                           ModelException
Specified by:
searchAll in interface SQLDataSourceDAO
Throws:
InternalErrorException
ModelException

add

public void add(Connection connection,
                DataSourceDTO dataSourceDTO)
         throws InternalErrorException,
                ModelException
Specified by:
add in interface SQLDataSourceDAO
Throws:
InternalErrorException
ModelException

remove

public void remove(Connection connection,
                   String idDataSource)
            throws InternalErrorException,
                   ModelException
Specified by:
remove in interface SQLDataSourceDAO
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.