public interface AdminShipmentMgrIf
Modifier and Type | Method and Description |
---|---|
void |
addOrderShipmentsToOrder(AdminOrder order)
Get an array of order shipment objects for this order and attach them to the order
|
void |
deleteOrderShipment(int orderShipmentId)
Delete the AdminOrderShipment object and any associated AdminOrderShipmentProduct objects
|
int |
deleteShipper(int shipperId)
Delete a Shipper
|
void |
editOrderShipment(AdminOrderShipment orderShipment)
Edits an AdminOrderShipment object.
|
AdminOrderShipmentSearchResult |
getOrderShipments(AdminOrderShipmentSearch shipSearch,
int offset,
int size) |
AdminShipper |
getShipper(int shipperId)
Get a shipper by id
|
AdminShipperSearchResult |
getShippers(AdminShipperSearch search)
This returns an AdminShipperSearchResult object matching the search constraints
|
int |
insertOrderShipment(AdminOrderShipment orderShipment)
Inserts an AdminOrderShipment object and links it to an array of AdminOrderProduct objects in
order to identify which products in the order were shipped.
|
int |
insertShipper(AdminShipper shipper)
Insert a Shipper
|
void |
refreshConfigs()
Refresh the configuration of the Manager
|
int |
updateShipper(AdminShipper shipper)
Update a Shipper
|
void refreshConfigs() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionint insertOrderShipment(AdminOrderShipment orderShipment) throws java.lang.Exception
orderShipment
- the orderShipmentjava.lang.Exception
- an unexpected exceptionvoid editOrderShipment(AdminOrderShipment orderShipment) throws java.lang.Exception
orderShipment
- the orderShipmentjava.lang.Exception
- an unexpected exceptionvoid deleteOrderShipment(int orderShipmentId) throws java.lang.Exception
orderShipmentId
- the orderShipmentIdjava.lang.Exception
- an unexpected exceptionAdminOrderShipmentSearchResult getOrderShipments(AdminOrderShipmentSearch shipSearch, int offset, int size) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
shipSearch
- the shipSearchoffset
- the offsetsize
- the sizeKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)AdminShipperSearchResult getShippers(AdminShipperSearch search) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
search
- the searchorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineAdminShipper getShipper(int shipperId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
shipperId
- the shipperIdorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineint insertShipper(AdminShipper shipper) throws org.apache.torque.TorqueException, KKAdminException
shipper
- A shipper objectorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineint updateShipper(AdminShipper shipper) throws org.apache.torque.TorqueException, KKAdminException
shipper
- A shipper objectorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineint deleteShipper(int shipperId) throws org.apache.torque.TorqueException, KKAdminException
shipperId
- A shipper idorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin enginevoid addOrderShipmentsToOrder(AdminOrder order) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
order
- the ordercom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)KKAdminException
- an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.