public class GoodsSCAClient extends Object implements GoodsService
| Constructor and Description |
|---|
GoodsSCAClient() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countGoodsIdBybuyerAndorderId(Long buyer,
Long orderId) |
Integer |
countGoodsIds() |
Integer |
countGoodsIdsByBuyerAndIsConfirm(Long buyer,
Integer isConfirm) |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getGoodsByBuyerAndOrderid(Long uid,
String orderId,
Integer start,
Integer limit) |
List<Long> |
getGoodsIds(Integer start,
Integer limit) |
List<Long> |
getGoodsIdsByBuyerAndIsConfirm(Long buyer,
Integer isConfirm,
Integer start,
Integer limit) |
GoodsService |
getGoodsService() |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Goods |
getObjectById(Long id) |
List<Goods> |
getObjectsByIds(List<Long> ids) |
Long |
insert(Goods goods) |
List<Goods> |
insertList(List<Goods> goodsList) |
void |
setGoodsService(GoodsService goodsService) |
boolean |
update(Goods goods) |
boolean |
updateList(List<Goods> goodsList) |
public GoodsService getGoodsService()
public void setGoodsService(GoodsService goodsService)
public Long insert(Goods goods) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Goods> insertList(List<Goods> goodsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface GoodsServicecom.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 GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Goods goods) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Goods> goodsList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Goods getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Goods> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getGoodsIdsByBuyerAndIsConfirm(Long buyer, Integer isConfirm, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getGoodsIdsByBuyerAndIsConfirm in interface GoodsService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countGoodsIdsByBuyerAndIsConfirm(Long buyer, Integer isConfirm) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countGoodsIdsByBuyerAndIsConfirm in interface GoodsService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countGoodsIdBybuyerAndorderId(Long buyer, Long orderId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countGoodsIdBybuyerAndorderId in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getGoodsIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getGoodsIds in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getGoodsByBuyerAndOrderid(Long uid, String orderId, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceDaoException, com.gemantic.common.exception.ServiceException
getGoodsByBuyerAndOrderid in interface GoodsServicecom.gemantic.common.exception.ServiceDaoExceptioncom.gemantic.common.exception.ServiceExceptionpublic Integer countGoodsIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countGoodsIds in interface GoodsServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getIdsByDynamicCondition(Class clz, Map<String,Object> conditions, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getIdsByDynamicCondition in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean fakeDelete(Class clz, Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
fakeDelete in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic void deleteList(Class clz, List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
deleteList in interface com.ptteng.common.dao.BaseDaoServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionCopyright © 2016. All Rights Reserved.