se.cambio.cds.model.elementdefinition.dao
Interface SQLElementDAO

Package class diagram package SQLElementDAO
All Known Implementing Classes:
StandardSQLElementDAO

public interface SQLElementDAO

Author:
iago.corbal

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)
           
 

Method Detail

search

ElementDTO search(Connection connection,
                  Integer idElement)
                  throws InternalErrorException,
                         ModelException
Throws:
InternalErrorException
ModelException

searchAll

Collection<ElementDTO> searchAll(Connection connection)
                                 throws InternalErrorException,
                                        ModelException
Throws:
InternalErrorException
ModelException

add

ElementDTO add(Connection connection,
               ElementDTO elementDTO)
               throws InternalErrorException,
                      ModelException
Throws:
InternalErrorException
ModelException

remove

void remove(Connection connection,
            Integer idElement)
            throws InternalErrorException,
                   ModelException
Throws:
InternalErrorException
ModelException


Copyright © 2013 Cambio. All Rights Reserved.