se.cambio.cds.model.elementdefinition.dao
Class SQLGenericElementDAO

Package class diagram package SQLGenericElementDAO
java.lang.Object
  extended by se.cambio.cds.model.elementdefinition.dao.SQLGenericElementDAO
All Implemented Interfaces:
GenericElementDAO

public class SQLGenericElementDAO
extends Object
implements GenericElementDAO

Author:
iago.corbal

Constructor Summary
SQLGenericElementDAO()
           
 
Method Summary
 ElementDTO add(ElementDTO elementDTO)
           
 void remove(Integer idElement)
           
 ElementDTO search(Integer idElement)
           
 Collection<ElementDTO> searchAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLGenericElementDAO

public SQLGenericElementDAO()
                     throws InternalErrorException
Throws:
InternalErrorException
Method Detail

search

public ElementDTO search(Integer idElement)
                  throws InternalErrorException,
                         ModelException
Specified by:
search in interface GenericElementDAO
Throws:
InternalErrorException
ModelException

searchAll

public Collection<ElementDTO> searchAll()
                                 throws InternalErrorException,
                                        ModelException
Specified by:
searchAll in interface GenericElementDAO
Throws:
InternalErrorException
ModelException

add

public ElementDTO add(ElementDTO elementDTO)
               throws InternalErrorException,
                      ModelException
Specified by:
add in interface GenericElementDAO
Throws:
InternalErrorException
ModelException

remove

public void remove(Integer idElement)
            throws InternalErrorException,
                   ModelException
Specified by:
remove in interface GenericElementDAO
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.