コード例 #1
0
        /// <summary>
        ///  List directories in the user's external repository using filters to constrain the files in the response markup.
        /// If categoryFilter is specified only files matching the Category indicated will be included in the response.
        /// If directoryFilter is specified then only files found in the directory indicated will be included in the response.
        /// If both categoryFilter and directoryFilter are specified then only files matching the Category within the directory indicated will be included in the response.
        /// </summary>
        /// <param name="categoryFilter">Value of RRepositoryFile.Category to specify the types of files returned</param>
        /// <param name="directoryFilter">If specified, only files in the user directory indicated are listed</param>
        /// <returns>List of RRepositoryDirectory objects</returns>
        /// <remarks></remarks>
        public List <RRepositoryDirectory> listExternalDirectories(String directoryFilter, RRepositoryFile.Category categoryFilter)
        {
            List <RRepositoryDirectory> returnValue = RUserRepositoryDirectoryImpl.listDirectories(false, false, false, false, true, directoryFilter, categoryFilter.ToString(), m_client, Constants.RREPOSITORYDIRECTORYLIST);

            return(returnValue);
        }
コード例 #2
0
        /// <summary>
        /// List files in the user's external repository using filters to constrain the files in the response markup.
        /// If categoryFilter is specified only files matching the Category indicated will be included in the response.
        /// If directoryFilter is specified then only files found in the directory indicated will be included in the response.
        /// If both categoryFilter and directoryFilter are specified then only files matching the Category within the directory indicated will be included in the response
        /// </summary>
        /// <param name="categoryFilter">Value of RRepositoryFile.Category to specify the types of files returned</param>
        /// <param name="directoryFilter">Name of directory containing the files</param>
        /// <returns>List of RRepositoryFile objects</returns>
        /// <remarks></remarks>
        public List <RRepositoryFile> listExternalFiles(RRepositoryFile.Category categoryFilter, String directoryFilter)
        {
            List <RRepositoryFile> returnValue = RUserRepositoryFileImpl.listFiles("", directoryFilter, false, false, false, true, categoryFilter.ToString(), m_client, Constants.RREPOSITORYFILELIST);

            return(returnValue);
        }