com.ibm.commerce.order.beans

Class OrderItemCompRelDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean
        • com.ibm.commerce.order.beansrc.OrderItemComponentRelationsDataBeanBase
          • com.ibm.commerce.order.beans.OrderItemCompRelDataBean
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      OrderItemCompRelDataBean()
      The constructor.
      OrderItemCompRelDataBean(com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean aabOrderItemComponentRelations)
      Constructs an OrderItemComponentRelationsDataBean from an OrderItemComponentRelationsAccessBean by extracting the OrderItem EJB reference from the OrderItemComponentRelationsAccessBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      OrderItemCompRelDataBean[] getChildrenKit()
      Returns the child kits associated with this oicomprel id as parent.
      CommandContext getCommandContext()
      Gets Command Context.
      ItemDataBean[] getItemDataBean()
      Returns the com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry if this catalog entry is an item.
      java.lang.Long getItemspc_id()
      Gets the item specification id.
      java.lang.Long getOicomprel_id()
      Gets OICOMPRELID, the primary key.
      TypedProperty getRequestProperties()
      Gets Request Properties.
      void populate()
      Loads data into the data bean when the DataBeanManager.activate() runs.
      void setCommandContext(CommandContext aCommandContext)
      Sets the command context.
      void setOicomprel_id(java.lang.Long oicomprelId)
      Sets OICOMPRELID, the init key.
      void setRequestProperties(TypedProperty aRequestProperties)
      Sets Request Property.
      • Methods inherited from class com.ibm.commerce.order.beansrc.OrderItemComponentRelationsDataBeanBase

        getDelegate
      • Methods inherited from class com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean

        findByConfiguration_id, findByConfigurationIdAndNotAssociatedWithOrderItems, findByItemspc_id, findByOicomprel_id, findByOrderitems_id, findByOrderitemsIdAndConfigurationId, findByParent_id, findByRequired, findByRequiredItemSpecs, findByRequiredOrderItems, fulfills, getConfiguration_id, getEntity, getOrderitems_id, getOwner, getParent_id, getRequired, instantiateEntity, setConfiguration_id, setInitKey_oicomprel_id, setItemspc_id, setOrderitems_id, setParent_id, setRequired
      • 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 IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderItemCompRelDataBean

        public OrderItemCompRelDataBean()
        The constructor.
      • OrderItemCompRelDataBean

        public OrderItemCompRelDataBean(com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean aabOrderItemComponentRelations)
        Constructs an OrderItemComponentRelationsDataBean from an OrderItemComponentRelationsAccessBean by extracting the OrderItem EJB reference from the OrderItemComponentRelationsAccessBean. Note: Consider using OrderItemComponentRelationsDataBean(OrderItemComponentRelationsAccessBean aabOrderItemComponentRelations,CommandContext aCommandContext) if commandContext is available.
        Parameters:
        aabOrderItemComponentRelations - OrderItemComponentRelationsAccessBean
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperties)
        Sets Request Property. Currently the Request Property is not used.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperties - com.ibm.commerce.datatype.TypedProperty
        Throws:
        java.lang.Exception
      • setCommandContext

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

        public ItemDataBean[] getItemDataBean()
                                       throws ECSystemException
        Returns the com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry if this catalog entry is an item. Otherwise returns null.
        Returns:
        the com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry
        Throws:
        ECSystemException
        RemoteException
        CreateException
        FinderException
        NamingException
      • getOicomprel_id

        public java.lang.Long getOicomprel_id()
        Gets OICOMPRELID, the primary key.
        Overrides:
        getOicomprel_id in class com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean
        Returns:
        oicomprel_id
        Throws:
        RemoteException
        CreateException
        FinderException
        NamingException
      • getItemspc_id

        public java.lang.Long getItemspc_id()
        Gets the item specification id.
        Overrides:
        getItemspc_id in class com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean
        Returns:
        Itemspc_id item specification id
        Throws:
        RemoteException
        CreateException
        FinderException
        NamingException
      • setOicomprel_id

        public void setOicomprel_id(java.lang.Long oicomprelId)
        Sets OICOMPRELID, the init key.
        Overrides:
        setOicomprel_id in class com.ibm.commerce.order.objects.OrderItemComponentRelationsAccessBean
        Parameters:
        oicomprelId -