Ejemplo n.º 1
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);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// List files in user's external repository
        /// </summary>
        /// <returns>List of RRepositoryFile objects</returns>
        /// <remarks></remarks>
        public List <RRepositoryFile> listExternalFiles()
        {
            List <RRepositoryFile> returnValue = RUserRepositoryFileImpl.listFiles("", "", false, false, false, true, "", m_client, Constants.RREPOSITORYFILELIST);

            return(returnValue);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// List files in user's external repository
        /// </summary>
        /// <param name="sharedUsers">True to show both shared and restricted files</param>
        /// <param name="published">True to show both public</param>
        /// <returns>List of RRepositoryFile objects</returns>
        /// <remarks></remarks>
        public List <RRepositoryFile> listExternalFiles(Boolean sharedUsers, Boolean published)
        {
            List <RRepositoryFile> returnValue = RUserRepositoryFileImpl.listFiles("", "", false, sharedUsers, published, true, "", m_client, Constants.RREPOSITORYFILELIST);

            return(returnValue);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// List files in user List versions of named file in user repository-managed directory
        /// </summary>
        /// <param name="filename">Name of file to retreive versions</param>
        /// <param name="directory">Name of directory containing the file</param>
        /// <returns>List of RRepositoryFile objects</returns>
        /// <remarks></remarks>
        public List <RRepositoryFile> listFiles(String filename, String directory)
        {
            List <RRepositoryFile> returnValue = RUserRepositoryFileImpl.listFiles(filename, directory, false, false, false, false, "", m_client, Constants.RREPOSITORYFILELIST);

            return(returnValue);
        }