public class AnswerSCAClient extends Object implements AnswerService
| 构造器和说明 |
|---|
AnswerSCAClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countAnswerIds() |
Integer |
countAnswerIdsByTaskIdOrderByCreateAt(Long taskId) |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getAnswerIds(Integer start,
Integer limit) |
List<Long> |
getAnswerIdsByTaskIdOrderByCreateAt(Long taskId,
Integer start,
Integer limit) |
AnswerService |
getAnswerService() |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Object |
getObjectByDynamicCondition(Class aClass,
Map<String,Object> map,
Integer integer,
Integer integer1) |
Answer |
getObjectById(Long id) |
List<Answer> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Answer answer) |
List<Answer> |
insertList(List<Answer> answerList) |
void |
setAnswerService(AnswerService answerService) |
boolean |
update(Answer answer) |
boolean |
updateList(List<Answer> answerList) |
public AnswerService getAnswerService()
public void setAnswerService(AnswerService answerService)
public Long insert(Answer answer) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Answer> insertList(List<Answer> answerList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Answer answer) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Answer> answerList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Answer getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Answer> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getAnswerIdsByTaskIdOrderByCreateAt(Long taskId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getAnswerIdsByTaskIdOrderByCreateAt 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countAnswerIdsByTaskIdOrderByCreateAt(Long taskId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countAnswerIdsByTaskIdOrderByCreateAt 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getAnswerIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getAnswerIds 在接口中 AnswerServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countAnswerIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countAnswerIds 在接口中 AnswerServicecom.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 在接口中 com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Object getObjectByDynamicCondition(Class aClass, Map<String,Object> map, Integer integer, Integer integer1) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectByDynamicCondition 在接口中 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 在接口中 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 在接口中 com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.