se.cambio.cds.model.guide.dao
Class StandardSQLGuideDAO

Package class diagram package StandardSQLGuideDAO
java.lang.Object
  extended by se.cambio.cds.model.guide.dao.StandardSQLGuideDAO
All Implemented Interfaces:
SQLGuideDAO

public class StandardSQLGuideDAO
extends Object
implements SQLGuideDAO

Author:
iago.corbal

Constructor Summary
StandardSQLGuideDAO()
           
 
Method Summary
 GuideDTO add(Connection connection, GuideDTO guideDTO)
           
 void remove(Connection connection, String idGuide)
           
 GuideDTO search(Connection connection, String idGuide)
           
 Collection<GuideDTO> searchAll(Connection connection)
           
 void update(Connection connection, GuideDTO guideDTO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSQLGuideDAO

public StandardSQLGuideDAO()
Method Detail

search

public GuideDTO search(Connection connection,
                       String idGuide)
                throws InternalErrorException,
                       GuideNotFoundException
Specified by:
search in interface SQLGuideDAO
Throws:
InternalErrorException
GuideNotFoundException

searchAll

public Collection<GuideDTO> searchAll(Connection connection)
                               throws InternalErrorException
Specified by:
searchAll in interface SQLGuideDAO
Throws:
InternalErrorException

add

public GuideDTO add(Connection connection,
                    GuideDTO guideDTO)
             throws InternalErrorException,
                    ModelException
Specified by:
add in interface SQLGuideDAO
Throws:
InternalErrorException
ModelException

update

public void update(Connection connection,
                   GuideDTO guideDTO)
            throws InternalErrorException,
                   GuideNotFoundException
Specified by:
update in interface SQLGuideDAO
Throws:
InternalErrorException
GuideNotFoundException

remove

public void remove(Connection connection,
                   String idGuide)
            throws InternalErrorException,
                   GuideNotFoundException
Specified by:
remove in interface SQLGuideDAO
Throws:
InternalErrorException
GuideNotFoundException


Copyright © 2013 Cambio. All Rights Reserved.