public class AttachmentUsageDataBean
extends com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean
implements com.ibm.commerce.attachment.beans.AttachmentUsageInputDataBean, com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString
Constructor and Description |
---|
AttachmentUsageDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean aabUsage,
CommandContext aContext)
Constructs an
AttachmentUsageDataBean from a AttachmentRelationUsageAccessBean . |
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.Integer |
getLanguageId()
Gets the language ID.
|
java.lang.String |
getLongDescription()
Gets the long description of the attachment relation usage.
|
java.lang.String |
getName()
Gets the language dependent name of the attachment relation usage.
|
TypedProperty |
getRequestProperties()
Gets the request property passed in at run time.
|
java.lang.String |
getShortDescription()
Gets the short description of the attachment relation usage.
|
void |
populate()
Fetches and populates information needed by the bean.
|
void |
setCommandContext(CommandContext commandContext)
Sets the command context passed in at run time.
|
void |
setLangaugeId(java.lang.Integer anLanguageId)
Sets the language ID.
|
void |
setLanguageId(java.lang.Integer anLanguageId)
Sets the language ID.
|
void |
setRequestProperties(TypedProperty param)
Sets the request property and populates the parameters that are needed by the bean.
|
findByAttachmentObjectTypeIdAndObjectId, findByAttachmentObjectTypeIdentifierAndObjectId, findByIdentifier, findByIdentifierNoCache, getAttachmentRelationUsageId, getAttachmentRelationUsageIdInEntityType, getDescription, getDescription, getDescriptionNoCache, getEntity, getIdentifier, getImage, getSequence, getSequenceInEntityType, instantiateEntity, setIdentifier, setImage, setInitKey_attachmentRelationUsageId, setSequence, setSequence
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AttachmentUsageDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean aabUsage, CommandContext aContext)
AttachmentUsageDataBean
from a AttachmentRelationUsageAccessBean
.AttachmentRelationUsageAccessBean
- The AttachmentRelationUsageAccessBean
context
- The command contextpublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public java.lang.Integer getLanguageId()
getLanguageId
in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
public java.lang.String getLongDescription()
getLongDescription
in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
public java.lang.String getName()
getName
in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
null
is always returned.public java.lang.String getShortDescription()
getShortDescription
in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
Any
- exception capturedjava.lang.Exception
- This is thrown if there is a problem populating the data bean with data.public void setLangaugeId(java.lang.Integer anLanguageId)
setLangaugeId
in interface com.ibm.commerce.attachment.beans.AttachmentUsageInputDataBean
anLanguageId
- The language IDpublic void setLanguageId(java.lang.Integer anLanguageId)
anLanguageId
- The language IDpublic void setCommandContext(CommandContext commandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- The command context as CommandContext
object.public void setRequestProperties(TypedProperty param)
setRequestProperties
in interface InputDataBean
param
- The request property as TypedProperty
object.