com.ibm.commerce.contract.objects
Class AttachmentAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.contract.objects.AttachmentAccessBean
All Implemented Interfaces:
AttachmentAccessBeanData

public class AttachmentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AttachmentAccessBeanData

This table contains information about Attachments. An Attachment is a supporting document for a trading document. For example, it can be a specification of a product, or a price list spreadsheet.

See Also:
Serialized Form

Constructor Summary
AttachmentAccessBean()
          constructor
AttachmentAccessBean(javax.ejb.EJBObject o)
          constructor
AttachmentAccessBean(java.lang.String 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()
           
  AttachmentAccessBean findByAttachmentURL(java.lang.String arg0)
          Retrieves the Attachment representing the attachment with the specified attachment URL.
 java.util.Enumeration findByTrading(java.lang.Long arg0)
          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 provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAttachmentIdInEJBType()
          This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getAttachmentURL()
          This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
 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 provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254).
 java.lang.String getMimeTypeEncoding()
          This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128).
 java.lang.String getOwnerId()
          This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOwnerIdInEJBType()
          This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getReserved()
          getReserved
 java.lang.String getTimeCreated()
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.
 java.sql.Timestamp getTimeCreatedInEJBType()
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.
 java.lang.String getTimeUpdated()
          This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.
 java.sql.Timestamp getTimeUpdatedInEJBType()
          This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.
 java.lang.String getUsage()
          This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64).
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAttachmentId(java.lang.Long newValue)
          This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
 void setAttachmentId(java.lang.String newValue)
          This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
 void setAttachmentURL(java.lang.String newValue)
          This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
 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 provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254).
 void setMimeTypeEncoding(java.lang.String newValue)
          This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128).
 void setOwnerId(java.lang.Long newValue)
          This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOwnerId(java.lang.String newValue)
          This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setReserved(java.lang.String newValue)
          This method accesses a non-CMP field
 void setTimeCreated(java.lang.String newValue)
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.
 void setTimeCreated(java.sql.Timestamp newValue)
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.
 void setTimeUpdated(java.lang.String newValue)
          This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.
 void setTimeUpdated(java.sql.Timestamp newValue)
          This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.
 void setUsage(java.lang.String newValue)
          This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentAccessBean

public AttachmentAccessBean()
constructor

AttachmentAccessBean

public AttachmentAccessBean(javax.ejb.EJBObject o)
                     throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

AttachmentAccessBean

public AttachmentAccessBean(java.lang.String arg0,
                            java.lang.Long arg1,
                            java.lang.String arg2)
                     throws javax.naming.NamingException,
                            javax.ejb.CreateException,
                            javax.ejb.FinderException,
                            java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.String
arg1 - java.lang.Long
arg2 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail

findByAttachmentURL

public AttachmentAccessBean findByAttachmentURL(java.lang.String arg0)
                                         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 = ?

Returns:
The Attachment representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTrading

public java.util.Enumeration findByTrading(java.lang.Long arg0)
                                    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'

Returns:
An Enumeration of the AttachmentAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setInitKey_attachmentId

public void setInitKey_attachmentId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMimeTypeEncoding

public java.lang.String getMimeTypeEncoding()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128).

The following is a description of this column:

The Attachment encoding.

Specified by:
getMimeTypeEncoding in interface AttachmentAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMimeTypeEncoding

public void setMimeTypeEncoding(java.lang.String newValue)

This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128).

The following is a description of this column:

The Attachment encoding.

Specified by:
setMimeTypeEncoding in interface AttachmentAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getAttachmentId

public java.lang.String getAttachmentId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Attachment ID (primary key).

Specified by:
getAttachmentId in interface AttachmentAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAttachmentIdInEJBType

public java.lang.Long getAttachmentIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Attachment ID (primary key).

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAttachmentId

public void setAttachmentId(java.lang.String newValue)

This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Attachment ID (primary key).

Specified by:
setAttachmentId in interface AttachmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setAttachmentId

public void setAttachmentId(java.lang.Long newValue)

This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Attachment ID (primary key).

Parameters:
newValue - java.lang.Long
Returns:
void

getOwnerId

public java.lang.String getOwnerId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the Attachment.

Specified by:
getOwnerId in interface AttachmentAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOwnerIdInEJBType

public java.lang.Long getOwnerIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the Attachment.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOwnerId

public void setOwnerId(java.lang.String newValue)

This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the Attachment.

Specified by:
setOwnerId in interface AttachmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setOwnerId

public void setOwnerId(java.lang.Long newValue)

This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the Attachment.

Parameters:
newValue - java.lang.Long
Returns:
void

getMimeType

public java.lang.String getMimeType()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254).

The following is a description of this column:

The Attachment mimeType.

Specified by:
getMimeType in interface AttachmentAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMimeType

public void setMimeType(java.lang.String newValue)

This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254).

The following is a description of this column:

The Attachment mimeType.

Specified by:
setMimeType in interface AttachmentAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time the Attachment was updated.

Specified by:
getTimeUpdated in interface AttachmentAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeUpdatedInEJBType

public java.sql.Timestamp getTimeUpdatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time the Attachment was updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeUpdated

public void setTimeUpdated(java.lang.String newValue)

This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time the Attachment was updated.

Specified by:
setTimeUpdated in interface AttachmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp newValue)

This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time the Attachment was updated.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getUsage

public java.lang.String getUsage()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64).

The following is a description of this column:

Foreign key to the attachment usage (ATTACHUSG) table.

Specified by:
getUsage in interface AttachmentAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUsage

public void setUsage(java.lang.String newValue)

This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64).

The following is a description of this column:

Foreign key to the attachment usage (ATTACHUSG) table.

Specified by:
setUsage in interface AttachmentAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The Attachment creation time.

Specified by:
getTimeCreated in interface AttachmentAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeCreatedInEJBType

public java.sql.Timestamp getTimeCreatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The Attachment creation time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeCreated

public void setTimeCreated(java.lang.String newValue)

This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The Attachment creation time.

Specified by:
setTimeCreated in interface AttachmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)

This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

The Attachment creation time.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getAttachmentURL

public java.lang.String getAttachmentURL()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The URL of the Attachment.

Specified by:
getAttachmentURL in interface AttachmentAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAttachmentURL

public void setAttachmentURL(java.lang.String newValue)

This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The URL of the Attachment.

Specified by:
setAttachmentURL in interface AttachmentAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getFilename

public java.lang.String getFilename()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
getFilename
Specified by:
getFilename in interface AttachmentAccessBeanData
Returns:
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setFilename

public void setFilename(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFilename in interface AttachmentAccessBeanData
Parameters:
newValue - The file name of the attachment.

getReserved

public java.lang.String getReserved()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
getReserved
Specified by:
getReserved in interface AttachmentAccessBeanData
Returns:
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setReserved

public void setReserved(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setReserved in interface AttachmentAccessBeanData
Parameters:
newValue - Indicates whether the attachment is reserved.

getCreateMethod

public java.lang.Integer getCreateMethod()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
getCreateMethod
Specified by:
getCreateMethod in interface AttachmentAccessBeanData
Returns:
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setCreateMethod

public void setCreateMethod(java.lang.Integer newValue)
This method accesses a non-CMP field
Specified by:
setCreateMethod in interface AttachmentAccessBeanData
Parameters:
newValue - The create method of the attachment.

getMarkforDelete

public java.lang.Integer getMarkforDelete()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
getMarkforDelete
Specified by:
getMarkforDelete in interface AttachmentAccessBeanData
Returns:
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setMarkforDelete

public void setMarkforDelete(java.lang.Integer newValue)
This method accesses a non-CMP field
Specified by:
setMarkforDelete in interface AttachmentAccessBeanData
Parameters:
newValue - 0 if not marked for delete; 1 if marked for delete.

getImage2

public java.lang.String getImage2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException
getImage2
Specified by:
getImage2 in interface AttachmentAccessBeanData
Returns:
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setImage2

public void setImage2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setImage2 in interface AttachmentAccessBeanData
Parameters:
newValue - The image associated with the attachment.

getImage1

public java.lang.String getImage1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException
getImage1
Specified by:
getImage1 in interface AttachmentAccessBeanData
Returns:
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setImage1

public void setImage1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setImage1 in interface AttachmentAccessBeanData
Parameters:
newValue - The image associated with the attachment.

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
getDescription
Specified by:
getDescription in interface AttachmentAccessBeanData
Returns:
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDescription in interface AttachmentAccessBeanData
Parameters:
newValue - The description of the attachment.

getFilesize

public java.lang.Long getFilesize()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException
getFilesize
Specified by:
getFilesize in interface AttachmentAccessBeanData
Returns:
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException
javax.ejb.FinderException

setFilesize

public void setFilesize(java.lang.Long newValue)
This method accesses a non-CMP field
Specified by:
setFilesize in interface AttachmentAccessBeanData
Parameters:
newValue - The file size of the attachment.

findByTradingId

public java.util.Enumeration findByTradingId(java.lang.Long argTradingId)
                                      throws javax.naming.NamingException,
                                             javax.ejb.FinderException,
                                             java.rmi.RemoteException
findByTradingId method comment
Parameters:
argTradingId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The exception description.
javax.ejb.FinderException - The exception description.
javax.naming.NamingException