se.cambio.cds.model.agent.dao
Class SQLGenericAgentDAO
java.lang.Object
se.cambio.cds.model.agent.dao.SQLGenericAgentDAO
- All Implemented Interfaces:
- GenericAgentDAO
public class SQLGenericAgentDAO
- extends Object
- implements GenericAgentDAO
- Author:
- iago.corbal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLGenericAgentDAO
public SQLGenericAgentDAO()
throws InternalErrorException
- Throws:
InternalErrorException
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.