com.ibm.commerce.marketing.facade.server.commands

Class InsertMoreMarketingContentAttachmentReferenceDataCmdImpl

  • All Implemented Interfaces:
    AbstractInsertMoreNounDataCmd, InsertMoreMarketingContentDataCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    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

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

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • 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 com.ibm.websphere.command.CacheableCommandImpl

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl

        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 com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

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

      • COPYRIGHT

        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 com.ibm.websphere.command.TargetableCommand
        Specified by:
        performExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Throws:
        java.lang.Exception