Class PackingSessionLine
- java.lang.Object
-
- org.apache.ofbiz.shipment.packing.PackingSessionLine
-
- All Implemented Interfaces:
java.io.Serializable
public class PackingSessionLine extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.math.BigDecimal
height
protected java.lang.String
inventoryItemId
protected java.math.BigDecimal
length
java.lang.String
module
protected java.lang.String
orderId
protected java.lang.String
orderItemSeqId
protected int
packageSeq
protected java.lang.String
productId
protected java.math.BigDecimal
quantity
protected java.lang.String
shipGroupSeqId
protected java.lang.String
shipmentBoxTypeId
protected java.lang.String
shipmentItemSeqId
protected java.math.BigDecimal
weight
protected java.lang.String
weightPackageSeqId
protected java.math.BigDecimal
width
-
Constructor Summary
Constructors Constructor Description PackingSessionLine(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String inventoryItemId, java.math.BigDecimal quantity, java.math.BigDecimal weight, int packageSeq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQuantity(java.math.BigDecimal quantity)
void
addWeight(java.math.BigDecimal weight)
protected void
applyLineToPackage(java.lang.String shipmentId, GenericValue userLogin, LocalDispatcher dispatcher)
java.math.BigDecimal
getHeight()
java.lang.String
getInventoryItemId()
java.math.BigDecimal
getLength()
java.lang.String
getOrderId()
java.lang.String
getOrderItemSeqId()
int
getPackageSeq()
java.lang.String
getProductId()
java.math.BigDecimal
getQuantity()
java.lang.String
getShipGroupSeqId()
java.lang.String
getShipmentBoxTypeId()
java.lang.String
getShipmentItemSeqId()
java.math.BigDecimal
getWeight()
java.lang.String
getWeightPackageSeqId()
java.math.BigDecimal
getWidth()
boolean
isSameItem(PackingSessionLine line)
protected void
issueItemToShipment(java.lang.String shipmentId, java.lang.String picklistBinId, GenericValue userLogin, java.math.BigDecimal quantity, LocalDispatcher dispatcher)
void
setHeight(java.math.BigDecimal height)
void
setLength(java.math.BigDecimal length)
void
setQuantity(java.math.BigDecimal quantity)
void
setShipmentBoxTypeId(java.lang.String shipmentBoxTypeId)
void
setShipmentItemSeqId(java.lang.String shipmentItemSeqId)
void
setWeight(java.math.BigDecimal weight)
void
setWeightPackageSeqId(java.lang.String weightPackageSeqId)
void
setWidth(java.math.BigDecimal width)
-
-
-
Field Detail
-
module
public final java.lang.String module
-
orderId
protected java.lang.String orderId
-
orderItemSeqId
protected java.lang.String orderItemSeqId
-
shipGroupSeqId
protected java.lang.String shipGroupSeqId
-
productId
protected java.lang.String productId
-
inventoryItemId
protected java.lang.String inventoryItemId
-
shipmentItemSeqId
protected java.lang.String shipmentItemSeqId
-
quantity
protected java.math.BigDecimal quantity
-
weight
protected java.math.BigDecimal weight
-
height
protected java.math.BigDecimal height
-
width
protected java.math.BigDecimal width
-
length
protected java.math.BigDecimal length
-
shipmentBoxTypeId
protected java.lang.String shipmentBoxTypeId
-
weightPackageSeqId
protected java.lang.String weightPackageSeqId
-
packageSeq
protected int packageSeq
-
-
Method Detail
-
getOrderId
public java.lang.String getOrderId()
-
getOrderItemSeqId
public java.lang.String getOrderItemSeqId()
-
getShipGroupSeqId
public java.lang.String getShipGroupSeqId()
-
getInventoryItemId
public java.lang.String getInventoryItemId()
-
getProductId
public java.lang.String getProductId()
-
getShipmentItemSeqId
public java.lang.String getShipmentItemSeqId()
-
setShipmentItemSeqId
public void setShipmentItemSeqId(java.lang.String shipmentItemSeqId)
-
getQuantity
public java.math.BigDecimal getQuantity()
-
setQuantity
public void setQuantity(java.math.BigDecimal quantity)
-
addQuantity
public void addQuantity(java.math.BigDecimal quantity)
-
getWeight
public java.math.BigDecimal getWeight()
-
setWeight
public void setWeight(java.math.BigDecimal weight)
-
addWeight
public void addWeight(java.math.BigDecimal weight)
-
getPackageSeq
public int getPackageSeq()
-
getLength
public java.math.BigDecimal getLength()
-
setLength
public void setLength(java.math.BigDecimal length)
-
getWidth
public java.math.BigDecimal getWidth()
-
setWidth
public void setWidth(java.math.BigDecimal width)
-
getHeight
public java.math.BigDecimal getHeight()
-
setHeight
public void setHeight(java.math.BigDecimal height)
-
getShipmentBoxTypeId
public java.lang.String getShipmentBoxTypeId()
-
setShipmentBoxTypeId
public void setShipmentBoxTypeId(java.lang.String shipmentBoxTypeId)
-
getWeightPackageSeqId
public java.lang.String getWeightPackageSeqId()
-
setWeightPackageSeqId
public void setWeightPackageSeqId(java.lang.String weightPackageSeqId)
-
isSameItem
public boolean isSameItem(PackingSessionLine line)
-
issueItemToShipment
protected void issueItemToShipment(java.lang.String shipmentId, java.lang.String picklistBinId, GenericValue userLogin, java.math.BigDecimal quantity, LocalDispatcher dispatcher) throws GeneralException
- Throws:
GeneralException
-
applyLineToPackage
protected void applyLineToPackage(java.lang.String shipmentId, GenericValue userLogin, LocalDispatcher dispatcher) throws GeneralException
- Throws:
GeneralException
-
-