public class UserMessageRelationServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.learn.common.service.UserMessageRelationService
| Constructor and Description |
|---|
UserMessageRelationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countUserMessageRelationIds() |
Integer |
countUserMessageRelationIdsByName(Long targetId) |
Integer |
countUserMessageRelationIdsByNameAndNick(Long targetId,
Long userId) |
Integer |
countUserMessageRelationIdsByNick(Long userId) |
boolean |
delete(Long id) |
com.ptteng.learn.common.model.UserMessageRelation |
getObjectById(Long id) |
List<com.ptteng.learn.common.model.UserMessageRelation> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getUserMessageRelationIds(Integer start,
Integer limit) |
List<Long> |
getUserMessageRelationIdsByName(Long targetId,
Integer start,
Integer limit) |
List<Long> |
getUserMessageRelationIdsByNameAndNick(Long targetId,
Long userId,
Integer start,
Integer limit) |
List<Long> |
getUserMessageRelationIdsByNick(Long userId,
Integer start,
Integer limit) |
Long |
insert(com.ptteng.learn.common.model.UserMessageRelation userMessageRelation) |
List<com.ptteng.learn.common.model.UserMessageRelation> |
insertList(List<com.ptteng.learn.common.model.UserMessageRelation> userMessageRelationList) |
boolean |
update(com.ptteng.learn.common.model.UserMessageRelation userMessageRelation) |
boolean |
updateList(List<com.ptteng.learn.common.model.UserMessageRelation> userMessageRelationList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.learn.common.model.UserMessageRelation userMessageRelation) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.learn.common.model.UserMessageRelation> insertList(List<com.ptteng.learn.common.model.UserMessageRelation> userMessageRelationList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.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.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.learn.common.model.UserMessageRelation userMessageRelation)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.learn.common.model.UserMessageRelation> userMessageRelationList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.learn.common.model.UserMessageRelation getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.learn.common.model.UserMessageRelation> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUserMessageRelationIdsByNameAndNick(Long targetId, Long userId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserMessageRelationIdsByNameAndNick in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUserMessageRelationIdsByNick(Long userId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserMessageRelationIdsByNick in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUserMessageRelationIdsByName(Long targetId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserMessageRelationIdsByName in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countUserMessageRelationIdsByNameAndNick(Long targetId, Long userId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countUserMessageRelationIdsByNameAndNick in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countUserMessageRelationIdsByNick(Long userId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countUserMessageRelationIdsByNick in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countUserMessageRelationIdsByName(Long targetId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countUserMessageRelationIdsByName in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUserMessageRelationIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUserMessageRelationIds in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countUserMessageRelationIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countUserMessageRelationIds in interface com.ptteng.learn.common.service.UserMessageRelationServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.