public class MessageServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.common.service.MessageService
| Constructor and Description |
|---|
MessageServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countMessageIds() |
Integer |
countMessageIdsByStatusOrderByPushAt(Integer status) |
boolean |
delete(Long id) |
List<Long> |
getMessageIds(Integer start,
Integer limit) |
List<Long> |
getMessageIdsByStatusOrderByPushAt(Integer status,
Integer start,
Integer limit) |
com.ptteng.keeper.common.model.Message |
getObjectById(Long id) |
List<com.ptteng.keeper.common.model.Message> |
getObjectsByIds(List<Long> ids) |
Long |
insert(com.ptteng.keeper.common.model.Message message) |
List<com.ptteng.keeper.common.model.Message> |
insertList(List<com.ptteng.keeper.common.model.Message> messageList) |
boolean |
update(com.ptteng.keeper.common.model.Message message) |
boolean |
updateList(List<com.ptteng.keeper.common.model.Message> messageList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.common.model.Message message) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Message> insertList(List<com.ptteng.keeper.common.model.Message> messageList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.common.service.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 in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.common.model.Message message)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.common.model.Message> messageList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.common.model.Message getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Message> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getMessageIdsByStatusOrderByPushAt(Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getMessageIdsByStatusOrderByPushAt in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countMessageIdsByStatusOrderByPushAt(Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countMessageIdsByStatusOrderByPushAt in interface com.ptteng.keeper.common.service.MessageServicecom.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 in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countMessageIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countMessageIds in interface com.ptteng.keeper.common.service.MessageServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.