java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.inventory.objects.ItemSpecificationAccessBean
Information about specified items. A specified item is a product with values for all its attributes. A specified item could correspond to a 2L bottle of milk, with 2% fat content. A specified item is the customer view of what the merchant sells. This access bean corresponds to the database table 'ITEMSPC'.
Constructor Summary | |
ItemSpecificationAccessBean() Zero argument constructor used to initialize the access bean. |
|
ItemSpecificationAccessBean(javax.ejb.EJBObject o) constructor |
|
ItemSpecificationAccessBean(java.lang.Long newBaseItemId, java.lang.Long newMemberId, java.lang.String newPartNumber) 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 | findByBaseItemId(java.lang.Long aBaseItemId)
Retrieves information about specified items for the given BASEITEM_ID
The SQL query used to fetch the requested row from the ITEMSPC table is: SELECT * FROM ITEMSPC T1 WHERE T1.BASEITEM_ID = ? |
java.util.Enumeration | findByMemberIdAndPartNumber(java.lang.Long aMemberId, java.lang.String aPartNumber)
Retrieves information about specified items for the given MEMBER_ID and PARTNUMBER
The SQL query used to fetch the requested row from the ITEMSPC table is: SELECT * FROM ITEMSPC T1 WHERE T1.MEMBER_ID = ? AND T1.PARTNUMBER = ? |
java.util.Enumeration | findByPartNumberAndStore(java.lang.String astrPartNumber, java.lang.Integer anStoreId) findByPartNumberAndStore |
java.lang.String | getBaseItemId() This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getBaseItemIdInEJBType() This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getDiscontinued() This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getItemspcId() This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getItemspcIdInEJBType() This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getLastupdate() This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getMarkForDelete() This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getMemberId() This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getPartNumber() This method provides access to the ITEMSPC.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBaseItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setBaseItemId(java.lang.String newValue) This method accesses a non-CMP field |
void | setDiscontinued(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_itemspcId(java.lang.String newValue) Set the primary key for this object |
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 | setLastupdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastupdate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.String newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPartNumber(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 ItemSpecificationAccessBean()
public ItemSpecificationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ItemSpecificationAccessBean(java.lang.Long newBaseItemId, java.lang.Long newMemberId, java.lang.String newPartNumber) 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 findByBaseItemId(java.lang.Long aBaseItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves information about specified items for the given BASEITEM_ID
The SQL query used to fetch the requested row from the ITEMSPC table is:
SELECT * FROM ITEMSPC T1 WHERE T1.BASEITEM_ID = ?
public java.util.Enumeration findByMemberIdAndPartNumber(java.lang.Long aMemberId, java.lang.String aPartNumber) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves information about specified items for the given MEMBER_ID and PARTNUMBER
The SQL query used to fetch the requested row from the ITEMSPC table is:
SELECT * FROM ITEMSPC T1 WHERE T1.MEMBER_ID = ? AND T1.PARTNUMBER = ?
public void setInitKey_itemspcId(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 getDiscontinued() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Y = This item specification has been discontinued. It can be ordered if there is sufficient inventory but it cannot be backordered.&l
public void setDiscontinued(java.lang.String 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 ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getItemspcIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setItemspcId(java.lang.String newValue)
public void setItemspcId(java.lang.Long newValue)
public java.lang.String getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
Timestamp of last update.
public java.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
Timestamp of last update.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp newValue)
public java.lang.String getBaseItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The product BaseItem.
public java.lang.Long getBaseItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The product BaseItem.
public void setBaseItemId(java.lang.String newValue)
public void setBaseItemId(java.lang.Long newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if the specified item is marked for deletion:&l
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if the specified item is marked for deletion:&l
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getPartNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
The following is a description of this column:
Uniquely identifies an item for a particular owner.
public void setPartNumber(java.lang.String newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of this specified item.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of this specified item.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.util.Enumeration findByPartNumberAndStore(java.lang.String astrPartNumber, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.