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

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

public class SQLGenericAgentDAO
extends Object
implements GenericAgentDAO

Author:
iago.corbal

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

Constructor Detail

SQLGenericAgentDAO

public SQLGenericAgentDAO()
                   throws InternalErrorException
Throws:
InternalErrorException
Method Detail

search

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

searchAll

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

add

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

update

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

remove

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


Copyright © 2013 Cambio. All Rights Reserved.