se.cambio.cds.model.agent.dao
Interface SQLAgentDAO

Package class diagram package SQLAgentDAO
All Known Implementing Classes:
StandardSQLAgentDAO

public interface SQLAgentDAO

Author:
iago.corbal

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)
           
 

Method Detail

search

AgentDTO search(Connection connection,
                Integer idAgent)
                throws InternalErrorException,
                       ModelException
Throws:
InternalErrorException
ModelException

searchAll

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

add

AgentDTO add(Connection connection,
             AgentDTO agentDTO)
             throws InternalErrorException,
                    ModelException
Throws:
InternalErrorException
ModelException

update

void update(Connection connection,
            AgentDTO agentDTO)
            throws InternalErrorException,
                   ModelException
Throws:
InternalErrorException
ModelException

remove

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


Copyright © 2013 Cambio. All Rights Reserved.