public class AttachmentAssetDataBean
extends com.ibm.commerce.attachment.objects.AttachmentAssetAccessBean
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 |
---|
AttachmentAssetDataBean()
Constructs an empty AttachmentAssetDataBean.
|
AttachmentAssetDataBean(com.ibm.commerce.attachment.objects.AttachmentAssetAccessBean abAttachmentAsset, CommandContext context)
Constructs and populates an AttachmentAssetDataBean from a AttachmentAssetAccessBean.
|
Modifier and Type | Method and Description |
---|---|
AttachmentAssetLanguageDataBean[] | getAssetLanguages()
Gets the list of AttachmentAssetLanguageDataBean of the attachment asset.
|
java.lang.String | getAttachmentAssetId()
Gets the attachment asset ID.
|
java.lang.String | getAttachmentAssetPath()
Gets the path of the attachment asset.
|
java.lang.String | getAttachmentTargetId()
Gets the attachment target ID.
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
byte[] | getContent()
Gets the content of the attachment asset.
|
java.lang.String | getDirectoryPath()
Gets the directory path of the attachment asset.
|
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[] | getLanguages()
Gets the list of languages supported by the attachment asset.
|
java.lang.String | getMimeType()
Gets the mime type of the attachment asset.
|
java.lang.String | getMimeTypeEncoding()
Gets the encoding of the mime type of the attachment asset.
|
java.lang.String | getObjectPath()
Gets the path to attachment asset object based on the store ID in the attachment asset.
|
TypedProperty | getRequestProperties()
Gets the request property set within this bean.
|
java.lang.String | getStoreentId()
Gets the store entity ID.
|
void | populate()
Fetches and populates information needed by the bean.
|
void | reset()
Resets the databean
|
void | setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
Sets the attachment asset ID.
|
void | setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
Sets the path of the attachment asset.
|
void | setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
Sets the attachment target ID.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context passed in at run time.
|
void | setContent(byte[] abaContent)
Sets the attachment asset file content.
|
void | setDirectoryPath(java.lang.String astrDirectoryPath)
Sets the directory path of the attachment asset.
|
void | setImage1(java.lang.String astrImage1)
Sets the image 1 of the attachment asset.
|
void | setImage2(java.lang.String astrImage2)
Sets the image 2 of the attachment asset.
|
void | setLanguages(java.lang.Integer[] aarnLanguages)
Sets the list of languages supported by the attachment asset.
|
void | setMimeType(java.lang.String astrMimeType)
Sets the mime type of the attachment asset
|
void | setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
Sets the encoding of the mime type of the attachment asset.
|
void | setRequestProperties(TypedProperty param)
Sets the request property and populates the parameters that are needed by the bean.
|
void | setStoreentId(java.lang.Integer anStoreentId)
Sets the store entity ID.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AttachmentAssetDataBean()
public AttachmentAssetDataBean(com.ibm.commerce.attachment.objects.AttachmentAssetAccessBean abAttachmentAsset, CommandContext context)
public java.lang.String getAttachmentAssetId()
public java.lang.String getAttachmentTargetId()
public java.lang.String getStoreentId()
public java.lang.String getAttachmentAssetPath()
public java.lang.String getObjectPath()
public java.lang.String getDirectoryPath()
public java.lang.String getImage1()
public java.lang.String getImage2()
public java.lang.String getMimeType()
public java.lang.String getMimeTypeEncoding()
public java.lang.Integer[] getLanguages()
public byte[] getContent()
public CommandContext getCommandContext()
public TypedProperty getRequestProperties()
public void reset()
public AttachmentAssetLanguageDataBean[] getAssetLanguages()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext commandContext)
public void setLanguages(java.lang.Integer[] aarnLanguages)
public void setContent(byte[] abaContent)
public void setRequestProperties(TypedProperty param)
public void setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
public void setStoreentId(java.lang.Integer anStoreentId)
public void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
public void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
public void setDirectoryPath(java.lang.String astrDirectoryPath)
public void setImage1(java.lang.String astrImage1)
public void setImage2(java.lang.String astrImage2)
public void setMimeType(java.lang.String astrMimeType)
public void setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)