com.ibm.commerce.attachment.beans

Class AttachmentRelationDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
        • com.ibm.commerce.attachment.beans.AttachmentRelationDataBean
  • All Implemented Interfaces:
    java.io.Serializable


    public class AttachmentRelationDataBean
    extends com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean
    This data bean represents an attachment relation.
    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
      AttachmentRelationDataBean()
      Constructs an empty AttachmentRelationDataBean
      AttachmentRelationDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean abAttachmentRelation, CommandContext context)
      Constructs an AttachmentRelationDataBean from a AttachmentRelationAccessBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CommandContext getCommandContext()
      Gets the command context set within this bean.
      AttachmentRelationDescriptionDataBean[] getDescriptions()
      Gets the list of AttachmentRelationDescriptionDataBean of the attachment relation.
      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 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.AttachmentRelationAccessBean

        findByAttachmentObjectTypeId, findByAttachmentObjectTypeIdAndObjectId, findByAttachmentObjectTypeIdAndObjectIdAndRelationUsageId, findByAttachmentObjectTypeIdAndObjectIdAndTargetIdAndRelationUsageId, findByAttachmentObjectTypeIdAndRelationUsageId, findByAttachmentObjectTypeIdentifierAndObjectId, findByAttachmentObjectTypeIdentifierAndObjectIdAndRelationUsageIdentifier, findByAttachmentTargetId, findByAttachmentTargetIdAndRelationUsageId, getAttachmentObjectTypeId, getAttachmentObjectTypeIdInEntityType, getAttachmentRelationId, getAttachmentRelationIdInEntityType, getAttachmentRelationUsage, getAttachmentRelationUsageId, getAttachmentRelationUsageIdInEntityType, getAttachmentTarget, getAttachmentTargetId, getAttachmentTargetIdInEntityType, getDescription, getDescription, getEntity, getLastUpdate, getLastUpdateInEntityType, getObjectId, getSequence, getSequenceInEntityType, instantiateEntity, setAttachmentObjectTypeId, setAttachmentObjectTypeId, setAttachmentRelationUsageId, setAttachmentRelationUsageId, setAttachmentTargetId, setAttachmentTargetId, setInitKey_attachmentRelationId, setLastUpdate, setLastUpdate, setObjectId, 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

      • AttachmentRelationDataBean

        public AttachmentRelationDataBean()
        Constructs an empty AttachmentRelationDataBean
      • AttachmentRelationDataBean

        public AttachmentRelationDataBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean abAttachmentRelation,
                                          CommandContext context)
        Constructs an AttachmentRelationDataBean from a AttachmentRelationAccessBean.
        Parameters:
        abAttachmentRelation - The AttachmentRelationAccessBean
        context - The command context
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Returns:
        The command context as CommandContext object.
      • getRequestProperties

        public TypedProperty getRequestProperties()
        Gets the request property set within this bean.
        Returns:
        null is always returned.
      • getDescriptions

        public AttachmentRelationDescriptionDataBean[] getDescriptions()
        Gets the list of AttachmentRelationDescriptionDataBean of the attachment relation.
        Returns:
        The list of AttachmentRelationDescriptionDataBean
      • populate

        public void populate()
        Fetches and populates information needed by the bean.
        Throws:
        Any - exception captured
      • setCommandContext

        public void setCommandContext(CommandContext commandContext)
        Sets the command context passed in at run time.
        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.
        Parameters:
        param - The request property as TypedProperty object.