public class UserReadRecordServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.common.service.UserReadRecordService
| Constructor and Description |
|---|
UserReadRecordServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countUserReadRecordIds() |
Integer |
countUserReadRecordIdsByUidAndStatusAndType(Long uid,
Integer status,
Integer type) |
boolean |
delete(Long id) |
com.ptteng.keeper.common.model.UserReadRecord |
getObjectById(Long id) |
List<com.ptteng.keeper.common.model.UserReadRecord> |
getObjectsByIds(List<Long> ids) |
Long |
getUserReadRecordIdByTargetIdAndUid(Long targetId,
Long uid) |
Long |
getUserReadRecordIdByTargetIdAndUidAndStatus(Long targetId,
Long uid,
Integer status) |
Long |
getUserReadRecordIdByTargetIdAndUidAndStatusAndType(Long targetId,
Long uid,
Integer status,
Integer type) |
Long |
getUserReadRecordIdByTargetIdAndUidAndType(Long targetId,
Long uid,
Integer type) |
List<Long> |
getUserReadRecordIds(Integer start,
Integer limit) |
List<Long> |
getUserReadRecordIdsByUidAndStatusAndType(Long uid,
Integer status,
Integer type,
Integer start,
Integer limit) |
Long |
insert(com.ptteng.keeper.common.model.UserReadRecord userReadRecord) |
List<com.ptteng.keeper.common.model.UserReadRecord> |
insertList(List<com.ptteng.keeper.common.model.UserReadRecord> userReadRecordList) |
boolean |
update(com.ptteng.keeper.common.model.UserReadRecord userReadRecord) |
boolean |
updateList(List<com.ptteng.keeper.common.model.UserReadRecord> userReadRecordList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.common.model.UserReadRecord userReadRecord) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.UserReadRecord> insertList(List<com.ptteng.keeper.common.model.UserReadRecord> userReadRecordList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.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.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.common.model.UserReadRecord userReadRecord)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.common.model.UserReadRecord> userReadRecordList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.common.model.UserReadRecord getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.UserReadRecord> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getUserReadRecordIdByTargetIdAndUid(Long targetId, Long uid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserReadRecordIdByTargetIdAndUid in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUserReadRecordIdsByUidAndStatusAndType(Long uid, Integer status, Integer type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserReadRecordIdsByUidAndStatusAndType in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getUserReadRecordIdByTargetIdAndUidAndStatus(Long targetId, Long uid, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserReadRecordIdByTargetIdAndUidAndStatus in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getUserReadRecordIdByTargetIdAndUidAndType(Long targetId, Long uid, Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserReadRecordIdByTargetIdAndUidAndType in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getUserReadRecordIdByTargetIdAndUidAndStatusAndType(Long targetId, Long uid, Integer status, Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserReadRecordIdByTargetIdAndUidAndStatusAndType in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countUserReadRecordIdsByUidAndStatusAndType(Long uid, Integer status, Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countUserReadRecordIdsByUidAndStatusAndType in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUserReadRecordIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserReadRecordIds in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countUserReadRecordIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countUserReadRecordIds in interface com.ptteng.keeper.common.service.UserReadRecordServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.