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

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

public class SQLGenericRecommendationDAO
extends Object
implements GenericRecommendationDAO

Author:
iago.corbal

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

Constructor Detail

SQLGenericRecommendationDAO

public SQLGenericRecommendationDAO()
                            throws InternalErrorException
Throws:
InternalErrorException
Method Detail

search

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

searchUnresolved

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

add

public RecommendationDTO add(RecommendationDTO RecommendationDTO)
                      throws InternalErrorException,
                             ModelException
Specified by:
add in interface GenericRecommendationDAO
Throws:
InternalErrorException
ModelException

update

public void update(RecommendationDTO RecommendationDTO)
            throws InternalErrorException,
                   ModelException
Specified by:
update in interface GenericRecommendationDAO
Throws:
InternalErrorException
ModelException

remove

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


Copyright © 2013 Cambio. All Rights Reserved.