java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.ordermanagement.objects.RMAItemComponentAccessBean
This table describes the smallest unit of inventory items involved in a return merchandise authorization (RMA). This access bean corresponds to the database table 'RMAITEMCMP'.
Constructor Summary | |
RMAItemComponentAccessBean() Zero argument constructor used to initialize the access bean. |
|
RMAItemComponentAccessBean(javax.ejb.EJBObject o) constructor |
|
RMAItemComponentAccessBean(java.lang.Long newRmaItemId, java.lang.Double newQuantity, java.lang.Long newItemSpcId) 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 | findByRmaItemComponentIdForUpdate(java.lang.Long rmaItemComponentId) Retrieves all the RMA item components for a particular RMA item component ID. |
java.util.Enumeration | findByRmaItemId(java.lang.Long rmaItemId)
Retrieves all the RMA item components defined for a store and its corresponding store group, and returns the list sorted by store entity.
The SQL query used to fetch the requested row from the RMAITEMCMP table is: SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ? |
java.util.Enumeration | findByRmaItemIdForUpdate(java.lang.Long rmaItemId)
Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is: SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE |
java.util.Enumeration | findReceivableByRmaId(java.lang.Long rmaId)
Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is: SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = RMAITEM.RMAITEM_ID AND RMAITEM.RMA_ID = ? AND T1.SHOULDRECEIVE = 'Y' |
java.lang.String | getCatentryId() This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT. |
java.lang.Long | getCatentryIdInEJBType() This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT. |
java.lang.String | getInventoryQuantity() This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getInventoryQuantityInEJBType() This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getItemSpcId() This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getItemSpcIdInEJBType() This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getQuantity() This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL. |
java.lang.Double | getQuantityInEJBType() This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL. |
java.lang.String | getRmaItemCmpId() This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getRmaItemCmpIdInEJBType() This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getRmaItemId() This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getRmaItemIdInEJBType() This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getShouldReceive() This method provides access to the RMAITEMCMP.SHOULDRECEIVE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCatentryId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCatentryId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_rmaItemCmpId(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 | setItemSpcId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setItemSpcId(java.lang.String newValue) This method accesses a non-CMP field |
void | setQuantity(java.lang.Double newValue) This method accesses a non-CMP field |
void | setQuantity(java.lang.String newValue) This method accesses a non-CMP field |
void | setRmaItemCmpId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRmaItemCmpId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRmaItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRmaItemId(java.lang.String newValue) This method accesses a non-CMP field |
void | setShouldReceive(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 RMAItemComponentAccessBean()
public RMAItemComponentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public RMAItemComponentAccessBean(java.lang.Long newRmaItemId, java.lang.Double newQuantity, java.lang.Long newItemSpcId) 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 findByRmaItemComponentIdForUpdate(java.lang.Long rmaItemComponentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA item components for a particular RMA item component ID. There will be only one match.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEMCMP_ID = ? FOR UPDATE
public java.util.Enumeration findByRmaItemId(java.lang.Long rmaItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA item components defined for a store and its corresponding store group, and returns the list sorted by store entity.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ?
public java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long rmaItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE
public java.util.Enumeration findReceivableByRmaId(java.lang.Long rmaId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = RMAITEM.RMAITEM_ID AND RMAITEM.RMA_ID = ? AND T1.SHOULDRECEIVE = 'Y'
public void setInitKey_rmaItemCmpId(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 getQuantity() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
The result of multiplying QUANTITY by CATENTSHIP.NOMINALQUANTITY must be a multiple of CATENTSHIP.QUANTITYMULTIPLE, and represents the actual quantity being purchased, in the unit of measurement specified by CATENTSHIP.QUANTITYMEASURE.
public java.lang.Double getQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
The result of multiplying QUANTITY by CATENTSHIP.NOMINALQUANTITY must be a multiple of CATENTSHIP.QUANTITYMULTIPLE, and represents the actual quantity being purchased, in the unit of measurement specified by CATENTSHIP.QUANTITYMEASURE.
public void setQuantity(java.lang.String newValue)
public void setQuantity(java.lang.Double newValue)
public java.lang.String getItemSpcId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Identity of the inventory item.
public java.lang.Long getItemSpcIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Identity of the inventory item.
public void setItemSpcId(java.lang.String newValue)
public void setItemSpcId(java.lang.Long newValue)
public java.lang.String getRmaItemCmpId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getRmaItemCmpIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setRmaItemCmpId(java.lang.String newValue)
public void setRmaItemCmpId(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 RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Quantity in inventory units of this component
public java.lang.Integer getInventoryQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Quantity in inventory units of this component
public void setInventoryQuantity(java.lang.String newValue)
public void setInventoryQuantity(java.lang.Integer newValue)
public java.lang.String getRmaItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The RMAItem that this component is a part of.
public java.lang.Long getRmaItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The RMAItem that this component is a part of.
public void setRmaItemId(java.lang.String newValue)
public void setRmaItemId(java.lang.Long newValue)
public java.lang.String getCatentryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT.
The following is a description of this column:
Reserved for IBM internal use.
public java.lang.Long getCatentryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT.
The following is a description of this column:
Reserved for IBM internal use.
public void setCatentryId(java.lang.String newValue)
public void setCatentryId(java.lang.Long newValue)
public java.lang.String getShouldReceive() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMAITEMCMP.SHOULDRECEIVE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'.
The following is a description of this column:
A flag that indicates whether this component will actually be received by the seller. Valid values are as follows:&l
public void setShouldReceive(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.