java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.OrderItemComponentAccessBean
Each rows contains information about the components of a configured OrderItem. This access bean corresponds to the database table 'OICOMPLIST'.
Constructor Summary | |
OrderItemComponentAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderItemComponentAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderItemComponentAccessBean(java.lang.String aConfigurationId, java.lang.Long aOrderItemId, java.lang.Long aItemSpecificationId) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByConfigurationId(java.lang.String aConfigurationId)
Retrieves all the components of a dynamic kit for specified configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is: SELECT * FROM OICOMPLIST T1 WHERE (T1.CONFIGURATIONID = ?) |
java.util.Enumeration | findByOrderItemId(java.lang.Long aOrderItemId)
Retrieves all the components of a dynamic kit for specified order item.
The SQL query used to fetch all the required rows from the OICOMPLIST table is: SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ?) |
java.util.Enumeration | findByOrderItemIdAndConfigurationId(java.lang.Long aOrderItemId, java.lang.String aConfigId)
Retrieves all the components of a dynamic kit for specified order item and configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is: SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ? and T1.CONFIGURATIONID = ?) |
java.lang.String | getCatalogEntryId() This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT. |
java.lang.Long | getCatalogEntryIdInEJBType() This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT. |
java.lang.String | getCatalogQuantity() This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE. |
java.lang.Double | getCatalogQuantityInEJBType() This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE. |
java.lang.String | getConfigurationId() This method provides access to the OICOMPLIST.CONFIGURATIONID column of DB2 type VARCHAR(128). |
java.lang.String | getCurrency() This method provides access to the OICOMPLIST.CURRENCY column of DB2 type CHAR(3). |
java.lang.String | getInventoryQuantity() This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER. |
java.lang.Integer | getInventoryQuantityInEJBType() This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER. |
java.lang.String | getItemSpecificationId() This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT. |
java.lang.Long | getItemSpecificationIdInEJBType() This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT. |
java.lang.String | getOrderItemComponentId() This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderItemComponentIdInEJBType() This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderItemId() This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT. |
java.lang.Long | getOrderItemIdInEJBType() This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT. |
java.lang.String | getRequired() This method provides access to the OICOMPLIST.REQUIRED column of DB2 type CHAR(1) DEFAULT 'Y'. |
java.lang.String | getSupplierData() This method accesses a non-CMP field |
java.lang.String | getSupplierPartNumber() This method accesses a non-CMP field |
java.lang.String | getUnitPrice() This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getUnitPriceInEJBType() This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20 5). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCatalogEntryId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCatalogEntryId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCatalogQuantity(java.lang.Double newValue) This method accesses a non-CMP field |
void | setCatalogQuantity(java.lang.String newValue) This method accesses a non-CMP field |
void | setConfigurationId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_orderItemComponentId(java.lang.String newValue) Set the primary key for this object |
void | setInventoryQuantity(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setInventoryQuantity(java.lang.String newValue) This method accesses a non-CMP field |
void | setItemSpecificationId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setItemSpecificationId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrderItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderItemId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRequired(java.lang.String newValue) This method accesses a non-CMP field |
void | setSupplierData(java.lang.String newValue) This method accesses a non-CMP field |
void | setSupplierPartNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setUnitPrice(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setUnitPrice(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrderItemComponentAccessBean()
public OrderItemComponentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderItemComponentAccessBean(java.lang.String aConfigurationId, java.lang.Long aOrderItemId, java.lang.Long aItemSpecificationId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findByConfigurationId(java.lang.String aConfigurationId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the components of a dynamic kit for specified configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.CONFIGURATIONID = ?)
public java.util.Enumeration findByOrderItemId(java.lang.Long aOrderItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the components of a dynamic kit for specified order item.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ?)
public java.util.Enumeration findByOrderItemIdAndConfigurationId(java.lang.Long aOrderItemId, java.lang.String aConfigId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the components of a dynamic kit for specified order item and configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ? and T1.CONFIGURATIONID = ?)
public void setInitKey_orderItemComponentId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getConfigurationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.CONFIGURATIONID column of DB2 type VARCHAR(128).
The following is a description of this column:
The configuration ID (supplied, for example, by an external configurator system) to uniquely define a set of components before thay are associated with an OrderItem.
public void setConfigurationId(java.lang.String newValue)
public java.lang.String getCatalogEntryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT.
The following is a description of this column:
The CatalogEntry that this component refers to.
public java.lang.Long getCatalogEntryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT.
The following is a description of this column:
The CatalogEntry that this component refers to.
public void setCatalogEntryId(java.lang.String newValue)
public void setCatalogEntryId(java.lang.Long newValue)
public java.lang.String getUnitPrice() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20 5).
The following is a description of this column:
The unit price of this component.
public java.math.BigDecimal getUnitPriceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20 5).
The following is a description of this column:
The unit price of this component.
public void setUnitPrice(java.lang.String newValue)
public void setUnitPrice(java.math.BigDecimal newValue)
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.CURRENCY column of DB2 type CHAR(3).
The following is a description of this column:
The currency of the unit price of this component. This is a currency code as per ISO 4217 standards.
public void setCurrency(java.lang.String newValue)
public java.lang.String getOrderItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT.
The following is a description of this column:
The OrderItem to which this component is related.
public java.lang.Long getOrderItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT.
The following is a description of this column:
The OrderItem to which this component is related.
public void setOrderItemId(java.lang.String newValue)
public void setOrderItemId(java.lang.Long newValue)
public java.lang.String getInventoryQuantity() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER.
The following is a description of this column:
The quantity of the SpecifiedItem which is needed to satisfy an order for one unit of the configured OrderItem.
public java.lang.Integer getInventoryQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER.
The following is a description of this column:
The quantity of the SpecifiedItem which is needed to satisfy an order for one unit of the configured OrderItem.
public void setInventoryQuantity(java.lang.String newValue)
public void setInventoryQuantity(java.lang.Integer newValue)
public java.lang.String getItemSpecificationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT.
The following is a description of this column:
The SpecifiedItem ID for the component.
public java.lang.Long getItemSpecificationIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT.
The following is a description of this column:
The SpecifiedItem ID for the component.
public void setItemSpecificationId(java.lang.String newValue)
public void setItemSpecificationId(java.lang.Long newValue)
public java.lang.String getOrderItemComponentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique identifier.
public java.lang.Long getOrderItemComponentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique identifier.
public java.lang.String getRequired() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.REQUIRED column of DB2 type CHAR(1) DEFAULT 'Y'.
The following is a description of this column:
Indicates if this Item is required to fulfill the OrderItem:&l
public void setRequired(java.lang.String newValue)
public java.lang.String getCatalogQuantity() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE.
The following is a description of this column:
The quantity of the CatalogEntry for this component.
public java.lang.Double getCatalogQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE.
The following is a description of this column:
The quantity of the CatalogEntry for this component.
public void setCatalogQuantity(java.lang.String newValue)
public void setCatalogQuantity(java.lang.Double newValue)
public java.lang.String getSupplierPartNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSupplierPartNumber(java.lang.String newValue)
public java.lang.String getSupplierData() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSupplierData(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.