com.ibm.commerce.attachment.beans

Class AttachmentDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        • com.ibm.commerce.attachment.beans.AttachmentDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.attachment.beans.AttachmentInputDataBean, com.ibm.commerce.attachment.beans.AttachmentSmartDataBean, DataBean, InputDataBean, SmartDataBean, java.io.Serializable


    public class AttachmentDataBean
    extends com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
    implements com.ibm.commerce.attachment.beans.AttachmentInputDataBean, com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
    This databean represents an attachment to a WebSphere Commerce business object.
    This databean should be used for displaying attachment at the store front. The databean can be constructed by passing in the AttachmentRelationAccessBean and the command context. Information about the attachment may be obtained by the get methods provided in this databean.
    This databean extends from the AttachmentRelationAccessBean but many of the methods from the access beans should not be used. Only the sequence from the attachment relation is useful in this databean. All the get and set methods extended from the access bean are deprecated. All the display information required for the attachment are already made available by the get methods in this databean. If specific informations are needed from the attachment tables, please refers to the corresponding access beans. For example, the AttachmentRelationAccessBean, AttachmentTargetAccessBean, and AttachmentAssetAccessBean.
    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
      AttachmentDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean abAttachmentRel, CommandContext context)
      Constructs an AttachmentDataBean from a AttachmentRelationAccessBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      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 getAttachmentObjectTypeIdInEntityType()
      Deprecated. 
      This method should never be used.
      java.lang.String getAttachmentRelationId()
      Deprecated. 
      This method should never be used.
      java.lang.Long getAttachmentRelationIdInEntityType()
      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 getAttachmentRelationUsageIdInEntityType()
      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 getAttachmentTargetIdInEntityType()
      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 getLastUpdateInEntityType()
      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 getSequenceInEntityType()
      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.
      • Methods inherited from class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean

        findByAttachmentObjectTypeId, findByAttachmentObjectTypeIdAndObjectId, findByAttachmentObjectTypeIdAndObjectIdAndRelationUsageId, findByAttachmentObjectTypeIdAndObjectIdAndTargetIdAndRelationUsageId, findByAttachmentObjectTypeIdAndRelationUsageId, findByAttachmentObjectTypeIdentifierAndObjectId, findByAttachmentObjectTypeIdentifierAndObjectIdAndRelationUsageIdentifier, findByAttachmentTargetId, findByAttachmentTargetIdAndRelationUsageId, getEntity, instantiateEntity
      • 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

      • AttachmentDataBean

        public AttachmentDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean abAttachmentRel,
                                  CommandContext context)
        Constructs an AttachmentDataBean from a AttachmentRelationAccessBean.
        Parameters:
        abAttachmentRel - AttachmentRelationAccessBean The AttachmentRelationAccessBean
        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.
      • getField1

        public java.lang.Long getField1()
        Gets the customizable field 1 in the attachment target.
        Specified by:
        getField1 in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The customizable field 1
      • getField2

        public java.lang.Double getField2()
        Gets the customizable field 2 in the attachment target.
        Specified by:
        getField2 in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The customizable field 2
      • getField3

        public java.lang.String getField3()
        Gets the customizable field 3 in the attachment target.
        Specified by:
        getField3 in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The customizable field 3
      • getField4

        public java.lang.String getField4()
        Gets the customizable field 4 in the attachment target.
        Specified by:
        getField4 in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The customizable field 4
      • getFileIdentifer

        public java.lang.String getFileIdentifer()
        Gets the identifier of the attachment target in the attachment relation
        Specified by:
        getFileIdentifer in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        the file identifier
      • getFileName

        public java.lang.String getFileName()
        Gets the file name of the attachment.
        Specified by:
        getFileName in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment file name
      • getFileLongDescription

        public java.lang.String getFileLongDescription()
        Gets the long description of the attachment target.
        Specified by:
        getFileLongDescription in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment target long description
      • getFileShortDescription

        public java.lang.String getFileShortDescription()
        Gets the short description of the attachment target.
        Specified by:
        getFileShortDescription in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The short description of the attachment target short.
      • getImage1

        public java.lang.String getImage1()
        Gets the image 1 of the attachment asset.
        Specified by:
        getImage1 in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment asset image 1
      • getImage2

        public java.lang.String getImage2()
        Gets the image 2 of the attachment asset.
        Specified by:
        getImage2 in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment asset image 2
      • getLangaugeId

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

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

        public java.lang.String getMimeType()
        Gets the mime type of the attachment asset.
        Specified by:
        getMimeType in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment asset mime type
      • getMimeEncoding

        public java.lang.String getMimeEncoding()
        Gets the mime type encoding of the attachment asset.
        Specified by:
        getMimeEncoding in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment asset mime type encoding
      • getName

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

        public java.lang.Long getOwnerId()
        Gets the member ID of the owner of the attachment target.
        Specified by:
        getOwnerId in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The owner ID of the attachment target
      • getPath

        public java.lang.String getPath()
        Gets the attachment asset path.
        Specified by:
        getPath in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The attachment asset path
      • getDisplaySequence

        public java.lang.Double getDisplaySequence()
        Gets the display sequence of the attachment relation.
        Returns:
        The attachment relation sequence
      • getShortDescription

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

        public java.lang.Integer getStoreId()
        Gets the store ID that owns the attachment target.
        Specified by:
        getStoreId in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The store ID that owns the attachment target
      • getUsageDataBean

        public AttachmentUsageDataBean getUsageDataBean()
        Gets the AttachmentUsageDataBean that is used in this attachment.
        Specified by:
        getUsageDataBean in interface com.ibm.commerce.attachment.beans.AttachmentSmartDataBean
        Returns:
        The AttachmentUsageDataBean
      • getObjectPath

        public java.lang.String getObjectPath()
                                       throws ECException
        Gets the path to attachment object based on the store ID in the attachment.
        Returns:
        The path to the attachment object
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getAttachmentAssets

        public AttachmentAssetDataBean[] getAttachmentAssets()
        This method gets the attachment assets for the current language.
        Returns:
        Array an array of AttachmentAssetDataBean
      • populate

        public void populate()
                      throws java.lang.Exception
        Fetches and populates information needed by the bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - Any exception captured
      • setCommandContext

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

        public void setLangaugeId(java.lang.Integer anLanguageId)
        Sets the language ID.
        Specified by:
        setLangaugeId in interface com.ibm.commerce.attachment.beans.AttachmentInputDataBean
        Parameters:
        anLanguageId - The language ID
      • 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.
      • getAttachmentTargetId

        public java.lang.String getAttachmentTargetId()
        Deprecated. This method should never be used.
        Gets the attachment target ID from the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentTargetId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment target ID in the attachment relation.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setAttachmentTargetId

        public void setAttachmentTargetId(java.lang.String newValue)
        Deprecated. This method should never be used.
        Sets the attachment target ID for the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setAttachmentTargetId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The attachment target ID
      • setAttachmentTargetId

        public void setAttachmentTargetId(java.lang.Long newValue)
        Deprecated. This method should never be used.
        Sets the attachment target ID for the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setAttachmentTargetId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The attachment target ID
      • getObjectId

        public java.lang.String getObjectId()
        Deprecated. This method should never be used.
        Gets the primary key of the business object that owns the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getObjectId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The primary key of the business object in the attachment relation
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setObjectId

        public void setObjectId(java.lang.String newValue)
        Deprecated. This method should never be used.
        Sets the primary key of the business object that owns the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setObjectId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The primary key of the business object in the attachment relation
      • getAttachmentRelationUsageId

        public java.lang.String getAttachmentRelationUsageId()
        Deprecated. This method should never be used.
        Gets the attachment relation usage ID in the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentRelationUsageId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The primary key of the business object in the attachment relation
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setAttachmentRelationUsageId

        public void setAttachmentRelationUsageId(java.lang.Integer newValue)
        Deprecated. This method should never be used.
        Sets the attachment relation usage ID in the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setAttachmentRelationUsageId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The attachment relation usage ID
      • getAttachmentObjectTypeId

        public java.lang.String getAttachmentObjectTypeId()
        Deprecated. This method should never be used.
        Gets the attachment object type ID of the business object that owns the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentObjectTypeId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment object type ID of the business object
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setAttachmentObjectTypeId

        public void setAttachmentObjectTypeId(java.lang.Integer newValue)
        Deprecated. This method should never be used.
        Sets the attachment object type ID of the business object that owns the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setAttachmentObjectTypeId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The attachment object type ID of the business object
      • getAttachmentRelationId

        public java.lang.String getAttachmentRelationId()
        Deprecated. This method should never be used.
        Gets the primary key of the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentRelationId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment relation ID
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • getLastUpdate

        public java.lang.String getLastUpdate()
        Deprecated. This method should never be used.
        Gets the last update time of the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getLastUpdate in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The last update time of the attachment relation.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setLastUpdate

        public void setLastUpdate(java.sql.Timestamp newValue)
        Deprecated. This method should never be used.
        Sets the last update time of the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setLastUpdate in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The last update time of the attachment relation
      • getSequence

        public java.lang.String getSequence()
        Deprecated. This method should never be used.
        Gets the attachment relation sequence. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getSequence in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The sequence of the attachment relation.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setSequence

        public void setSequence(java.lang.Double newValue)
        Deprecated. This method should never be used.
        Sets the attachment relation sequence. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setSequence in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The sequence of the attachment relation
      • setInitKey_attachmentRelationId

        public void setInitKey_attachmentRelationId(java.lang.Long newValue)
        Deprecated. This method should never be used.
        Sets the primary key of the attachment relation. This method extends from the access bean and is deprecated. It should not be used. If a different attachment relation is to be used in the AttachmentDataBean, a new AttachmentDataBean should be used instead.
        Overrides:
        setInitKey_attachmentRelationId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The primary key of the attachment relation
      • getAttachmentTargetIdInEntityType

        public java.lang.Long getAttachmentTargetIdInEntityType()
        Deprecated. This method should never be used.
        Gets the attachment target ID in the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentTargetIdInEntityType in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment target ID in the attachment relation.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • getAttachmentRelationUsageIdInEntityType

        public java.lang.Integer getAttachmentRelationUsageIdInEntityType()
        Deprecated. This method should never be used.
        Gets the attachment relation usage ID in the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentRelationUsageIdInEntityType in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment relation usage ID in the attachment relation.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setAttachmentRelationUsageId

        public void setAttachmentRelationUsageId(java.lang.String newValue)
        Deprecated. This method should never be used.
        Sets the attachment relation usage ID in the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setAttachmentRelationUsageId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The attachment relation usage ID
      • getAttachmentObjectTypeIdInEntityType

        public java.lang.Integer getAttachmentObjectTypeIdInEntityType()
        Deprecated. This method should never be used.
        Gets the attachment object type ID of the business object that owns the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentObjectTypeIdInEntityType in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment relation usage ID in the attachment relation.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setAttachmentObjectTypeId

        public void setAttachmentObjectTypeId(java.lang.String newValue)
        Deprecated. This method should never be used.
        Sets the attachment object type ID for the business object that owns the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setAttachmentObjectTypeId in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The attachment object type ID of the business object
      • getAttachmentRelationIdInEntityType

        public java.lang.Long getAttachmentRelationIdInEntityType()
        Deprecated. This method should never be used.
        Gets the primary key of the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentRelationIdInEntityType in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment relation ID
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • getLastUpdateInEntityType

        public java.sql.Timestamp getLastUpdateInEntityType()
        Deprecated. This method should never be used.
        Gets the last update time of the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getLastUpdateInEntityType in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The last update time of the attachment relation
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setLastUpdate

        public void setLastUpdate(java.lang.String newValue)
        Deprecated. This method should never be used.
        Sets the last update time of the attachment relation. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setLastUpdate in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The last update time of the attachment relation
      • getSequenceInEntityType

        public java.lang.Double getSequenceInEntityType()
        Deprecated. This method should never be used.
        Gets the attachment relation sequence. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getSequenceInEntityType in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The sequence of the attachment relation
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • setSequence

        public void setSequence(java.lang.String newValue)
        Deprecated. This method should never be used.
        Sets the attachment relation sequence. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        setSequence in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        newValue - The sequence of the attachment relation
      • getDescription

        public 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.
        Gets the attachment relation description in the specified language and store. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getDescription in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        anLanguageId - The language ID
        anStoreId - The store ID
        Returns:
        The description of the attachment relation in the specified language and store
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • getAttachmentTarget

        public 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.
        Gets the attachment target. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentTarget in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment target in the attachment relation
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • getAttachmentRelationUsage

        public 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.
        Gets the attachment relation usage. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getAttachmentRelationUsage in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Returns:
        The attachment relation usage in the attachment relation
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.
      • getDescription

        public 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.
        Gets the attachment relation description in the specified language. This method extends from the access bean and is deprecated. It should not be used.
        Overrides:
        getDescription in class com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        Parameters:
        anLanguageId - The language ID
        Returns:
        The attachment relation description in the specified language.
        Throws:
        RemoteException - EJB Remote Exception captured.
        CreateException - EJB Create Exception captured.
        FinderException - EJB Finder Exception captured.
        NamingException - EJB Naming Exception captured.