com.ibm.commerce.beans
Interface SmartDataBean

All Superinterfaces:
DataBean, InputDataBean, java.io.Serializable
All Known Subinterfaces:
CollateralSmartDataBean, DynamicTreeUserDataBean, FFMOrderItemsSmartDataBean, FFMOrderItemsSmartListDataBean, OrderQuotationRelSmartDataBean, PRequisitionByMemberIdAndStoreHostedAtChannelStoreIdSmartListDataBean, ProductSmartDataBean, SchedulerDataBean, SearchDialogCriteriaBean, SRequisitionByMemberIdAndStoreHostedAtChannelStoreIdSmartListDataBean, SRequisitionOwnedByMemberIdAndStoreHostedAtChannelStoreIdSmartListDataBean
All Known Implementing Classes:
AccountDataBean, ApplicationTypeDataBean, BusinessLogicDataBean, CampaignStatisticsListDataBean, CatalogFilterTreeDataBean, CategoryPricingTCDataBean, CollateralDataBean, ContractDataBean, ContractSearchCriteriaDataBean, CustomPricingTCDataBean, FFMOrderItemsDataBean, FFMOrderItemsListDataBean, InvoicingTCDataBean, OrderApprovalTCDataBean, OrderQuotationRelDataBean, PaymentTCDataBean, PRequisitionByMemberIdAndStoreHostedAtChannelStoreIdListDataBean, ProductAdvisorStatisticsListDataBean, ProductComparisonStatisticsListDataBean, ProductDataBean, ProductExplorerStatisticsListDataBean, ProductSetTCDataBean, ProductTreeDataBean, ProductTreeDataBean, PurchaseOrderTCDataBean, RegistryItemsDataBean, ReturnTCDataBean, RLPromotionBean, SalesAssistantStatisticsListDataBean, SchedulerCommandsDataBean, SchedulerItemsDataBean, SchedulerStatusDataBean, ShippingTCShippingChargeDataBean, ShippingTCShippingModeDataBean, ShippingTCShipToAddressDataBean, SmartDataBeanImpl, SRequisitionByMemberIdAndStoreHostedAtChannelStoreIdListDataBean, SRequisitionOwnedByMemberIdAndStoreHostedAtChannelStoreIdListDataBean, StoreCreationWizardDataBean, UrlRegistryItemsDataBean, ViewApplicableCouponDataBean, ViewAppliedCouponDataBean, ViewCouponDetailDataBean, ViewWalletDataBean

public interface SmartDataBean
extends InputDataBean

A SmartDataBean is a DataBean that can populate itself without requiring a data bean command. The input command context and the request properties provide sufficient information for it to populate itself. Example of this is a DataBean that extends from an AccessBean.


Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Method Summary
  CommandContext getCommandContext()
          Returns the command context.
 void populate()
          Populates the databean with data elements.
 void setCommandContext( CommandContext commandContext)
          Sets the command context.
 
Methods inherited from interface com.ibm.commerce.beans. InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values
Method Detail

getCommandContext

public CommandContext getCommandContext()
Returns the command context.
Returns:
The command context.

populate

public void populate()
              throws java.lang.Exception
Populates the databean with data elements.
Throws:
java.lang.Exception - if there is a problem populating the databean with data.

setCommandContext

public void setCommandContext(CommandContext commandContext)
Sets the command context.
Parameters:
commandContext - The command context..