|
||||||||
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.contract.objects.TradingAttachmentRelationAccessBean
This bean provides access to the TRDATTACH table.
The following is a description of this table:
The trading to attachment relationship table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TradingAttachmentRelationAccessBean()
Default constructor. |
|
TradingAttachmentRelationAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
TradingAttachmentRelationAccessBean(java.lang.Long tradingId,
java.lang.Long attachmentId)
Constructs an TradingAttachmentRelationAccessBean object with the specified trading ID, and attachment ID |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByAttachment(java.lang.Long attachmentId)
Retrieves representing all the trading agreement and attachment relationships that the attachment has. |
java.util.Enumeration |
findByTrading(java.lang.Long tradingId)
Retrieves all the trading agreement and attachment relationships that the contract has. |
java.lang.String |
getAttachmentId()
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getAttachmentIdInEJBType()
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTradingId()
This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTradingIdInEJBType()
This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_attachmentId(java.lang.String aInitKey_attachmentId)
Set the primary key for this object |
void |
setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object |
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 TradingAttachmentRelationAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TradingAttachmentRelationAccessBean(javax.ejb.EJBObject Object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TradingAttachmentRelationAccessBean(java.lang.Long tradingId, java.lang.Long attachmentId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs an TradingAttachmentRelationAccessBean object with the specified trading ID, and attachment ID
tradingId
- The ID of the trading agreement.attachmentId
- The ID of the attachment.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 findByAttachment(java.lang.Long attachmentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves representing all the trading agreement and attachment relationships that the attachment has.
The SQL query used to fetch all the required rows from the TRDATTACH table is:
select * from trdattach T1 where T1.attachment_id = ?
attachmentId
- 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 findByTrading(java.lang.Long tradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the trading agreement and attachment relationships that the contract has.
The SQL query used to fetch all the required rows from the TRDATTACH table is:
select * from trdattach T1 where T1.trading_id = ?
tradingId
- The ID of the trading agreement.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAttachmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Attachment ID.
getAttachmentId
in interface TradingAttachmentRelationAccessBeanData
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 getAttachmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Attachment ID.
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 getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading agreement ID.
getTradingId
in interface TradingAttachmentRelationAccessBeanData
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 getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading agreement ID.
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 setInitKey_attachmentId(java.lang.String aInitKey_attachmentId)
Set the primary key for this object
aInitKey_attachmentId
- The ID of the attachment.public void setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object
aInitKey_tradingId
- The ID of the trading agreement.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |