public interface PostsService
extends com.ptteng.common.dao.BaseDaoService
| Modifier and Type | Method and Description |
|---|---|
Integer |
countDigestPostsIdsByGradeOrderByDigestAt(Integer grade) |
Integer |
countNormalPostsIdsByGradeOrderByCreateAt(Integer grade) |
Integer |
countPostsIds() |
Integer |
countPostsIdsByGrade(Integer grade) |
Integer |
countPostsIdsByUidOrderByCreateAt(Long uid) |
boolean |
delete(Long id) |
List<Long> |
getDigestPostsIdsByGradeOrderByDigestAt(Integer grade,
Integer start,
Integer limit) |
List<Long> |
getNormalPostsIdsByGradeOrderByCreateAt(Integer grade,
Integer start,
Integer limit) |
Posts |
getObjectById(Long id) |
List<Posts> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getPostsIds(Integer start,
Integer limit) |
List<Long> |
getPostsIdsByUidOrderByCreateAt(Long uid,
Integer start,
Integer limit) |
List<Long> |
getStickyPostsIdsByGradeOrderByStickyAt(Integer grade) |
Long |
insert(Posts posts) |
List<Posts> |
insertList(List<Posts> postsList) |
boolean |
update(Posts posts) |
boolean |
updateList(List<Posts> postsList) |
Long insert(Posts posts) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Posts> insertList(List<Posts> postsList) 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(Posts posts) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Posts> postsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionPosts getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Posts> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countDigestPostsIdsByGradeOrderByDigestAt(Integer grade) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countNormalPostsIdsByGradeOrderByCreateAt(Integer grade) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countPostsIdsByUidOrderByCreateAt(Long uid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getDigestPostsIdsByGradeOrderByDigestAt(Integer grade, 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> getNormalPostsIdsByGradeOrderByCreateAt(Integer grade, 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> getStickyPostsIdsByGradeOrderByStickyAt(Integer grade) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getPostsIdsByUidOrderByCreateAt(Long uid, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countPostsIdsByGrade(Integer grade) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getPostsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countPostsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2019. All rights reserved.