|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Facade that models the service of order management
Method Summary | |
DeliveryDocketWithParty |
createDeliveryDocket(DeliveryDocket deliveryDocket,
java.util.Map item)
Create a delivery docket. |
DeliveryDocketWithParty |
createDeliveryDocketItems(java.util.Map deliveryDocketItems,
java.lang.Long deliveryDocketId)
Add delivery docket items to a delivery docket. |
void |
createInvoices(java.util.Collection deliveryDocketIds)
Create invoices. |
OrderWithParty |
createOrder(Order order)
Create an order. |
OrderWithParty |
createOrderItem(OrderItem orderItem,
java.lang.Long orderId)
Add an order item to an order. |
OrderWithParty |
createOrderItems(java.util.Collection orderItems,
java.lang.Long orderId)
Add order items to an order. |
void |
deleteDeliveryDocket(java.lang.Long id)
Delete a delivery docket |
void |
deleteOrder(java.lang.Long id)
Delete an order |
net.sf.oness.common.model.util.PaginatedList |
findDeliveryDocket(DeliveryDocket deliveryDocket,
int firstElement,
int maxElements)
Find delivery dockets |
DeliveryDocketWithParty |
findDeliveryDocketWithDetails(java.lang.Long id)
Find a delivery docket. |
net.sf.oness.common.model.util.PaginatedList |
findInvoice(Invoice invoice,
int firstElement,
int maxElements)
Find invoices |
InvoiceWithParty |
findInvoiceWithDetails(java.lang.Long id)
Find an invoice. |
net.sf.oness.common.model.util.PaginatedList |
findOrder(Order order,
int firstElement,
int maxElements)
Find orders |
OrderWithParty |
findOrderWithDetails(java.lang.Long id)
Find an order. |
DeliveryDocketWithParty |
updateDeliveryDocket(DeliveryDocket deliveryDocket,
java.util.Collection items)
Update a delivery docket. |
OrderWithParty |
updateOrder(Order order,
java.util.Collection items)
Update an order. |
Method Detail |
public OrderWithParty findOrderWithDetails(java.lang.Long id)
id
-
org.springframework.dao.DataAccessException
public OrderWithParty createOrder(Order order)
order
-
org.springframework.dao.DataAccessException
public OrderWithParty updateOrder(Order order, java.util.Collection items)
order
- items
-
org.springframework.dao.DataAccessException
public net.sf.oness.common.model.util.PaginatedList findOrder(Order order, int firstElement, int maxElements)
order
- firstElement
- maxElements
-
org.springframework.dao.DataAccessException
public void deleteOrder(java.lang.Long id)
id
-
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessException
public OrderWithParty createOrderItem(OrderItem orderItem, java.lang.Long orderId)
orderItem
- orderId
-
org.springframework.dao.DataAccessException
public OrderWithParty createOrderItems(java.util.Collection orderItems, java.lang.Long orderId)
orderItems
- Can't contain two items of the same product.orderId
-
org.springframework.dao.DataAccessException
public DeliveryDocketWithParty createDeliveryDocket(DeliveryDocket deliveryDocket, java.util.Map item)
deliveryDocket
-
org.springframework.dao.DataAccessException
public DeliveryDocketWithParty findDeliveryDocketWithDetails(java.lang.Long id)
id
-
org.springframework.dao.DataAccessException
public DeliveryDocketWithParty createDeliveryDocketItems(java.util.Map deliveryDocketItems, java.lang.Long deliveryDocketId)
deliveryDocketItems
- orderItem id as key and deliveryDocket as valuedeliveryDocketId
-
org.springframework.dao.DataAccessException
public net.sf.oness.common.model.util.PaginatedList findDeliveryDocket(DeliveryDocket deliveryDocket, int firstElement, int maxElements)
deliveryDocket
- firstElement
- maxElements
-
org.springframework.dao.DataAccessException
public DeliveryDocketWithParty updateDeliveryDocket(DeliveryDocket deliveryDocket, java.util.Collection items)
deliveryDocket
- items
-
org.springframework.dao.DataAccessException
public void deleteDeliveryDocket(java.lang.Long id)
id
-
org.springframework.dao.DataRetrievalFailureException
org.springframework.dao.DataAccessException
public void createInvoices(java.util.Collection deliveryDocketIds)
deliveryDocketIds
-
org.springframework.dao.DataAccessException
public InvoiceWithParty findInvoiceWithDetails(java.lang.Long id)
id
-
org.springframework.dao.DataAccessException
public net.sf.oness.common.model.util.PaginatedList findInvoice(Invoice invoice, int firstElement, int maxElements)
invoice
- firstElement
- maxElements
-
org.springframework.dao.DataAccessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |