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

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

public class SQLGenericGuideDAO
extends Object
implements GenericGuideDAO

Author:
iago.corbal

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

Constructor Detail

SQLGenericGuideDAO

public SQLGenericGuideDAO()
                   throws InternalErrorException
Throws:
InternalErrorException
Method Detail

search

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

searchAll

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

add

public GuideDTO add(GuideDTO GuideDTO)
             throws InternalErrorException,
                    ModelException
Specified by:
add in interface GenericGuideDAO
Throws:
InternalErrorException
ModelException

update

public void update(GuideDTO GuideDTO)
            throws InternalErrorException,
                   GuideNotFoundException
Specified by:
update in interface GenericGuideDAO
Throws:
InternalErrorException
GuideNotFoundException

remove

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


Copyright © 2013 Cambio. All Rights Reserved.