Class InsertMoreMarketingContentAttachmentReferenceDataCmdImpl

  • All Implemented Interfaces:
    AbstractInsertMoreNounDataCmd, InsertMoreMarketingContentDataCmd,,,,,,

    public class InsertMoreMarketingContentAttachmentReferenceDataCmdImpl
    extends AbstractInsertMoreNounDataCmdImpl
    implements InsertMoreMarketingContentDataCmd
    This class is used to populate the attachment information of a marketing content. It is called when getting marketing content noun which contains attachment references. The attachment information is fetched based on the attachment unique identifiers of the input marketing content nouns. This command uses the attachment service to fetch the attachment information of the marketing content.
    See Also:
    Serialized Form
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      • Fields inherited from class

      • Fields inherited from interface

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void performExecute()
      This command composes the attachment information of a marketing content.
      • Methods inherited from class

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

        execute, isReadyToCallExecute, reset
      • Methods inherited from interface

        getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InsertMoreMarketingContentAttachmentReferenceDataCmdImpl

        public InsertMoreMarketingContentAttachmentReferenceDataCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This command composes the attachment information of a marketing content.
          For each marketing content logical noun, populates the attachment detailed info for the noun part attachment reference. For each attachment reference in the noun,
        • First, it gets the list of attachment id.
        • It gets the control parameter _wcf.dataLanguageIds from search expression.
        • It calls attachment SOI service to get attachment details by attachment unique id using the access profile IBM_AttachmentWithAssets.
        • It sets the attachment assets and descriptions into attachment reference noun part.
        Specified by:
        performExecute in interface
        Specified by:
        performExecute in class