public interface ArticleService
extends com.ptteng.common.dao.BaseDaoService
| Modifier and Type | Method and Description |
|---|---|
Integer |
countArticleIds() |
Integer |
countArticleIdsByCidAndType(Long cid,
String type) |
Integer |
countArticleIdsByOidAndType(Long oid,
String type) |
Integer |
counttArticleIdsByUidAndType(Long uid,
String type) |
boolean |
delete(Long id) |
List<Long> |
getArticleIdByUidAndCid(Long uid,
Long cid,
Integer start,
Integer limit) |
List<Long> |
getArticleIds(Integer start,
Integer limit) |
List<Long> |
getArticleIdsByCidAndType(Long cid,
String type,
Integer start,
Integer limit) |
List<Long> |
getArticleIdsByOidAndType(Long oid,
String type,
Integer start,
Integer limit) |
List<Long> |
getArticleIdsByUidAndType(Long uid,
String type,
Integer start,
Integer limit) |
Long |
getLastArticleIdByUidAndCid(Long uid,
Long cid) |
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 countArticleIdsByCidAndType(Long cid, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getArticleIdsByCidAndType(Long cid, String 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> getArticleIdsByUidAndType(Long uid, String type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger counttArticleIdsByUidAndType(Long uid, String type) 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.ServiceDaoExceptionLong getLastArticleIdByUidAndCid(Long uid, Long cid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getArticleIdByUidAndCid(Long uid, Long cid, 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> getArticleIdsByOidAndType(Long oid, String type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countArticleIdsByOidAndType(Long oid, String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
- com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2016. All Rights Reserved.