java.lang.Object | +--com.ibm.commerce.base.objects.ECEntityBean | +--com.ibm.commerce.contract.objimpl.AttachmentBeanBase | +--com.ibm.commerce.contract.objects.AttachmentBean
This bean provides access to the ATTACHMENT table.
The following is a description of this table:
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.
Field Summary |
---|
Fields inherited from class com.ibm.commerce.contract.objimpl. AttachmentBeanBase |
attachmentId,
attachmentURL,
createMethod,
description,
filename,
filesize,
image1,
image2,
markforDelete,
mimeType,
mimeTypeEncoding,
ownerId,
reserved,
timeCreated,
timeUpdated,
usage |
Constructor Summary | |
---|---|
AttachmentBean() |
Method Summary | |
---|---|
java.util.Hashtable |
_copyFromEJB() |
void |
_copyToEJB(java.util.Hashtable h) Method _copyToEJB. |
protected
java.util.Vector |
_getLinks() Method _getLinks. |
protected
void |
_initLinks() Method _initLinks. |
protected
void |
_removeLinks() Method _removeLinks. |
void |
ejbActivate() |
com.ibm.commerce.contract.objects.AttachmentKey |
ejbCreate(java.lang.String argAttachmentURL, java.lang.Long argOwnerId,
java.lang.String argUsage) Constructs an AttachmentAccessBean object with the specified attachment URL, owner ID, and usage. |
void |
ejbLoad() |
void |
ejbPassivate() |
void |
ejbPostCreate(java.lang.String argAttachmentURL,
java.lang.Long argOwnerId, java.lang.String argUsage) The post create method for the bean. |
void |
ejbRemove() |
void |
ejbStore() |
Methods inherited from class com.ibm.commerce.contract.objimpl. AttachmentBeanBase |
getAttachmentId,
getAttachmentURL,
getCreateMethod,
getDescription,
getFilename,
getFilesize,
getImage1,
getImage2,
getMarkforDelete,
getMimeType,
getMimeTypeEncoding,
getOwnerId,
getReserved,
getTimeCreated,
getTimeUpdated,
getUsage,
setAttachmentId,
setAttachmentURL,
setCreateMethod,
setDescription,
setFilename,
setFilesize,
setImage1,
setImage2,
setMarkforDelete,
setMimeType,
setMimeTypeEncoding,
setOwnerId,
setReserved,
setTimeCreated,
setTimeUpdated,
setUsage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentBean()
Method Detail |
---|
public java.util.Hashtable _copyFromEJB()
com.ibm.commerce.base.objects.ECEntityBean#_copyFromEJB()
public void _copyToEJB(java.util.Hashtable h)
h
-protected java.util.Vector _getLinks()
protected void _initLinks()
protected void _removeLinks() throws javax.ejb.RemoveException
RemoveException
public void ejbActivate()
javax.ejb.EntityBean#ejbActivate()
public com.ibm.commerce.contract.objects.AttachmentKey ejbCreate(java.lang.String argAttachmentURL, java.lang.Long argOwnerId, java.lang.String argUsage) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
AttachmentBeanBase
ejbCreate
in class
AttachmentBeanBase
argAttachmentURL
- The URL of the attachement.argOwnerId
- The ID of the attachment owner.argUsage
- The usage of th attachment.javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
AttachmentBeanBase.ejbCreate(String, Long,
String)
public void ejbLoad()
com.ibm.commerce.base.objects.ECEntityBean#ejbLoad()
public void ejbPassivate()
javax.ejb.EntityBean#ejbPassivate()
public void ejbPostCreate(java.lang.String argAttachmentURL, java.lang.Long argOwnerId, java.lang.String argUsage)
argAttachmentURL
- The URL of the attachment.argOwnerId
- The owner of the attachment.argUsage
- The usage of the attachment.public void ejbRemove() throws javax.ejb.RemoveException
javax.ejb.RemoveException
javax.ejb.EntityBean#ejbRemove()
public void ejbStore()
com.ibm.commerce.base.objects.ECEntityBean#ejbStore()