public class ProductServiceImpl
extends com.ptteng.common.dao.BaseDaoServiceImpl
implements com.ptteng.keeper.common.service.ProductService
| Constructor and Description |
|---|
ProductServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countProductIds() |
Integer |
countProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule) |
Integer |
countProductIdsByStatusOrderByStatusChangeAt(Integer status) |
boolean |
delete(Long id) |
com.ptteng.keeper.common.model.Product |
getObjectById(Long id) |
List<com.ptteng.keeper.common.model.Product> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getProductIds(Integer start,
Integer limit) |
List<Long> |
getProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule,
Integer start,
Integer limit) |
List<Long> |
getProductIdsByStatusAndTypeOrderByStatusChangeAt(Integer status,
Integer type,
Integer start,
Integer limit) |
Long |
insert(com.ptteng.keeper.common.model.Product product) |
List<com.ptteng.keeper.common.model.Product> |
insertList(List<com.ptteng.keeper.common.model.Product> productList) |
boolean |
update(com.ptteng.keeper.common.model.Product product) |
boolean |
updateList(List<com.ptteng.keeper.common.model.Product> productList) |
deleteList, fakeDelete, getDao, getIdsByDynamicCondition, getObjectByDynamicCondition, main, setDaopublic Long insert(com.ptteng.keeper.common.model.Product product) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Product> insertList(List<com.ptteng.keeper.common.model.Product> productList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface com.ptteng.keeper.common.service.ProductServicecom.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.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(com.ptteng.keeper.common.model.Product product)
throws com.gemantic.common.exception.ServiceException,
com.gemantic.common.exception.ServiceDaoException
update in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<com.ptteng.keeper.common.model.Product> productList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic com.ptteng.keeper.common.model.Product getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<com.ptteng.keeper.common.model.Product> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getProductIdsByBelongModuleOrderByStatusChangeAt in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getProductIdsByStatusAndTypeOrderByStatusChangeAt(Integer status, Integer type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getProductIdsByStatusAndTypeOrderByStatusChangeAt in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countProductIdsByBelongModuleOrderByStatusChangeAt in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countProductIdsByStatusOrderByStatusChangeAt(Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countProductIdsByStatusOrderByStatusChangeAt in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getProductIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getProductIds in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countProductIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countProductIds in interface com.ptteng.keeper.common.service.ProductServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.