public class ContentsServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.admin.service.ContentsService
| Constructor and Description |
|---|
ContentsServiceImpl() |
| 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) |
com.ptteng.keeper.admin.model.Contents |
getObjectById(Long id) |
List<com.ptteng.keeper.admin.model.Contents> |
getObjectsByIds(List<Long> ids) |
Long |
insert(com.ptteng.keeper.admin.model.Contents contents) |
List<com.ptteng.keeper.admin.model.Contents> |
insertList(List<com.ptteng.keeper.admin.model.Contents> contentsList) |
boolean |
update(com.ptteng.keeper.admin.model.Contents contents) |
boolean |
updateList(List<com.ptteng.keeper.admin.model.Contents> contentsList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.admin.model.Contents contents) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.admin.model.Contents> insertList(List<com.ptteng.keeper.admin.model.Contents> contentsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.admin.service.ContentsServicecom.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.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.admin.model.Contents contents)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.admin.model.Contents> contentsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.admin.model.Contents getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.admin.model.Contents> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getContentsIdsByTypeAndStatusOrderByLevel(Integer type, Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIdsByTypeAndStatusOrderByLevel in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getContentsIdsByTypeAndStatusOrderByPublishAt(Integer type, Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIdsByTypeAndStatusOrderByPublishAt in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIdsByTypeAndStatusOrderByLevel(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIdsByTypeAndStatusOrderByLevel in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIdsByTypeAndStatusOrderByPublishAt(Integer type, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIdsByTypeAndStatusOrderByPublishAt in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getContentsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getContentsIds in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countContentsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countContentsIds in interface com.ptteng.keeper.admin.service.ContentsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.