com.ibm.commerce.catalog.beans

Class PackageAttributeDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.PackageAttributeAccessBean
        • com.ibm.commerce.catalog.beansrc.PackageAttributeDataBeanBase
          • com.ibm.commerce.catalog.beans.PackageAttributeDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.catalog.beans.PackageAttributeInputDataBean, com.ibm.commerce.catalog.beans.PackageAttributeSmartDataBean, Delegator, java.io.Serializable


    public class PackageAttributeDataBean
    extends com.ibm.commerce.catalog.beansrc.PackageAttributeDataBeanBase
    implements com.ibm.commerce.catalog.beans.PackageAttributeInputDataBean, com.ibm.commerce.catalog.beans.PackageAttributeSmartDataBean
    This bean represents the package attribute object.

    You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.

    Access Beans: PackageAttribute

    Mandatory Parameters (for single row retrieval):

    • package attribute reference number

    Some hints and tips for using this data bean are:

    • It is important to set the package attribute reference number value before activating the data bean
    • You can set parameters using the setters

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CommandContext getCommandContext()
      Gets the command context set within this bean.
      java.lang.String getDataBeanKeyPackageAttributeReferenceNumber()
      Gets the reference number of the package attribute.
      TypedProperty getRequestProperties()
      Gets the request property set within this bean.
      void populate()
      Populates the bean by retrieving data from the database.
      void setCommandContext(CommandContext aCommandContext)
      Sets the command context within this bean.
      void setDataBeanKeyPackageAttributeReferenceNumber(java.lang.String aPackageAttributeReferenceNumber)
      Sets the reference number of the package attribute.
      void setRequestProperties(TypedProperty aRequestProperty)
      Sets the request property within this bean.
      • Methods inherited from class com.ibm.commerce.catalog.beansrc.PackageAttributeDataBeanBase

        getDelegate
      • Methods inherited from class com.ibm.commerce.catalog.objects.PackageAttributeAccessBean

        findByPackageAndLanguage, findByPackageReferenceNumber, getAttribute, getAttributeID, getAttributeIDInEntityType, getEntity, getLanguage_id, getLanguage_idInEntityType, getOid, getPackageAttributeReferenceNumber, getPackageReferenceNumber, getPackageReferenceNumberInEntityType, instantiateEntity, setAttributeID, setAttributeID, setInitKey_packageAttributeReferenceNumber, setInitKey_packageAttributeReferenceNumber, setLanguage_id, setLanguage_id, setOid, setPackageReferenceNumber, setPackageReferenceNumber
      • 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
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PackageAttributeDataBean

        public PackageAttributeDataBean()
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        Gets the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        The request property as a TypedProperty object.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean. The following values are set in this method: package attribute reference number
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - The request property as a TypedProperty.
        Throws:
        CreateException - In the execution of the method, a create exception occurs.
        FinderException - In the execution of the method, a finder exception occurs.
        NamingException - In the execution of the method, a naming exception occurs.
        RemoteException - In the execution of the method, a remote exception occurs.
      • getDataBeanKeyPackageAttributeReferenceNumber

        public java.lang.String getDataBeanKeyPackageAttributeReferenceNumber()
        Gets the reference number of the package attribute.
        Specified by:
        getDataBeanKeyPackageAttributeReferenceNumber in interface com.ibm.commerce.catalog.beans.PackageAttributeSmartDataBean
        Returns:
        The reference number.
      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context as CommandContext object.
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - The command context as CommandContext object.
      • setDataBeanKeyPackageAttributeReferenceNumber

        public void setDataBeanKeyPackageAttributeReferenceNumber(java.lang.String aPackageAttributeReferenceNumber)
        Sets the reference number of the package attribute.
        Specified by:
        setDataBeanKeyPackageAttributeReferenceNumber in interface com.ibm.commerce.catalog.beans.PackageAttributeInputDataBean
        Parameters:
        aPackageAttributeReferenceNumber - The reference number for the package attribute.
      • populate

        public void populate()
        Populates the bean by retrieving data from the database.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.