public class ShipCarrAccntDataBean 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 |
---|
ShipCarrAccntDataBean()
ShipCarrAccntDataBean constructor .
|
ShipCarrAccntDataBean(ShipInfoAccessBean aShipInfoAccessBean)
Constructs an ShipCarrAccntDataBean from an ShipInfoAccessBean by
extracting the SHIPINFO EJB reference from the ShipInfoAccessBean.
|
ShipCarrAccntDataBean(ShipInfoAccessBean aShipInfoAccessBean,
CommandContext aCommandContext)
Constructs a ShipCarrAccntDataBean from a ShipInfoAccessBean by
extracting the SHIPINFO EJB reference from the ShipInfoAccessBean and setting the commandContext
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
This method returns the command context.
|
TypedProperty |
getIRequestProperties()
This method returns the request properties.
|
java.lang.String |
getOrderID()
This method returns the order ID number of this ShipCarrAccntDataBean object.
|
java.lang.String |
getPolicyID()
This method returns the policy ID number of this ShipCarrAccntDataBean object.
|
TypedProperty |
getRequestProperties()
This method returns the request property set within this bean.
|
ShipCarrAccntDataBean |
getShipCarrAccntDB(java.lang.String orderId,
java.lang.String shipModeId)
This method returns a ShipCarrAccntDataBean object based on the parameters passed in.
|
java.lang.String |
getShipCarrAccntNum()
This method returns the carrier account number of this ShipCarrAccntDataBean object.
|
java.lang.Long |
getShipInfoId()
This method returns the ship mode ID of the order
|
java.lang.String |
getShipModeID()
This method returns the ship mode ID of this ShipCarrAccntDataBean object.
|
void |
populate()
This method is used to populate the ShipCarrAccntDataBean.
|
void |
setCommandContext(CommandContext context)
This method sets 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 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, 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 ShipCarrAccntDataBean()
public ShipCarrAccntDataBean(ShipInfoAccessBean aShipInfoAccessBean, CommandContext aCommandContext)
aShipInfoAccessBean
- ShipInfoAccessBeanaCommandContext
- Command Contextjava.lang.Exception
public ShipCarrAccntDataBean(ShipInfoAccessBean aShipInfoAccessBean)
aShipInfoAccessBean
- ShipInfoAccessBeanjava.lang.Exception
public void setDataBeanKeyShipInfoId(java.lang.String aShipInfoID)
aShipInfoID
- the SHIPINFO ID - the 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
- public java.lang.Long getShipInfoId()
getShipInfoId
in class ShipInfoAccessBean
public ShipCarrAccntDataBean getShipCarrAccntDB(java.lang.String orderId, java.lang.String shipModeId)
orderId
- the order ID number of the carrier account data to readshipModeId
- the ship mode ID of the carrier account data to readpublic java.lang.String getShipCarrAccntNum()
public java.lang.String getPolicyID()
public java.lang.String getOrderID()
public java.lang.String getShipModeID()