public interface ProductService
extends com.ptteng.common.dao.BaseDaoService
| Modifier and Type | Method and Description |
|---|---|
Integer |
countProductIds() |
Integer |
countProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule) |
Integer |
countProductIdsByStatusOrderByStatusChangeAt(Integer status) |
boolean |
delete(Long id) |
Product |
getObjectById(Long id) |
List<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(Product product) |
List<Product> |
insertList(List<Product> productList) |
boolean |
update(Product product) |
boolean |
updateList(List<Product> productList) |
Long insert(Product product) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Product> insertList(List<Product> productList) 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(Product product) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionboolean updateList(List<Product> productList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionProduct getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Product> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countProductIdsByStatusOrderByStatusChangeAt(Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getProductIdsByBelongModuleOrderByStatusChangeAt(Integer belongModule, 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> getProductIdsByStatusAndTypeOrderByStatusChangeAt(Integer status, Integer 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> getProductIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionInteger countProductIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2018. All rights reserved.