public class AttachmentAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements AttachmentAccessBeanData
Constructor and Description |
---|
AttachmentAccessBean()
Zero argument constructor used to initialize the access bean.
|
AttachmentAccessBean(javax.ejb.EJBObject o)
constructor
|
AttachmentAccessBean(java.lang.String argAttachmentURL, java.lang.Long argOwnerId, java.lang.String argUsage)
Constructs an Attachment object with the specified attachment URL, owner ID, and argUsage.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
|
protected java.lang.String | defaultJNDIName() |
AttachmentAccessBean | findByAttachmentURL(java.lang.String argAttachmentURL)
Retrieves the Attachment representing the attachment with the specified attachment URL.
|
java.util.Enumeration | findByTrading(java.lang.Long argTradingId)
Returns an Enumeration of the AttachmentAccessBeans representing all the attachments that the contract has.
|
java.util.Enumeration | findByTradingId(java.lang.Long argTradingId)
findByTradingId method comment
|
java.lang.String | getAttachmentId()
This method accesses a non-CMP field
|
java.lang.Long | getAttachmentIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getAttachmentURL()
This method accesses a non-CMP field
|
java.lang.Integer | getCreateMethod()
getCreateMethod
|
java.lang.String | getDescription()
getDescription
|
java.lang.String | getFilename()
getFilename
|
java.lang.Long | getFilesize()
getFilesize
|
java.lang.String | getImage1()
getImage1
|
java.lang.String | getImage2()
getImage2
|
java.lang.Integer | getMarkforDelete()
getMarkforDelete
|
java.lang.String | getMimeType()
This method accesses a non-CMP field
|
java.lang.String | getMimeTypeEncoding()
This method accesses a non-CMP field
|
java.lang.String | getOwnerId()
This method accesses a non-CMP field
|
java.lang.Long | getOwnerIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getReserved()
getReserved
|
java.lang.String | getTimeCreated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeCreatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeUpdated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeUpdatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getUsage()
This method accesses a non-CMP field
|
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper()
Load data from the EJBObject.
|
void | setAttachmentId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setAttachmentId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setAttachmentURL(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setCreateMethod(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setDescription(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setFilename(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setFilesize(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setImage1(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setImage2(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setInitKey_attachmentId(java.lang.String newValue)
Set the primary key for this object
|
void | setMarkforDelete(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setMimeType(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setMimeTypeEncoding(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setReserved(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setUsage(java.lang.String newValue)
This method accesses a non-CMP field
|
public AttachmentAccessBean()
public AttachmentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public AttachmentAccessBean(java.lang.String argAttachmentURL, java.lang.Long argOwnerId, java.lang.String argUsage) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs an Attachment object with the specified attachment URL, owner ID, and argUsage.
public AttachmentAccessBean findByAttachmentURL(java.lang.String argAttachmentURL) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Attachment representing the attachment with the specified attachment URL.
The SQL query used to fetch the required row from the ATTACHMENT table is:
select * from attachment T1 where T1.attachmenturl = ?
public java.util.Enumeration findByTrading(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the AttachmentAccessBeans representing all the attachments that the contract has.
The SQL query used to fetch all the required rows from the ATTACHMENT table is:
select * from attachment T1 where T1.attachment_id in (select attachment_id from trdattach where trading_id = ?) and attachusg_id = 'Contract'
public void setInitKey_attachmentId(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 getMimeTypeEncoding() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMimeTypeEncoding(java.lang.String newValue)
public java.lang.String getAttachmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getAttachmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentId(java.lang.String newValue)
public void setAttachmentId(java.lang.Long newValue)
public java.lang.String getOwnerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOwnerId(java.lang.String newValue)
public void setOwnerId(java.lang.Long newValue)
public java.lang.String getMimeType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMimeType(java.lang.String newValue)
public java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
public java.lang.String getUsage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setUsage(java.lang.String newValue)
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
public java.lang.String getAttachmentURL() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentURL(java.lang.String newValue)
public java.lang.String getFilename() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFilename(java.lang.String newValue)
public java.lang.String getReserved() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setReserved(java.lang.String newValue)
public java.lang.Integer getCreateMethod() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCreateMethod(java.lang.Integer newValue)
public java.lang.Integer getMarkforDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMarkforDelete(java.lang.Integer newValue)
public java.lang.String getImage2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setImage2(java.lang.String newValue)
public java.lang.String getImage1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setImage1(java.lang.String newValue)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDescription(java.lang.String newValue)
public java.lang.Long getFilesize() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFilesize(java.lang.Long newValue)
public java.util.Enumeration findByTradingId(java.lang.Long argTradingId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException