public interface MessageService
extends com.ptteng.common.dao.BaseDaoService
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countMessageIds() |
Integer |
countMessageIdsByTypeAndStatus(Integer type,
Integer status) |
boolean |
delete(Long id) |
List<Long> |
getMessageIds(Integer start,
Integer limit) |
List<Long> |
getMessageIdsByTypeAndStatus(Integer type,
Integer status,
Integer start,
Integer limit) |
Message |
getObjectById(Long id) |
List<Message> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Message message) |
List<Message> |
insertList(List<Message> messageList) |
void |
sendNotice(Message message) |
void |
sendNoticeUnicast(UserMessage message,
String deviceToken,
String os) |
boolean |
update(Message message) |
boolean |
updateList(List<Message> messageList) |
Long insert(Message message) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Message> insertList(List<Message> messageList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean update(Message message) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Message> messageList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionMessage getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Message> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countMessageIdsByTypeAndStatus(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getMessageIdsByTypeAndStatus(Integer type, Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getMessageIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countMessageIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionvoid sendNotice(Message message) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionvoid sendNoticeUnicast(UserMessage message, String deviceToken, String os) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.