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

Class FetchMarketingContentByAttachmentAssetPathCmdImpl

  • All Implemented Interfaces:
    AbstractFetchNounCmd, FetchMarketingContentCmd, 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 FetchMarketingContentByAttachmentAssetPathCmdImpl
    extends AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
    implements FetchMarketingContentCmd
    This fetch command retrieves the marketing content associated with an attachment. The attachment is identified by the specified attachment asset path and store identifier. The following xpath expression is used to invoke this command :
    /MarketingContent[Attachment[AttachmentAsset[AttachmentAssetPath= and StoreIdentifier[UniqueID=]]]]

    AttachmentAssetPath : The asset path of one attachment asset which belongs to the attachment.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getNouns()
      This method gets the list of nouns that have been retrieved by the business object manager that matches the specified XPath expression.
      void performExecute()
      This method loads the attachments that were resolved from the specified attachment asset paths.
      void reset()
      This method resets the instance variables so the command can be reused.
      • 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
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

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

      • FetchMarketingContentByAttachmentAssetPathCmdImpl

        public FetchMarketingContentByAttachmentAssetPathCmdImpl()
        This method creates an instance of the fetch noun command.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This method loads the attachments that were resolved from the specified attachment asset paths. This method calls getAttachmentIds to get the list of attachment identifiers.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
        Throws:
        java.lang.Exception