public interface ProductService
extends com.ptteng.common.dao.BaseDaoService
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
countProductIds() |
Integer |
countProductIdsByTypeOrderByUpdateAt(String type) |
boolean |
delete(Long id) |
Product |
getObjectById(Long id) |
List<Product> |
getObjectsByIds(List<Long> ids) |
Long |
getProductIdByTypeAndName(String type,
String name) |
List<Long> |
getProductIds(Integer start,
Integer limit) |
List<Long> |
getProductIdsByTypeAndStatusOrderByUpdateAt(String type,
String status,
Integer start,
Integer limit) |
List<Long> |
getProductIdsByTypeOrderByUpdateAt(String 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 countProductIdsByTypeOrderByUpdateAt(String type) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
type - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionLong getProductIdByTypeAndName(String type, String name) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
type - name - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getProductIdsByTypeOrderByUpdateAt(String type, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
type - start - limit - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionList<Long> getProductIdsByTypeAndStatusOrderByUpdateAt(String type, String status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
type - status - start - limit - 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
start - limit - 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 © 2016. All rights reserved.