se.cambio.cds.model.recommendation.dao
Class StandardSQLRecommendationDAO

Package class diagram package StandardSQLRecommendationDAO
java.lang.Object
  extended by se.cambio.cds.model.recommendation.dao.StandardSQLRecommendationDAO
All Implemented Interfaces:
SQLRecommendationDAO

public class StandardSQLRecommendationDAO
extends Object
implements SQLRecommendationDAO

Author:
iago.corbal

Constructor Summary
StandardSQLRecommendationDAO()
           
 
Method Summary
 RecommendationDTO add(Connection connection, RecommendationDTO recommendationDTO)
           
 void remove(Connection connection, Long idRecommendation)
           
 RecommendationDTO search(Connection connection, Long idRecommendation)
           
 Collection<RecommendationDTO> searchUnresolved(Connection connection)
           
 void update(Connection connection, RecommendationDTO recommendationDTO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSQLRecommendationDAO

public StandardSQLRecommendationDAO()
Method Detail

search

public RecommendationDTO search(Connection connection,
                                Long idRecommendation)
                         throws InternalErrorException,
                                ModelException
Specified by:
search in interface SQLRecommendationDAO
Throws:
InternalErrorException
ModelException

searchUnresolved

public Collection<RecommendationDTO> searchUnresolved(Connection connection)
                                               throws InternalErrorException,
                                                      ModelException
Specified by:
searchUnresolved in interface SQLRecommendationDAO
Throws:
InternalErrorException
ModelException

add

public RecommendationDTO add(Connection connection,
                             RecommendationDTO recommendationDTO)
                      throws InternalErrorException,
                             ModelException
Specified by:
add in interface SQLRecommendationDAO
Throws:
InternalErrorException
ModelException

update

public void update(Connection connection,
                   RecommendationDTO recommendationDTO)
            throws InternalErrorException,
                   ModelException
Specified by:
update in interface SQLRecommendationDAO
Throws:
InternalErrorException
ModelException

remove

public void remove(Connection connection,
                   Long idRecommendation)
            throws InternalErrorException,
                   ModelException
Specified by:
remove in interface SQLRecommendationDAO
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.