com.ibm.commerce.order.beans

Class OfferDescriptionDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.order.beans.OfferDescriptionInputDataBean, com.ibm.commerce.order.beans.OfferDescriptionSmartDataBean, Delegator, java.io.Serializable


    public class OfferDescriptionDataBean
    extends OfferDescriptionDataBeanBase
    implements com.ibm.commerce.order.beans.OfferDescriptionInputDataBean, com.ibm.commerce.order.beans.OfferDescriptionSmartDataBean
    This databean represents an OfferDescription object.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • OfferDescriptionDataBean

        public OfferDescriptionDataBean()
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        This method sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - com.ibm.commerce.datatype.TypedProperty
      • getDataBeanKeyLanguageId

        public java.lang.String getDataBeanKeyLanguageId()
        This method returns language id.
        Specified by:
        getDataBeanKeyLanguageId in interface com.ibm.commerce.order.beans.OfferDescriptionSmartDataBean
        Returns:
        java.lang.String
      • getDataBeanKeyOfferId

        public java.lang.String getDataBeanKeyOfferId()
        This method returns offer id.
        Specified by:
        getDataBeanKeyOfferId in interface com.ibm.commerce.order.beans.OfferDescriptionSmartDataBean
        Returns:
        java.lang.String
      • getCommandContext

        public CommandContext getCommandContext()
        This method returns the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        This method sets the command context within this bean. You must set the following parameters before running the populate() method.
      • LanguageId
      • OfferId
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
See Also:
setDataBeanKeyLanguageId(String), setDataBeanKeyOfferId(String)
  • setDataBeanKeyLanguageId

    public void setDataBeanKeyLanguageId(java.lang.String aLanguageId)
    This method sets language id.
    Specified by:
    setDataBeanKeyLanguageId in interface com.ibm.commerce.order.beans.OfferDescriptionInputDataBean
    Parameters:
    aLanguageId - java.lang.String
  • setDataBeanKeyOfferId

    public void setDataBeanKeyOfferId(java.lang.String aOfferId)
    This method sets offer id.
    Specified by:
    setDataBeanKeyOfferId in interface com.ibm.commerce.order.beans.OfferDescriptionInputDataBean
    Parameters:
    aOfferId - java.lang.String
  • populate

    public void populate()
    This method is used to populate the OfferDescriptionDataBean.
    Specified by:
    populate in interface SmartDataBean
    Throws:
    java.lang.Exception