public class OrderSCAClient extends Object implements OrderService
| Constructor and Description |
|---|
OrderSCAClient() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
countOrderIds() |
Integer |
countOrderIdsByBuyer(Long buyer) |
Integer |
countOrderIdsByStatus(Integer status) |
boolean |
delete(Long id) |
void |
deleteList(Class clz,
List<Long> ids) |
boolean |
fakeDelete(Class clz,
Long id) |
List<Long> |
getIdsByDynamicCondition(Class clz,
Map<String,Object> conditions,
Integer start,
Integer limit) |
Order |
getObjectById(Long id) |
Order |
getObjectByOrderId(String orderId) |
List<Order> |
getObjectsByIds(List<Long> ids) |
List<Long> |
getOrderIds(Integer start,
Integer limit) |
List<Long> |
getOrderIdsByBuyer(Long buyer,
Integer start,
Integer limit) |
List<Long> |
getOrderIdsByStatus(Integer status,
Integer start,
Integer limit) |
OrderService |
getOrderService() |
Long |
insert(Order order) |
List<Order> |
insertList(List<Order> orderList) |
void |
setOrderService(OrderService orderService) |
boolean |
update(Order order) |
boolean |
updateList(List<Order> orderList) |
public OrderService getOrderService()
public void setOrderService(OrderService orderService)
public Long insert(Order order) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insert in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Order> insertList(List<Order> orderList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
insertList in interface OrderServicecom.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 OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean update(Order order) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
update in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic boolean updateList(List<Order> orderList) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
updateList in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Order getObjectById(Long id) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectById in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Order getObjectByOrderId(String orderId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectByOrderId in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Order> getObjectsByIds(List<Long> ids) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getObjectsByIds in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getOrderIdsByBuyer(Long buyer, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getOrderIdsByBuyer in interface OrderService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getOrderIdsByStatus(Integer status, Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getOrderIdsByStatus in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countOrderIdsByBuyer(Long buyer) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countOrderIdsByBuyer in interface OrderService - com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countOrderIdsByStatus(Integer status) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countOrderIdsByStatus in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic List<Long> getOrderIds(Integer start, Integer limit) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
getOrderIds in interface OrderServicecom.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionpublic Integer countOrderIds() throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
countOrderIds in interface OrderServicecom.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.