com.ibm.commerce.attachment.beans

Class AttachmentUsageDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean
        • com.ibm.commerce.attachment.beans.AttachmentUsageDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.attachment.beans.AttachmentUsageInputDataBean, com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean, DataBean, InputDataBean, SmartDataBean, java.io.Serializable


    public class AttachmentUsageDataBean
    extends com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean
    implements com.ibm.commerce.attachment.beans.AttachmentUsageInputDataBean, com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
    This data bean represents an attachment usage object.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME
      Define the CLASSNAME.
      static java.lang.String COPYRIGHT
      The internal copyright field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      AttachmentUsageDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean aabUsage, CommandContext aContext)
      Constructs an AttachmentUsageDataBean from a AttachmentRelationUsageAccessBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean

        findByAttachmentObjectTypeIdAndObjectId, findByAttachmentObjectTypeIdentifierAndObjectId, findByIdentifier, findByIdentifierNoCache, getAttachmentRelationUsageId, getAttachmentRelationUsageIdInEntityType, getDescription, getDescription, getDescriptionNoCache, getEntity, getIdentifier, getImage, getSequence, getSequenceInEntityType, instantiateEntity, setIdentifier, setImage, setInitKey_attachmentRelationUsageId, setSequence, setSequence
      • Methods inherited from class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttachmentUsageDataBean

        public AttachmentUsageDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationUsageAccessBean aabUsage,
                                       CommandContext aContext)
        Constructs an AttachmentUsageDataBean from a AttachmentRelationUsageAccessBean.
        Parameters:
        AttachmentRelationUsageAccessBean - The AttachmentRelationUsageAccessBean
        context - The command context
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context as CommandContext object.
      • getLanguageId

        public java.lang.Integer getLanguageId()
        Gets the language ID.
        Specified by:
        getLanguageId in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
        Returns:
        The language ID
      • getLongDescription

        public java.lang.String getLongDescription()
        Gets the long description of the attachment relation usage.
        Specified by:
        getLongDescription in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
        Returns:
        The attachment relation usage long description
      • getName

        public java.lang.String getName()
        Gets the language dependent name of the attachment relation usage.
        Specified by:
        getName in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
        Returns:
        The attachment relation usage name
      • getShortDescription

        public java.lang.String getShortDescription()
        Gets the short description of the attachment relation usage.
        Specified by:
        getShortDescription in interface com.ibm.commerce.attachment.beans.AttachmentUsageSmartDataBean
        Returns:
        The attachment relation usage short description
      • populate

        public void populate()
                      throws java.lang.Exception
        Fetches and populates information needed by the bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        Any - exception captured
        java.lang.Exception - This is thrown if there is a problem populating the data bean with data.
      • setLangaugeId

        public void setLangaugeId(java.lang.Integer anLanguageId)
        Sets the language ID.
        Specified by:
        setLangaugeId in interface com.ibm.commerce.attachment.beans.AttachmentUsageInputDataBean
        Parameters:
        anLanguageId - The language ID
      • setLanguageId

        public void setLanguageId(java.lang.Integer anLanguageId)
        Sets the language ID.
        Parameters:
        anLanguageId - The language ID
      • setCommandContext

        public void setCommandContext(CommandContext commandContext)
        Sets the command context passed in at run time.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - The command context as CommandContext object.
      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
        Sets the request property and populates the parameters that are needed by the bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        param - The request property as TypedProperty object.