com.ibm.commerce.ordermanagement.beans

Class ReturnReasonDescriptionDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionInputDataBean, com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionSmartDataBean, Delegator, java.io.Serializable


    public class ReturnReasonDescriptionDataBean
    extends com.ibm.commerce.ordermanagement.beansrc.ReturnReasonDescriptionDataBeanBase
    implements com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionInputDataBean, com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionSmartDataBean
    This databean represents a ReturnReasonDescription 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

      • ReturnReasonDescriptionDataBean

        public ReturnReasonDescriptionDataBean()
    • 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 LanguageId.
        Specified by:
        getDataBeanKeyLanguageId in interface com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionSmartDataBean
        Returns:
        java.lang.String
      • getDataBeanKeyRtnReasonId

        public java.lang.String getDataBeanKeyRtnReasonId()
        This method returns RtnReasonId.
        Specified by:
        getDataBeanKeyRtnReasonId in interface com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionSmartDataBean
        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.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - com.ibm.commerce.command.CommandContext
      • setDataBeanKeyLanguageId

        public void setDataBeanKeyLanguageId(java.lang.String aLanguageId)
        This method sets LanguageId.
        Specified by:
        setDataBeanKeyLanguageId in interface com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionInputDataBean
        Parameters:
        aLanguageId - java.lang.String
      • setDataBeanKeyRtnReasonId

        public void setDataBeanKeyRtnReasonId(java.lang.String aRtnReasonId)
        This method sets RtnReasonId.
        Specified by:
        setDataBeanKeyRtnReasonId in interface com.ibm.commerce.ordermanagement.beans.ReturnReasonDescriptionInputDataBean
        Parameters:
        aRtnReasonId - java.lang.String
      • populate

        public void populate()
        This method is used to populate the ReturnReasonDescriptionDataBean. You must set the following parameters before running the populate() method.
      • LanguageId
      • RtnReasonId
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception
See Also:
setDataBeanKeyLanguageId(String), setDataBeanKeyRtnReasonId(String)
  • getReturnReasonsForLanguage

    public static java.util.Hashtable getReturnReasonsForLanguage(java.lang.Integer languageID)
    This method gets the full list of return reason descriptions and the associated return reason codes for a particular language.
    Parameters:
    languageID -
    Returns:
    Hashtable
    Throws:
    java.lang.Exception