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

Package class diagram package GenericAgentDAO
All Known Implementing Classes:
SQLGenericAgentDAO

public interface GenericAgentDAO

Author:
iago.corbal

Method Summary
 AgentDTO add(AgentDTO agentDTO)
           
 void remove(Integer idAgent)
           
 AgentDTO search(Integer idAgent)
           
 Collection<AgentDTO> searchAll()
           
 void update(AgentDTO agentDTO)
           
 

Method Detail

search

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

searchAll

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

add

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

update

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

remove

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


Copyright © 2013 Cambio. All Rights Reserved.