public class ArticleServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.common.service.ArticleService
| Constructor and Description |
|---|
ArticleServiceImpl() |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.common.model.Article article) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Article> insertList(List<com.ptteng.keeper.common.model.Article> articleList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.common.service.ArticleServicecom.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.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.common.model.Article article)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.common.model.Article> articleList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.common.model.Article getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Article> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt(Integer type, Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getArticleIdsByTypeOrderByPushAtAndUpdateAt(Integer type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getArticleIdsByTypeOrderByPushAtAndUpdateAt in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getArticleIdsByStatusOrderByPushAtAndUpdateAt(Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getArticleIdsByStatusOrderByPushAtAndUpdateAt in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countArticleIdsByTypeAndStatusOrderByPushAtAndUpdateAt in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countArticleIdsByTypeOrderByPushAtAndUpdateAt(Integer type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countArticleIdsByTypeOrderByPushAtAndUpdateAt in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countArticleIdsByStatusOrderByPushAtAndUpdateAt(Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countArticleIdsByStatusOrderByPushAtAndUpdateAt in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getArticleIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getArticleIds in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countArticleIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countArticleIds in interface com.ptteng.keeper.common.service.ArticleServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.