C# 클래스 Microsoft.Research.DataOnboarding.WebApi.Api.FilesController

class to manage the file related API methods.
상속: ApiController
파일 보기 프로젝트 열기: CDLUC3/dataup2

보호된 프로퍼티들

프로퍼티 타입 설명
fileService IFileService
fileServiceFactory IFileServiceFactory
qcService IQCService
repositoryService IRepositoryService
user User
userService IUserService

공개 메소드들

메소드 설명
FilesController ( IFileServiceFactory fileServiceFactory, IRepositoryService repositoryService, IQCService qcService, IUserService userService, IRepositoryAdapterFactory repositoryAdapterFactory ) : Microsoft.Research.DataOnboarding.DomainModel

Initializes a new instance of the FilesController class.

비공개 메소드들

메소드 설명
Delete ( int fileId, int userId ) : HttpResponseMessage
DownloadFileFromRepository ( int fileId ) : HttpResponseMessage
DownloadFileFromRepository ( int fileId, User user ) : HttpResponseMessage

Downloads the file from Repository.

DownloadFileFromRepository ( string nameIdentifier, int fileId ) : HttpResponseMessage
GetCitation ( int fileId, int repositoryId ) : HttpResponseMessage
GetColumnLevelMetadata ( int fileId ) : Task
GetColumnLevelMetadataFromFile ( int fileId ) : Task
GetErrors ( int fileId ) : Task
GetFileLevelMetadata ( int fileId, int repositoryId ) : HttpResponseMessage
GetFiles ( int id ) : HttpResponseMessage
GetFiles ( string fileName, int userId ) : HttpResponseMessage
GetLookUpData ( string type ) : HttpResponseMessage
GetPostFileDetails ( int fileId, int repositoryId ) : HttpResponseMessage
GetRepsitoryCredentials ( ) : RepositoryCredentials

Retreives the Repository Credentials from Header

Publish ( ) : HttpResponseMessage
RemoveErrors ( RemoveErrorsViewModel removeErrorsViewModel ) : Task
SaveCitation ( int fileId, Citation citation ) : HttpResponseMessage
SaveColumnLevelMetadata ( int fileId, IEnumerable metadataList ) : HttpResponseMessage
SaveFileLevelMetadata ( int fileId, int repositoryId, IEnumerable saveFileLevelMetadataList ) : HttpResponseMessage

메소드 상세

FilesController() 공개 메소드

Initializes a new instance of the FilesController class.
public FilesController ( IFileServiceFactory fileServiceFactory, IRepositoryService repositoryService, IQCService qcService, IUserService userService, IRepositoryAdapterFactory repositoryAdapterFactory ) : Microsoft.Research.DataOnboarding.DomainModel
fileServiceFactory IFileServiceFactory IFileServiceFactory
repositoryService IRepositoryService IRepositoryService
qcService IQCService IQCService
userService IUserService IUserService
repositoryAdapterFactory IRepositoryAdapterFactory IRepositoryAdapterFactory
리턴 Microsoft.Research.DataOnboarding.DomainModel

프로퍼티 상세

fileService 보호되어 있는 프로퍼티

interface IFileService
protected IFileService fileService
리턴 IFileService

fileServiceFactory 보호되어 있는 프로퍼티

interface IFileServiceFactory
protected IFileServiceFactory fileServiceFactory
리턴 IFileServiceFactory

qcService 보호되어 있는 프로퍼티

interface IQCService
protected IQCService qcService
리턴 IQCService

repositoryService 보호되어 있는 프로퍼티

Interface IRepositoryService variable.
protected IRepositoryService repositoryService
리턴 IRepositoryService

user 보호되어 있는 프로퍼티

Holds the Reference to user object
protected User user
리턴 User

userService 보호되어 있는 프로퍼티

Holds the reference to IUserService
protected IUserService userService
리턴 IUserService