java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
ItemSpecificationAccessBean() constructor | |
ItemSpecificationAccessBean(javax.ejb.EJBObject o) constructor | |
ItemSpecificationAccessBean(java.lang.Long arg0, java.lang.Long arg1,
java.lang.String arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByBaseItemId(java.lang.Long arg0)
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 arg0,
java.lang.String arg1)
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 provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setBaseItemId(java.lang.String newValue) This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setDiscontinued(java.lang.String newValue) This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
void |
setInitKey_itemspcId(java.lang.String newValue) Set the primary key for this object |
void |
setItemspcId(java.lang.Long newValue) This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
void |
setItemspcId(java.lang.String newValue) This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastupdate(java.lang.String newValue) This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastupdate(java.sql.Timestamp newValue) This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMemberId(java.lang.Long newValue) This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String newValue) This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setPartNumber(java.lang.String newValue) This method provides access to the ITEMSPC.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public ItemSpecificationAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.String arg2) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Longarg2
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByBaseItemId(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByMemberIdAndPartNumber(java.lang.Long arg0, java.lang.String arg1) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_itemspcId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
getDiscontinued
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDiscontinued(java.lang.String newValue)
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
setDiscontinued
in interface
ItemSpecificationAccessBeanData
newValue
- java.lang.Stringpublic 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.
getItemspcId
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setItemspcId(java.lang.String newValue)
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.
setItemspcId
in interface
ItemSpecificationAccessBeanData
newValue
- Stringpublic void setItemspcId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getLastupdate
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastupdate(java.lang.String newValue)
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.
setLastupdate
in interface
ItemSpecificationAccessBeanData
newValue
- Stringpublic void setLastupdate(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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.
getBaseItemId
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setBaseItemId(java.lang.String newValue)
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.
setBaseItemId
in interface
ItemSpecificationAccessBeanData
newValue
- Stringpublic void setBaseItemId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
getMarkForDelete
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
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
setMarkForDelete
in interface
ItemSpecificationAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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.
getPartNumber
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPartNumber(java.lang.String newValue)
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.
setPartNumber
in interface
ItemSpecificationAccessBeanData
newValue
- java.lang.Stringpublic 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.
getMemberId
in interface
ItemSpecificationAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
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.
setMemberId
in interface
ItemSpecificationAccessBeanData
newValue
- Stringpublic void setMemberId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic java.util.Enumeration findByPartNumberAndStore(java.lang.String astrPartNumber, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
astrPartNumber
- java.lang.StringanStoreId
- java.lang.Integerjavax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException