public class ShipInstructionsDataBean extends ShipInfoDataBeanBase implements InputDataBean, SmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
ShipInstructionsDataBean()
ShippingInstructionDataBean constructor.
|
ShipInstructionsDataBean(ShipInfoAccessBean shipInfoAccessBean)
Constructs an ShipInstructionsDataBean from an ShipInfoAccessBean by
extracting the ShipInfo EJB reference from the ShippingInstructionAccessBean.
|
ShipInstructionsDataBean(ShipInfoAccessBean shipInfoAccessBean,
CommandContext aCommandContext)
Constructs a ShipInstructionsDataBean from a ShipInfoAccessBean by
extracting the ShipInfo EJB reference from the ShippingInstructionAccessBean and setting the commandContext
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddressID()
This method returns the address ID of this ShipInstructionsDataBean object.
|
CommandContext |
getCommandContext()
This method returns command context.
|
TypedProperty |
getIRequestProperties()
This method returns the request properties.
|
java.lang.String |
getOrderID()
This method returns the order ID of this ShipInstructionsDataBean object.
|
TypedProperty |
getRequestProperties()
This method returns the request property set within this bean.
|
java.lang.String |
getShipInstructions()
This method returns the shipping instructions of this ShipInstructionsDataBean object.
|
ShipInstructionsDataBean |
getShipInstructionsDB(java.lang.String orderId,
java.lang.String addressId,
java.lang.String shipModeId)
This method returns a ShipInstructionsDataBean object based on the parameters passed in.
|
java.lang.String |
getShipModeID()
This method returns the ship mode ID of this ShipInstructionsDataBean object.
|
void |
populate()
This method is used to populate the ShipInstructionsDataBean.
|
void |
setCommandContext(CommandContext context)
This method sets the CommandContext method comment.
|
void |
setDataBeanKeyShipInfoId(java.lang.String aShipInfoID)
This method sets the SHIPINFO ID of the primary key.
|
void |
setIRequestProperties(TypedProperty property)
This method sets the request properties.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties within this bean.
|
getDelegate
findByOrderId, findByOrderIdAddressIdShipModeId, findByOrderIdShipModeId, findShipCarrAccntsByOrderId, findShipInstructsByOrderId, fulfills, getAddressId, getCarrierAccntNum, getEntity, getInstructions, getOrderId, getOwner, getPolicyId, getShipInfoId, getShipModeId, instantiateEntity, setAddressId, setCarrierAccntNum, setInitKey_shipInfoId, setInstructions, setOrderId, setPolicyId, setShipModeId
createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public ShipInstructionsDataBean()
public ShipInstructionsDataBean(ShipInfoAccessBean shipInfoAccessBean, CommandContext aCommandContext)
shipInfoAccessBean
- ShipInfoAccessBeanaCommandContext
- Command Contextjava.lang.Exception
public ShipInstructionsDataBean(ShipInfoAccessBean shipInfoAccessBean)
ShipInstructionsDataBean(ShipInfoAccessBean, CommandContext)
if commandContext is available.shipInfoAccessBean
- ShipInfoAccessBeanjava.lang.Exception
public void setDataBeanKeyShipInfoId(java.lang.String aShipInfoID)
aShipInfoID
- the ShipInfo keypublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext context)
setCommandContext
in interface SmartDataBean
context
- CommandContextpublic TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface InputDataBean
aRequestProperties
- com.ibm.commerce.datatype.TypedPropertypublic void populate()
populate()
method.populate
in interface SmartDataBean
java.lang.Exception
setDataBeanKeyShipInfoId(String)
public TypedProperty getIRequestProperties()
public void setIRequestProperties(TypedProperty property)
property
- TypedPropertypublic ShipInstructionsDataBean getShipInstructionsDB(java.lang.String orderId, java.lang.String addressId, java.lang.String shipModeId)
orderId
- the order ID of the shipping instructions data to readaddressId
- the address ID of the shipping instructions data to readshipModeId
- the ship mode of the shipping instructions data to readpublic java.lang.String getShipInstructions()
public java.lang.String getOrderID()
public java.lang.String getAddressID()
public java.lang.String getShipModeID()