se.cambio.cds.model.agent.dao
Class StandardSQLAgentDAO

Package class diagram package StandardSQLAgentDAO
java.lang.Object
  extended by se.cambio.cds.model.agent.dao.StandardSQLAgentDAO
All Implemented Interfaces:
SQLAgentDAO

public class StandardSQLAgentDAO
extends Object
implements SQLAgentDAO

Author:
iago.corbal

Constructor Summary
StandardSQLAgentDAO()
           
 
Method Summary
 AgentDTO add(Connection connection, AgentDTO agentDTO)
           
 void remove(Connection connection, Integer idAgent)
           
 AgentDTO search(Connection connection, Integer idAgent)
           
 Collection<AgentDTO> searchAll(Connection connection)
           
 void update(Connection connection, AgentDTO agentDTO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSQLAgentDAO

public StandardSQLAgentDAO()
Method Detail

search

public AgentDTO search(Connection connection,
                       Integer idAgent)
                throws InternalErrorException,
                       ModelException
Specified by:
search in interface SQLAgentDAO
Throws:
InternalErrorException
ModelException

searchAll

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

add

public AgentDTO add(Connection connection,
                    AgentDTO agentDTO)
             throws InternalErrorException,
                    ModelException
Specified by:
add in interface SQLAgentDAO
Throws:
InternalErrorException
ModelException

update

public void update(Connection connection,
                   AgentDTO agentDTO)
            throws InternalErrorException,
                   ModelException
Specified by:
update in interface SQLAgentDAO
Throws:
InternalErrorException
ModelException

remove

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


Copyright © 2013 Cambio. All Rights Reserved.