se.cambio.cds.model.guide.dao
Class StandardSQLGuideDAO
java.lang.Object
se.cambio.cds.model.guide.dao.StandardSQLGuideDAO
- All Implemented Interfaces:
- SQLGuideDAO
public class StandardSQLGuideDAO
- extends Object
- implements SQLGuideDAO
- Author:
- iago.corbal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardSQLGuideDAO
public StandardSQLGuideDAO()
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.