public interface ContentsService
extends com.ptteng.common.dao.BaseDaoService
| Modifier and Type | Method and Description |
|---|---|
Integer |
countContentsIds() |
Integer |
countContentsIdsByTypeAndStatusOrderByLevel(Integer type,
Integer status) |
Integer |
countContentsIdsByTypeAndStatusOrderByPublishAt(Integer type,
Integer status) |
boolean |
delete(Long id) |
List<Long> |
getContentsIds(Integer start,
Integer limit) |
List<Long> |
getContentsIdsByTypeAndStatusOrderByLevel(Integer type,
Integer status,
Integer start,
Integer limit) |
List<Long> |
getContentsIdsByTypeAndStatusOrderByPublishAt(Integer type,
Integer status,
Integer start,
Integer limit) |
Contents |
getObjectById(Long id) |
List<Contents> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Contents contents) |
List<Contents> |
insertList(List<Contents> contentsList) |
boolean |
update(Contents contents) |
boolean |
updateList(List<Contents> contentsList) |
Long insert(Contents contents) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Contents> insertList(List<Contents> contentsList) 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(Contents contents) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Contents> contentsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionContents getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Contents> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countContentsIdsByTypeAndStatusOrderByLevel(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countContentsIdsByTypeAndStatusOrderByPublishAt(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getContentsIdsByTypeAndStatusOrderByLevel(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> getContentsIdsByTypeAndStatusOrderByPublishAt(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> getContentsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countContentsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.