public class MessageSCAClient extends Object implements MessageService
| 构造器和说明 |
|---|
MessageSCAClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countMessageIds() |
Integer |
countMessageIdsByFromUid(Long fromUid) |
Integer |
countMessageIdsByToUid(Long toUid) |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
List<Long> |
getMessageIds(Integer start,
Integer limit) |
List<Long> |
getMessageIdsByFromUid(Long fromUid,
Integer start,
Integer limit) |
List<Long> |
getMessageIdsByToUid(Long toUid,
Integer start,
Integer limit) |
MessageService |
getMessageService() |
Message |
getObjectById(Long id) |
List<Message> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Message message) |
List<Message> |
insertList(List<Message> messageList) |
void |
setMessageService(MessageService messageService) |
boolean |
update(Message message) |
boolean |
updateList(List<Message> messageList) |
public MessageService getMessageService()
public void setMessageService(MessageService messageService)
public Long insert(Message message) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Message> insertList(List<Message> messageList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Message message) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Message> messageList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Message getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Message> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getMessageIdsByFromUid(Long fromUid, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getMessageIdsByFromUid 在接口中 MessageService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getMessageIdsByToUid(Long toUid, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getMessageIdsByToUid 在接口中 MessageService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countMessageIdsByFromUid(Long fromUid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countMessageIdsByFromUid 在接口中 MessageService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countMessageIdsByToUid(Long toUid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countMessageIdsByToUid 在接口中 MessageService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getMessageIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getMessageIds 在接口中 MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countMessageIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countMessageIds 在接口中 MessageServicecom.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 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 © 2017. All rights reserved.