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

Class FetchManagedFileCmdImpl

  • All Implemented Interfaces:
    FetchManagedFileCmd, 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 FetchManagedFileCmdImpl
    extends AbstractFetchManagedFileCmdImpl
    The command fetches managed files based on the GetType search criteria below. The search is case sensitive. The search operator can be CONTAINS, STARTS WITH, ENDS WITH or EQUALS.
  • {_wcf.ap=$accessProfile$}/ManagedFile[search(contains(ManagedFileIdentifier/ExternalIdentifer/FilePath, '$filePath$'))]
    - finds managed files by the file's full path; file path is "case-sensitive, contains"
  • {_wcf.ap=$accessProfile$}/ManagedFile[search(starts-with(ManagedFileIdentifier/ExternalIdentifer/FilePath, '$filePath$'))]
    - finds managed files by the file's full path; file path is "case-sensitive, starts-with"
  • {_wcf.ap=$accessProfile$}/ManagedFile[search(ends-with(ManagedFileIdentifier/ExternalIdentifer/FilePath, 'oy2.gif'))]
    - finds managed files by the file's full path; file path is "case-sensitive, ends-with"
  • {_wcf.ap=$accessProfile$}/ManagedFile[search(ManagedFileIdentifier/ExternalIdentifer/FilePath='/AdvancedB2BDirect/Attachment/boy2.gif')]
    - finds managed files by the file's full path; file path is "case-sensitive, equals"


    Returns a list of ManagedFileDataBean representing the managed files found by the specified search criteria.

See Also:
Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • FetchManagedFileCmdImpl

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

      • fetchManagedFiles

        public java.util.Collection fetchManagedFiles(GetType aGet)
                                               throws java.lang.Exception
        This method fetches the managed files.
        Parameters:
        aGet - The selection criteria
        Returns:
        Collection the collection of result.
        Throws:
        java.lang.Exception