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

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

public class StandardSQLElementDAO
extends Object
implements SQLElementDAO

Author:
iago.corbal

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

Constructor Detail

StandardSQLElementDAO

public StandardSQLElementDAO()
Method Detail

search

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

searchAll

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

add

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

remove

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


Copyright © 2013 Cambio. All Rights Reserved.