public interface ArticleService
extends com.ptteng.common.dao.BaseDaoService
| Modifier and Type | Method and Description |
|---|---|
Integer |
countArticleIds() |
Integer |
countArticleIdsByStatusOrderByPushAtAndUpdateAt(Integer status) |
Integer |
countArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt(Integer type,
Integer status) |
Integer |
countArticleIdsByTypeOrderByPushAtAndUpdateAt(Integer type) |
boolean |
delete(Long id) |
List<Long> |
getArticleIds(Integer start,
Integer limit) |
List<Long> |
getArticleIdsByStatusOrderByPushAtAndUpdateAt(Integer status,
Integer start,
Integer limit) |
List<Long> |
getArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt(Integer type,
Integer status,
Integer start,
Integer limit) |
List<Long> |
getArticleIdsByTypeOrderByPushAtAndUpdateAt(Integer type,
Integer start,
Integer limit) |
Article |
getObjectById(Long id) |
List<Article> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Article article) |
List<Article> |
insertList(List<Article> articleList) |
boolean |
update(Article article) |
boolean |
updateList(List<Article> articleList) |
Long insert(Article article) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Article> insertList(List<Article> articleList) 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(Article article) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Article> articleList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionArticle getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Article> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countArticleIdsByTypeOrderByPushAtAndUpdateAt(Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countArticleIdsByStatusOrderByPushAtAndUpdateAt(Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt(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> getArticleIdsByTypeOrderByPushAtAndUpdateAt(Integer type, 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> getArticleIdsByStatusOrderByPushAtAndUpdateAt(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> getArticleIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countArticleIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.