Class FetchMarketingContentByAttachmentAssetPathCmdImpl

  • All Implemented Interfaces:
    AbstractFetchNounCmd, FetchMarketingContentCmd,,,,,,

    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

        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
      • Methods inherited from interface

        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
        performExecute in class AbstractFetchNounUsingBusinessObjectMediatorCmdImpl