public class BookUnitServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.learn.course.service.BookUnitService
| 构造器和说明 |
|---|
BookUnitServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countBookUnitIds() |
boolean |
delete(Long id) |
List<Long> |
getBookUnitIds(Integer start,
Integer limit) |
List<Long> |
getBookUnitIdsByBid(Long bid) |
List<Long> |
getBookUnitIdsByBidAndStatus(Long bid,
Integer status) |
Long |
getIdByNameAndBookId(String name,
Long bid) |
Long |
getIdBySortAndBookId(Integer sort,
Long bid) |
com.ptteng.learn.course.model.BookUnit |
getObjectById(Long id) |
List<com.ptteng.learn.course.model.BookUnit> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getUnitIdsByStatusOrderBySort(Integer status,
Integer start,
Integer limit) |
Long |
insert(com.ptteng.learn.course.model.BookUnit bookUnit) |
List<com.ptteng.learn.course.model.BookUnit> |
insertList(List<com.ptteng.learn.course.model.BookUnit> bookUnitList) |
boolean |
update(com.ptteng.learn.course.model.BookUnit bookUnit) |
boolean |
updateList(List<com.ptteng.learn.course.model.BookUnit> bookUnitList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.learn.course.model.BookUnit bookUnit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.learn.course.model.BookUnit> insertList(List<com.ptteng.learn.course.model.BookUnit> bookUnitList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean delete(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
delete 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.learn.course.model.BookUnit bookUnit)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.learn.course.model.BookUnit> bookUnitList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.learn.course.model.BookUnit getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.learn.course.model.BookUnit> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getBookUnitIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getBookUnitIds 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countBookUnitIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countBookUnitIds 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getUnitIdsByStatusOrderBySort(Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getUnitIdsByStatusOrderBySort 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getIdByNameAndBookId(String name, Long bid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdByNameAndBookId 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getBookUnitIdsByBid(Long bid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getBookUnitIdsByBid 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getBookUnitIdsByBidAndStatus(Long bid, Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getBookUnitIdsByBidAndStatus 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Long getIdBySortAndBookId(Integer sort, Long bid) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdBySortAndBookId 在接口中 com.ptteng.learn.course.service.BookUnitServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2017. All rights reserved.