|
||||||||
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.ItemVersionAccessBean
This bean provides access to the ITEMVERSN table.
The following is a description of this table:
Each row of this table represents an ItemVersion for a BaseItem. An ItemVersion expires when its expiration date is in the past. Each BaseItem must only have a single ItemVersion defined.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ItemVersionAccessBean()
Default constructor. |
|
ItemVersionAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
ItemVersionAccessBean(java.lang.Long BaseItemId,
java.sql.Timestamp ExpirationDate)
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 the ItemVersion for the specified BASEITEM_ID The SQL query used to fetch the requested row from the ITEMVERSN table is: SELECT * FROM ITEMVERSN T1 WHERE T1.BASEITEM_ID = ? |
java.lang.String |
getBaseItemId()
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getBaseItemIdInEJBType()
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getExpirationDate()
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp |
getExpirationDateInEJBType()
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String |
getItemversnId()
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getItemversnIdInEJBType()
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getLastupdate()
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getLastupdateInEJBType()
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getVersionName()
This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setBaseItemId(java.lang.Long aBaseItemId)
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setBaseItemId(java.lang.String aBaseItemId)
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setExpirationDate(java.lang.String aExpirationDate)
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setExpirationDate(java.sql.Timestamp aExpirationDate)
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setInitKey_itemversnId(java.lang.String aInitKey_itemversnId)
Set the primary key for this object |
void |
setItemversnId(java.lang.Long aItemversnId)
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
void |
setItemversnId(java.lang.String aItemversnId)
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastupdate(java.lang.String aLastupdate)
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setLastupdate(java.sql.Timestamp aLastupdate)
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setVersionName(java.lang.String aVersionName)
This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) 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 ItemVersionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ItemVersionAccessBean(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 ItemVersionAccessBean(java.lang.Long BaseItemId, java.sql.Timestamp ExpirationDate) 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.LongExpirationDate
- - java.sql.Timestampjavax.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 the ItemVersion for the specified BASEITEM_ID
The SQL query used to fetch the requested row from the
ITEMVERSN table is:
SELECT * FROM ITEMVERSN 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.lang.String getBaseItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The BaseItem for this ItemVersion.
getBaseItemId
in interface ItemVersionAccessBeanData
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 ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The BaseItem for this ItemVersion.
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 getExpirationDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this ItemVersion expires.
getExpirationDate
in interface ItemVersionAccessBeanData
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 getExpirationDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this ItemVersion expires.
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 getItemversnId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
getItemversnId
in interface ItemVersionAccessBeanData
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 getItemversnIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary 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 ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this ItemVersion was most recently updated.
getLastupdate
in interface ItemVersionAccessBeanData
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 ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this ItemVersion was most recently updated.
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 getVersionName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL.
The following is a description of this column:
Uniquely identifies this ItemVersion for its BaseItem.
getVersionName
in interface ItemVersionAccessBeanData
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 ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The BaseItem for this ItemVersion.
aBaseItemId
- java.lang.Longpublic void setBaseItemId(java.lang.String aBaseItemId)
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The BaseItem for this ItemVersion.
setBaseItemId
in interface ItemVersionAccessBeanData
aBaseItemId
- java.lang.Stringpublic void setExpirationDate(java.lang.String aExpirationDate)
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this ItemVersion expires.
setExpirationDate
in interface ItemVersionAccessBeanData
aExpirationDate
- java.lang.Stringpublic void setExpirationDate(java.sql.Timestamp aExpirationDate)
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this ItemVersion expires.
aExpirationDate
- java.sql.Timestamppublic void setInitKey_itemversnId(java.lang.String aInitKey_itemversnId)
Set the primary key for this object
aInitKey_itemversnId
- java.lang.Stringpublic void setItemversnId(java.lang.Long aItemversnId)
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
aItemversnId
- java.lang.Longpublic void setItemversnId(java.lang.String aItemversnId)
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
setItemversnId
in interface ItemVersionAccessBeanData
aItemversnId
- java.lang.Stringpublic void setLastupdate(java.lang.String aLastupdate)
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this ItemVersion was most recently updated.
setLastupdate
in interface ItemVersionAccessBeanData
aLastupdate
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp aLastupdate)
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this ItemVersion was most recently updated.
aLastupdate
- java.sql.Timestamppublic void setVersionName(java.lang.String aVersionName)
This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL.
The following is a description of this column:
Uniquely identifies this ItemVersion for its BaseItem.
setVersionName
in interface ItemVersionAccessBeanData
aVersionName
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |