/// <summary> /// Move one or more files to a repository-managed directory /// </summary> /// <param name="destination">Repository destination directory for move</param> /// <param name="files">List of Repository file to move </param> /// <remarks></remarks> public void moveFiles(String destination, List <RRepositoryFile> files) { RUserRepositoryFileImpl.moveFiles(destination, files, m_client, Constants.RREPOSITORYFILEMOVE); }
/// <summary> /// Fetch the latest meta-data for a repository file /// </summary> /// <param name="filename">Repository filename to fetch</param> /// <param name="author">Author of the file</param> /// <param name="directory">Repository directory containing the file</param> /// <param name="version">Optional version of the file</param> /// <returns>RRepositoryFile object</returns> /// <remarks></remarks> public RRepositoryFile fetchFile(String filename, String author, String directory, String version) { RRepositoryFile returnValue = RUserRepositoryFileImpl.fetchFile(filename, author, directory, version, m_client, Constants.RREPOSITORYFILEFETCH); return(returnValue); }
/// <summary> /// Copy one or more files to a repository-managed directory /// </summary> /// <param name="destination">Repository destination directory for copy</param> /// <param name="files">List of Repository file to copy </param> /// <remarks></remarks> public void copyFiles(String destination, List <RRepositoryFile> files) { RUserRepositoryFileImpl.copyFiles(destination, files, m_client, Constants.RREPOSITORYFILECOPY); }
/// <summary> /// Upload a file to the user repository /// </summary> /// <param name="file">Full path to File to upload and import</param> /// <param name="options">Repository upload options object </param> /// <returns>RRepositoryFile object</returns> /// <remarks></remarks> public RRepositoryFile uploadFile(String file, RepoUploadOptions options) { RRepositoryFile returnValue = RUserRepositoryFileImpl.uploadFile(file, options, m_client, Constants.RREPOSITORYFILEUPLOAD); return(returnValue); }
/// <summary> /// Write a file to the user repository /// </summary> /// <param name="text">text to write to the repository</param> /// <param name="options">Repository upload options object </param> /// <returns>RRepositoryFile object</returns> /// <remarks></remarks> public RRepositoryFile writeFile(String text, RepoUploadOptions options) { RRepositoryFile returnValue = RUserRepositoryFileImpl.writeFile(text, options, m_client, Constants.RREPOSITORYFILEWRITE); return(returnValue); }
/// <summary> /// Transfer file to the user repository /// </summary> /// <param name="url">Full qualified URL of file to transfer to repository</param> /// <param name="options">Repository upload options object </param> /// <returns>RRepositoryFile object</returns> /// <remarks></remarks> public RRepositoryFile transferFile(String url, RepoUploadOptions options) { RRepositoryFile returnValue = RUserRepositoryFileImpl.transferFile(url, options, m_client, Constants.RREPOSITORYFILETRANSFER); return(returnValue); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }