|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.inventory.objects.ItemSpecificationAccessBean
This bean provides access to the ITEMSPC table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ItemSpecificationAccessBean()
Default constructor. |
|
ItemSpecificationAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
ItemSpecificationAccessBean(java.lang.Long BaseItemId,
java.lang.Long MemberId,
java.lang.String PartNumber)
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). |
java.util.Enumeration |
findByBaseItemId(java.lang.Long BaseItemId)
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 MemberId,
java.lang.String PartNumber)
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.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. |
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 NULL. |
java.sql.Timestamp |
getLastupdateInEJBType()
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getMarkForDelete()
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMarkForDeleteInEJBType()
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setBaseItemId(java.lang.Long aBaseItemId)
This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setBaseItemId(java.lang.String aBaseItemId)
This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setDiscontinued(java.lang.String aDiscontinued)
This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL. |
void |
setInitKey_itemspcId(java.lang.String aInitKey_itemspcId)
Set the primary key for this object |
void |
setItemspcId(java.lang.Long aItemspcId)
This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
void |
setItemspcId(java.lang.String aItemspcId)
This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastupdate(java.lang.String aLastupdate)
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setLastupdate(java.sql.Timestamp aLastupdate)
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMemberId(java.lang.Long aMemberId)
This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String aMemberId)
This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setPartNumber(java.lang.String aPartNumber)
This method provides access to the ITEMSPC.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ItemSpecificationAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ItemSpecificationAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- - javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic ItemSpecificationAccessBean(java.lang.Long BaseItemId, java.lang.Long MemberId, java.lang.String PartNumber) 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
BaseItemId
- - java.lang.LongMemberId
- - java.lang.LongPartNumber
- - java.lang.Stringjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByBaseItemId(java.lang.Long BaseItemId) 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 = ?
BaseItemId
- - java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByMemberIdAndPartNumber(java.lang.Long MemberId, java.lang.String PartNumber) 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 = ?
MemberId
- - java.lang.LongPartNumber
- - java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
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.
N = This item specification is active and may be backordered if out of stock.
getDiscontinued
in interface ItemSpecificationAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Timestamp of last update.
getLastupdate
in interface ItemSpecificationAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Timestamp of last update.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates if the specified item is marked for deletion:
0 = No, it may be ordered.
1 = Marked for deletion and cannot be ordered or backordered.
getMarkForDelete
in interface ItemSpecificationAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates if the specified item is marked for deletion:
0 = No, it may be ordered.
1 = Marked for deletion and cannot be ordered or backordered.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setBaseItemId(java.lang.Long aBaseItemId)
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.
aBaseItemId
- java.lang.Longpublic void setBaseItemId(java.lang.String aBaseItemId)
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
aBaseItemId
- java.lang.Stringpublic void setDiscontinued(java.lang.String aDiscontinued)
This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL.
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.
N = This item specification is active and may be backordered if out of stock.
setDiscontinued
in interface ItemSpecificationAccessBeanData
aDiscontinued
- java.lang.Stringpublic void setInitKey_itemspcId(java.lang.String aInitKey_itemspcId)
Set the primary key for this object
aInitKey_itemspcId
- java.lang.Stringpublic void setItemspcId(java.lang.Long aItemspcId)
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.
aItemspcId
- java.lang.Longpublic void setItemspcId(java.lang.String aItemspcId)
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
aItemspcId
- java.lang.Stringpublic void setLastupdate(java.lang.String aLastupdate)
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Timestamp of last update.
setLastupdate
in interface ItemSpecificationAccessBeanData
aLastupdate
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp aLastupdate)
This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Timestamp of last update.
aLastupdate
- java.sql.Timestamppublic void setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if the specified item is marked for deletion:
0 = No, it may be ordered.
1 = Marked for deletion and cannot be ordered or backordered.
aMarkForDelete
- java.lang.Integerpublic void setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if the specified item is marked for deletion:
0 = No, it may be ordered.
1 = Marked for deletion and cannot be ordered or backordered.
setMarkForDelete
in interface ItemSpecificationAccessBeanData
aMarkForDelete
- java.lang.Stringpublic void setMemberId(java.lang.Long aMemberId)
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.
aMemberId
- java.lang.Longpublic void setMemberId(java.lang.String aMemberId)
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
aMemberId
- java.lang.Stringpublic void setPartNumber(java.lang.String aPartNumber)
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
aPartNumber
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |