public class AttachmentDataBean
extends com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
implements com.ibm.commerce.attachment.beans.AttachmentInputDataBean, com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Define the CLASSNAME.
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
AttachmentDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean abAttachmentRel, CommandContext context)
Constructs an AttachmentDataBean from a AttachmentRelationAccessBean.
|
Modifier and Type | Method and Description |
---|---|
AttachmentAssetDataBean[] | getAttachmentAssets()
This method gets the attachment assets for the current language.
|
java.lang.String | getAttachmentObjectTypeId()
Deprecated.
This method should never be used.
|
java.lang.Integer | getAttachmentObjectTypeIdInEJBType()
Deprecated.
This method should never be used.
|
java.lang.String | getAttachmentRelationId()
Deprecated.
This method should never be used.
|
java.lang.Long | getAttachmentRelationIdInEJBType()
Deprecated.
This method should never be used.
|
com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean | getAttachmentRelationUsage()
Deprecated.
This method should never be used. Access bean should not be returned in from a databean method.
|
java.lang.String | getAttachmentRelationUsageId()
Deprecated.
This method should never be used.
|
java.lang.Integer | getAttachmentRelationUsageIdInEJBType()
Deprecated.
This method should never be used.
|
com.ibm.commerce.attachment.objects.AttachmentTargetAccessBean | getAttachmentTarget()
Deprecated.
This method should never be used. Access bean should not be returned in from a databean method.
|
java.lang.String | getAttachmentTargetId()
Deprecated.
This method should never be used.
|
java.lang.Long | getAttachmentTargetIdInEJBType()
Deprecated.
This method should never be used.
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
com.ibm.commerce.attachment.objects.AttachmentRelationDescriptionAccessBean | getDescription(java.lang.Integer anLanguageId)
Deprecated.
This method should never be used. Access bean should not be returned in from a databean method.
|
com.ibm.commerce.attachment.objects.AttachmentRelationDescriptionAccessBean | getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
Deprecated.
This method should never be used. Access bean should not be returned in from a databean method.
|
java.lang.Double | getDisplaySequence()
Gets the display sequence of the attachment relation.
|
java.lang.Long | getField1()
Gets the customizable field 1 in the attachment target.
|
java.lang.Double | getField2()
Gets the customizable field 2 in the attachment target.
|
java.lang.String | getField3()
Gets the customizable field 3 in the attachment target.
|
java.lang.String | getField4()
Gets the customizable field 4 in the attachment target.
|
java.lang.String | getFileIdentifer()
Gets the identifier of the attachment target in the attachment relation
|
java.lang.String | getFileLongDescription()
Gets the long description of the attachment target.
|
java.lang.String | getFileName()
Gets the file name of the attachment.
|
java.lang.String | getFileShortDescription()
Gets the short description of the attachment target.
|
java.lang.String | getImage1()
Gets the image 1 of the attachment asset.
|
java.lang.String | getImage2()
Gets the image 2 of the attachment asset.
|
java.lang.Integer | getLangaugeId()
Gets the language ID.
|
java.lang.String | getLastUpdate()
Deprecated.
This method should never be used.
|
java.sql.Timestamp | getLastUpdateInEJBType()
Deprecated.
This method should never be used.
|
java.lang.String | getLongDescription()
Gets the long description of the attachment relation.
|
java.lang.String | getMimeEncoding()
Gets the mime type encoding of the attachment asset.
|
java.lang.String | getMimeType()
Gets the mime type of the attachment asset.
|
java.lang.String | getName()
Gets the language dependent name of the attachment relation
|
java.lang.String | getObjectId()
Deprecated.
This method should never be used.
|
java.lang.String | getObjectPath()
Gets the path to attachment object based on the store ID in the attachment.
|
java.lang.Long | getOwnerId()
Gets the member ID of the owner of the attachment target.
|
java.lang.String | getPath()
Gets the attachment asset path.
|
TypedProperty | getRequestProperties()
Gets the request property set within this bean.
|
java.lang.String | getSequence()
Deprecated.
This method should never be used.
|
java.lang.Double | getSequenceInEJBType()
Deprecated.
This method should never be used.
|
java.lang.String | getShortDescription()
Gets the short description of the attachment relation.
|
java.lang.Integer | getStoreId()
Gets the store ID that owns the attachment target.
|
AttachmentUsageDataBean | getUsageDataBean()
Gets the AttachmentUsageDataBean that is used in this attachment.
|
void | populate()
Fetches and populates information needed by the bean.
|
void | setAttachmentObjectTypeId(java.lang.Integer newValue)
Deprecated.
This method should never be used.
|
void | setAttachmentObjectTypeId(java.lang.String newValue)
Deprecated.
This method should never be used.
|
void | setAttachmentRelationUsageId(java.lang.Integer newValue)
Deprecated.
This method should never be used.
|
void | setAttachmentRelationUsageId(java.lang.String newValue)
Deprecated.
This method should never be used.
|
void | setAttachmentTargetId(java.lang.Long newValue)
Deprecated.
This method should never be used.
|
void | setAttachmentTargetId(java.lang.String newValue)
Deprecated.
This method should never be used.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context passed in at run time.
|
void | setInitKey_AttachmentRelationId(java.lang.Long newValue)
Deprecated.
This method should never be used.
|
void | setLangaugeId(java.lang.Integer anLanguageId)
Sets the language ID.
|
void | setLastUpdate(java.lang.String newValue)
Deprecated.
This method should never be used.
|
void | setLastUpdate(java.sql.Timestamp newValue)
Deprecated.
This method should never be used.
|
void | setObjectId(java.lang.String newValue)
Deprecated.
This method should never be used.
|
void | setRequestProperties(TypedProperty param)
Sets the request property and populates the parameters that are needed by the bean.
|
void | setSequence(java.lang.Double newValue)
Deprecated.
This method should never be used.
|
void | setSequence(java.lang.String newValue)
Deprecated.
This method should never be used.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AttachmentDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean abAttachmentRel, CommandContext context)
public CommandContext getCommandContext()
public java.lang.Long getField1()
public java.lang.Double getField2()
public java.lang.String getField3()
public java.lang.String getField4()
public java.lang.String getFileIdentifer()
public java.lang.String getFileName()
public java.lang.String getFileLongDescription()
public java.lang.String getFileShortDescription()
public java.lang.String getImage1()
public java.lang.String getImage2()
public java.lang.Integer getLangaugeId()
public java.lang.String getLongDescription()
public java.lang.String getMimeType()
public java.lang.String getMimeEncoding()
public java.lang.String getName()
public java.lang.Long getOwnerId()
public java.lang.String getPath()
public TypedProperty getRequestProperties()
public java.lang.Double getDisplaySequence()
public java.lang.String getShortDescription()
public java.lang.Integer getStoreId()
public AttachmentUsageDataBean getUsageDataBean()
public java.lang.String getObjectPath() throws ECException
public AttachmentAssetDataBean[] getAttachmentAssets()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext commandContext)
public void setLangaugeId(java.lang.Integer anLanguageId)
public void setRequestProperties(TypedProperty param)
public java.lang.String getAttachmentTargetId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentTargetId(java.lang.String newValue)
public void setAttachmentTargetId(java.lang.Long newValue)
public java.lang.String getObjectId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setObjectId(java.lang.String newValue)
public java.lang.String getAttachmentRelationUsageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentRelationUsageId(java.lang.Integer newValue)
public java.lang.String getAttachmentObjectTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentObjectTypeId(java.lang.Integer newValue)
public java.lang.String getAttachmentRelationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLastUpdate(java.sql.Timestamp newValue)
public java.lang.String getSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSequence(java.lang.Double newValue)
public void setInitKey_AttachmentRelationId(java.lang.Long newValue)
public java.lang.Long getAttachmentTargetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getAttachmentRelationUsageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentRelationUsageId(java.lang.String newValue)
public java.lang.Integer getAttachmentObjectTypeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAttachmentObjectTypeId(java.lang.String newValue)
public java.lang.Long getAttachmentRelationIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getLastUpdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLastUpdate(java.lang.String newValue)
public java.lang.Double getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSequence(java.lang.String newValue)
public com.ibm.commerce.attachment.objects.AttachmentRelationDescriptionAccessBean getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public com.ibm.commerce.attachment.objects.AttachmentTargetAccessBean getAttachmentTarget() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean getAttachmentRelationUsage() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public com.ibm.commerce.attachment.objects.AttachmentRelationDescriptionAccessBean getDescription(java.lang.Integer anLanguageId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException