public class AttachmentTargetDataBean
extends com.ibm.commerce.attachment.objects.AttachmentTargetAccessBean
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 |
---|
AttachmentTargetDataBean()
Constructs an empty
AttachmentTargetDataBean |
AttachmentTargetDataBean(com.ibm.commerce.attachment.objects.AttachmentTargetAccessBean abAttachmentTarget,
CommandContext context)
Constructs an
AttachmentTargetDataBean from a AttachmentTargetAccessBean . |
Modifier and Type | Method and Description |
---|---|
AttachmentAssetDataBean[] |
getAssets()
Gets the list of
AttachmentAssetDataBean of the attachment target. |
AttachmentAssetDataBean[] |
getAtchmentAssets(java.lang.Integer aLanguageId)
This method gets the attachment asset data beans by specified language.
|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
AttachmentTargetDescriptionDataBean[] |
getDescriptions()
Gets the list of
AttachmentTargetDescriptionDataBean of the attachment target. |
TypedProperty |
getRequestProperties()
Gets the request property set within this bean.
|
void |
populate()
Fetches and populates information needed by the bean.
|
void |
setCommandContext(CommandContext commandContext)
Sets the command context passed in at run time.
|
void |
setDescriptions(AttachmentTargetDescriptionDataBean[] argAttachmentTargetDescriptions)
This method sets the list of
AttachmentTargetDescriptionDataBean of the attachment target. |
void |
setRequestProperties(TypedProperty param)
Sets the request property and populates the parameters that are needed by the bean.
|
findByIdentifier, findByIdentifierAndMemberId, findByIdentifierAndMemberIdAndStoreentId, findByIdentifierAndStoreentId, findByMemberId, findByStoreentId, fulfills, getAttachmentAsset, getAttachmentAssets, getAttachmentTargetId, getAttachmentTargetIdInEntityType, getAttachmentUsageId, getDescription, getDescription, getEntity, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getField4, getIdentifier, getMemberId, getMemberIdInEntityType, getOwner, getStoreentId, getStoreentIdInEntityType, instantiateEntity, setAttachmentUsageId, setField1, setField1, setField2, setField2, setField3, setField4, setIdentifier, setInitKey_attachmentTargetId, setMemberId, setMemberId, setStoreentId, setStoreentId
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AttachmentTargetDataBean()
AttachmentTargetDataBean
public AttachmentTargetDataBean(com.ibm.commerce.attachment.objects.AttachmentTargetAccessBean abAttachmentTarget, CommandContext context)
AttachmentTargetDataBean
from a AttachmentTargetAccessBean
.abAttachmentTarget
- The AttachmentTargetAccessBean
context
- The command contextpublic CommandContext getCommandContext()
CommandContext
object.public TypedProperty getRequestProperties()
null
is always returned.public AttachmentTargetDescriptionDataBean[] getDescriptions()
AttachmentTargetDescriptionDataBean
of the attachment target.AttachmentTargetDescriptionDataBean
public void setDescriptions(AttachmentTargetDescriptionDataBean[] argAttachmentTargetDescriptions)
AttachmentTargetDescriptionDataBean
of the attachment target.argAttachmentTargetDescriptions
- The list of AttachmentTargetDescriptionDataBean
public AttachmentAssetDataBean[] getAssets()
AttachmentAssetDataBean
of the attachment target.AttachmentAssetDataBean
public void populate()
java.lang.Exception
- Any exception capturedpublic void setCommandContext(CommandContext commandContext)
commandContext
- The command context as CommandContext
object.public void setRequestProperties(TypedProperty param)
param
- The request property as TypedProperty
object.public AttachmentAssetDataBean[] getAtchmentAssets(java.lang.Integer aLanguageId)
aLanguageId
- the language id