com.ibm.commerce.fulfillment.beans
Class CalculationCodeListDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.fulfillment.beans.CalculationCodeListDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class CalculationCodeListDataBean
extends SmartDataBeanImpl

Use this DataBean to retrieve the list of CalculationCodeDataBeans that matches the specified set of criteria. Null valued parameters are ignored unless specified otherwise.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The IBM copyright string.
 
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
CalculationCodeListDataBean()
          Constructor for CalculationCodeListDataBean.
 
Method Summary
  CalculationCodeDataBean[] getCalculationCodeDataBeans()
          Returns the list of CalculationCodeDataBeans that matches the specified set of criteria.
 void populate()
          Retrieves data from the database
 void setAttachedToAllCatalogEntries(boolean abAttachedToAllCatalogEntries)
          Sets whether the CalculationCodes are attached to all CatalogEntries.
 void setAttachedToAllCatalogEntries(java.lang.String astrAttachedToAllCatalogEntries)
          Sets whether the CalculationCodes are attached to all CatalogEntries.
 void setCalculationUsageId(java.lang.Integer anCalculationUsageId)
          Sets the CalculationUsage of the CalculationCodes.
 void setCalculationUsageId(java.lang.String astrCalculationUsageId)
          Sets the CalculationUsage of the CalculationCodes.
 void setCatalogEntryId(java.lang.Long anCatalogEntryId)
          Sets the CatalogEntry that the CalculationCodes are attached to.
 void setCatalogEntryId(java.lang.String astrCatalogEntryId)
          Sets the CatalogEntry that the CalculationCodes are attached to.
 void setCatalogGroupId(java.lang.Long anCatalogGroupId)
          Sets the CatalogGroup that the CalculationCodes are attached to.
 void setCatalogGroupId(java.lang.String astrCatalogGroupId)
          Sets the CatalogGroup that the CalculationCodes are attached to.
 void setCode(java.lang.String astrCode)
          Sets the code (a.k.a.
 void setDisplayLevel(java.lang.Integer anDisplayLevel)
          Sets the display level of the CalculationCodes.
 void setDisplayLevel(java.lang.String astrDisplayLevel)
          Sets the display level of the CalculationCodes.
 void setIncludeChildItems(boolean abIncludeChildItems)
          Sets whether to retrieve the CalculationCodes attached to the child items of the specified CatalogEntry.
 void setIncludeChildItems(java.lang.String astrIncludeChildItems)
          Sets whether to retrieve the CalculationCodes attached to the child items of the specified CatalogEntry.
 void setIncludeParentProduct(boolean abIncludeParentProduct)
          Sets whether to retrieve the CalculationCodes attached to the parent product of the specified CatalogEntry.
 void setIncludeParentProduct(java.lang.String astrIncludeParentProduct)
          Sets whether to retrieve the CalculationCodes attached to the parent product of the specified CatalogEntry.
 void setInShipmodeId(java.lang.Integer newInShipmodeId)
          Sets the inShipmodeId.
 void setInShipmodeId(java.lang.String setInShipmodeId)
          Sets the shipmode
 
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans. InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
The IBM copyright string.
See Also:
Constant Field Values
Constructor Detail

CalculationCodeListDataBean

public CalculationCodeListDataBean()
Constructor for CalculationCodeListDataBean.
Method Detail

setCalculationUsageId

public void setCalculationUsageId(java.lang.Integer anCalculationUsageId)
Sets the CalculationUsage of the CalculationCodes.
Parameters:
anCalculationUsageId - the CalculationUsage ID.

setCalculationUsageId

public void setCalculationUsageId(java.lang.String astrCalculationUsageId)
Sets the CalculationUsage of the CalculationCodes.
Parameters:
astrCalculationUsageId - the CalculationUsage ID.

setDisplayLevel

public void setDisplayLevel(java.lang.Integer anDisplayLevel)
Sets the display level of the CalculationCodes.
Parameters:
anDisplayLevel - the display level.

setDisplayLevel

public void setDisplayLevel(java.lang.String astrDisplayLevel)
Sets the display level of the CalculationCodes.
Parameters:
astrDisplayLevel - the display level.

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
Sets the CatalogEntry that the CalculationCodes are attached to. Overrides setCatalogGroupId() and setAttachedToAllCatalogEntries().
Parameters:
anCatalogEntryId - the CatalogEntry ID.

setCatalogEntryId

public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
Sets the CatalogEntry that the CalculationCodes are attached to. Overrides setCatalogGroupId() and setAttachedToAllCatalogEntries().
Parameters:
astrCatalogEntryId - the CatalogEntry ID.

setCatalogGroupId

public void setCatalogGroupId(java.lang.Long anCatalogGroupId)
Sets the CatalogGroup that the CalculationCodes are attached to. Overrides setAttachedToAllCatalogEntries().
Parameters:
anCatalogGroupId - the CatalogGroup ID.

setCatalogGroupId

public void setCatalogGroupId(java.lang.String astrCatalogGroupId)
Sets the CatalogGroup that the CalculationCodes are attached to. Overrides setAttachedToAllCatalogEntries().
Parameters:
astrCatalogGroupId - the CatalogGroup ID.

setAttachedToAllCatalogEntries

public void setAttachedToAllCatalogEntries(boolean abAttachedToAllCatalogEntries)
Sets whether the CalculationCodes are attached to all CatalogEntries.
Parameters:
abAttachedToAllCatalogEntries - whether the CalculationCodes are attached to all CatalogEntries. Default is false.

setAttachedToAllCatalogEntries

public void setAttachedToAllCatalogEntries(java.lang.String astrAttachedToAllCatalogEntries)
Sets whether the CalculationCodes are attached to all CatalogEntries.
Parameters:
astrAttachedToAllCatalogEntries - whether the CalculationCodes are attached to all CatalogEntries. Default is false.

setIncludeParentProduct

public void setIncludeParentProduct(boolean abIncludeParentProduct)
Sets whether to retrieve the CalculationCodes attached to the parent product of the specified CatalogEntry. Overrides setIncludeChildItems().
Parameters:
abIncludeParentProduct - whether to include the parent product. Default is false.

setIncludeParentProduct

public void setIncludeParentProduct(java.lang.String astrIncludeParentProduct)
Sets whether to retrieve the CalculationCodes attached to the parent product of the specified CatalogEntry. Overrides setIncludeChildItems().
Parameters:
astrIncludeParentProduct - whether to include the parent product. Default is false.

setIncludeChildItems

public void setIncludeChildItems(boolean abIncludeChildItems)
Sets whether to retrieve the CalculationCodes attached to the child items of the specified CatalogEntry.
Parameters:
abIncludeChildItems - whether to include the child items. Default is false.

setIncludeChildItems

public void setIncludeChildItems(java.lang.String astrIncludeChildItems)
Sets whether to retrieve the CalculationCodes attached to the child items of the specified CatalogEntry.
Parameters:
astrIncludeChildItems - whether to include the child items. Default is false.

setCode

public void setCode(java.lang.String astrCode)
Sets the code (a.k.a. name) of the CalculationCodes.
Parameters:
astrCode - the code.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception
See Also:
SmartDataBean.populate()

getCalculationCodeDataBeans

public CalculationCodeDataBean[] getCalculationCodeDataBeans()
Returns the list of CalculationCodeDataBeans that matches the specified set of criteria.
Returns:
the CalculationCodeDataBeans.

setInShipmodeId

public void setInShipmodeId(java.lang.Integer newInShipmodeId)
Sets the inShipmodeId.
Parameters:
newInShipmodeId - shipModeId

setInShipmodeId

public void setInShipmodeId(java.lang.String setInShipmodeId)
Sets the shipmode
Parameters:
setInShipmodeId - shipModeId