com.ibm.commerce.common.beans

Class LanguageDataBean

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      LanguageDataBean()
      Creates a LanguageDataBean
      LanguageDataBean(com.ibm.commerce.common.objects.LanguageAccessBean aabLanguage)
      Constructs a LanguageDataBean from a LanguageAccessBean by extracting the Language EJB reference from the LanguageAccessBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.command.CommandContext getCommandContext()
      Gets the command context set within this bean.
      java.lang.String getDataBeanKeyLanguageId()
      Returns LanguageId
      java.lang.String getDescriptionString()
      Gets the language description.
      java.lang.String getNativeDescriptionString()
      Gets the language description described in its native language.
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the request property set within this bean.
      void populate()
      Retrieves data from the database.
      void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
      Sets the command context within this bean.
      void setDataBeanKeyLanguageId(java.lang.String aLanguageId)
      Sets LanguageId
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
      Sets the request property within this bean.
      • Methods inherited from class com.ibm.commerce.common.objects.LanguageAccessBean

        findAll, findAllNoCache, findByLocaleName, findByLocaleNameNoCache, getCountry, getDescription, getDescriptionNoCache, getEncoding, getEntity, getLanguage, getLanguageId, getLanguageIdInEntityType, getLocaleName, getMimeCharSet, getVariant, instantiateEntity, setCountry, setEncoding, setInitKey_languageId, setInitKey_languageId, setLanguage, setLocaleName, setMimeCharSet, setVariant
      • Methods inherited from class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright
        See Also:
        Constant Field Values
    • Constructor Detail

      • LanguageDataBean

        public LanguageDataBean()
        Creates a LanguageDataBean
      • LanguageDataBean

        public LanguageDataBean(com.ibm.commerce.common.objects.LanguageAccessBean aabLanguage)
        Constructs a LanguageDataBean from a LanguageAccessBean by extracting the Language EJB reference from the LanguageAccessBean.
        Parameters:
        aabLanguage - com.ibm.commerce.common.objects.OrderAdjustmentAccessBean
        Throws:
        java.lang.Exception
    • Method Detail

      • getCommandContext

        public com.ibm.commerce.command.CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • getDescriptionString

        public java.lang.String getDescriptionString()
        Gets the language description. Returns null if there is no description.
        Returns:
        The language description
      • getNativeDescriptionString

        public java.lang.String getNativeDescriptionString()
        Gets the language description described in its native language. Returns null if there is no description.
        Returns:
        The language's native description
      • getRequestProperties

        public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
        Gets the request property set within this bean.
        Specified by:
        getRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • populate

        public void populate()
        Retrieves data from the database.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Throws:
        java.lang.Exception
      • setCommandContext

        public void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Parameters:
        aCommandContext - com.ibm.commerce.command.CommandContext
      • setDataBeanKeyLanguageId

        public void setDataBeanKeyLanguageId(java.lang.String aLanguageId)
        Sets LanguageId
        Specified by:
        setDataBeanKeyLanguageId in interface LanguageInputDataBean
        Parameters:
        aLanguageId - java.lang.String
      • setRequestProperties

        public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
        Sets the request property within this bean.
        Specified by:
        setRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Parameters:
        aRequestProperty -