public class AgentSCAClient extends Object implements AgentService
| Constructor and Description |
|---|
AgentSCAClient() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countAgentIds() |
Integer |
countAgentIdsByRegionalManagerId(Long regionalManagerId) |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getAgentIds(Integer start,
Integer limit) |
List<Long> |
getAgentIdsByRegionalManagerId(Long regionalManagerId,
Integer start,
Integer limit) |
AgentService |
getAgentService() |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Object |
getObjectByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Agent |
getObjectById(Long id) |
List<Agent> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Agent agent) |
List<Agent> |
insertList(List<Agent> agentList) |
void |
setAgentService(AgentService agentService) |
boolean |
update(Agent agent) |
boolean |
updateList(List<Agent> agentList) |
public AgentService getAgentService()
public void setAgentService(AgentService agentService)
public Long insert(Agent agent) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Agent> insertList(List<Agent> agentList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Agent agent) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Agent> agentList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Agent getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Agent> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getAgentIdsByRegionalManagerId(Long regionalManagerId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getAgentIdsByRegionalManagerId in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countAgentIdsByRegionalManagerId(Long regionalManagerId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countAgentIdsByRegionalManagerId in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getAgentIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getAgentIds in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countAgentIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countAgentIds in interface AgentServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getIdsByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdsByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean fakeDelete(Class clz, Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
fakeDelete in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void deleteList(Class clz, List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
deleteList in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Object getObjectByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2019. All Rights Reserved.