se.cambio.cds.model.guide.dao
Interface SQLGuideDAO

Package class diagram package SQLGuideDAO
All Known Implementing Classes:
StandardSQLGuideDAO

public interface SQLGuideDAO

Author:
iago.corbal

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)
           
 

Method Detail

search

GuideDTO search(Connection connection,
                String idGuide)
                throws InternalErrorException,
                       GuideNotFoundException
Throws:
InternalErrorException
GuideNotFoundException

searchAll

Collection<GuideDTO> searchAll(Connection connection)
                               throws InternalErrorException
Throws:
InternalErrorException

add

GuideDTO add(Connection connection,
             GuideDTO guideDTO)
             throws InternalErrorException,
                    ModelException
Throws:
InternalErrorException
ModelException

update

void update(Connection connection,
            GuideDTO guideDTO)
            throws InternalErrorException,
                   GuideNotFoundException
Throws:
InternalErrorException
GuideNotFoundException

remove

void remove(Connection connection,
            String idGuide)
            throws InternalErrorException,
                   GuideNotFoundException
Throws:
InternalErrorException
GuideNotFoundException


Copyright © 2013 Cambio. All Rights Reserved.