com.ibm.commerce.content.facade.server.commands

Class FetchAttachmentCmdImpl

  • All Implemented Interfaces:
    FetchAttachmentCmd, AbstractFetchNounCmd, 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 FetchAttachmentCmdImpl
    extends AbstractFetchAttachmentCmdImpl
    This command retrieves attachments according to the attachment search expression specified by the client. It searches attachments by attachment description name, attachment identifier and attachment asset path. If the search expression is a logical "or" operation, it gets attachments by attachment description name or attachment identifier in union. The search is case sensitive. The search operator can be CONTAINS, STARTS WITH, ENDS WITH or EQUALS. Take attachment identifier search as an example.
  • {_wcf.ap=$accessProfile$}/Attachment[search(contains(AttachmentIdentifier/ExternalIdentifier/Identifier, '$identifier$'))]
    - it searches attachments by the attachment identifier which is "case-sensitive, contains"
  • {_wcf.ap=$accessProfile$}/Attachment[search(starts-with(AttachmentIdentifier/ExternalIdentifer/Identifier, '$identifier$'))]
    - it searches attachments by the attachment identifier which is "case-sensitive, starts-with"
  • {_wcf.ap=$accessProfile$}/Attachment[search(ends-with(AttachmentIdentifier/ExternalIdentifer/Identifier, '$identifier$'))]
    - it searches attachments by the attachment identifier which is "case-sensitive, ends-with"
  • {_wcf.ap=$accessProfile$}/Attachment[search(AttachmentIdentifier/ExternalIdentifer/Identifier='$identifier$')]
    - it searches attachments by the attachment identifier which is "case-sensitive, equals"
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

      • 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
      • 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

      • FetchAttachmentCmdImpl

        public FetchAttachmentCmdImpl()