Метод | Описание | |
---|---|---|
AddUpdateRepository ( Microsoft.Research.DataOnboarding.DomainModel.Repository repositoryData ) : bool |
Method to add\update the specified repository.
|
|
CheckRepositoryExists ( string repositoryName ) : int |
Method to check the duplicate repository name.
|
|
DeleteRepository ( int repositoryId ) : bool |
Method to delete the repository.
|
|
DeleteRepositoryMetaDataFields ( int repositoryId, string repositoryMetaDataFields ) : bool |
Method to delete repository metadata feidls
|
|
GetMetadataTypes ( ) : IEnumerable |
Returns the Metadata Types.
|
|
GetRepositoriesByRoleAndFileExtension ( bool isAdmin, string fileExtension ) : IEnumerable |
Gets all the repositories that allows a file extension.
|
|
GetRepositoryById ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository |
Method to get the selected repository details.
|
|
GetRepositoryByName ( string name ) : Microsoft.Research.DataOnboarding.DomainModel.Repository |
Method to get the selected repository details.
|
|
RepositoryService ( IRepositoryDetails repositoryDetails, IUnitOfWork unitOfWork, IUserRepository userRepository, IFileRepository fileRepository ) : Microsoft.Research.DataOnboarding.DataAccessService |
Initalizes the Respository Service
|
|
RetrieveRepositories ( bool includeAdminRepositories ) : IEnumerable |
Method to retrieve all the available repositories.
|
|
RetrieveRepositoryTypes ( ) : IEnumerable |
Method to get all the available repository types.
|
Метод | Описание | |
---|---|---|
GetRepositoryWithOutChildDetails ( Microsoft.Research.DataOnboarding.DomainModel.Repository repsoitory ) : Microsoft.Research.DataOnboarding.DomainModel.Repository | ||
SetRepositoryMetaData ( Repository repositoryData, Repository updatedRepositoryData, RepositoryMetadata savedRepositoryMetaData ) : RepositoryMetadata | ||
SetRepositoryValues ( Repository repositoryDetails ) : Repository |
public AddUpdateRepository ( Microsoft.Research.DataOnboarding.DomainModel.Repository repositoryData ) : bool | ||
repositoryData | Microsoft.Research.DataOnboarding.DomainModel.Repository | Repository details. |
Результат | bool |
public CheckRepositoryExists ( string repositoryName ) : int | ||
repositoryName | string | Repository name. |
Результат | int |
public DeleteRepository ( int repositoryId ) : bool | ||
repositoryId | int | |
Результат | bool |
public DeleteRepositoryMetaDataFields ( int repositoryId, string repositoryMetaDataFields ) : bool | ||
repositoryId | int | |
repositoryMetaDataFields | string | |
Результат | bool |
public GetRepositoriesByRoleAndFileExtension ( bool isAdmin, string fileExtension ) : IEnumerable |
||
isAdmin | bool | Is administrator |
fileExtension | string | File extension. |
Результат | IEnumerable |
public GetRepositoryById ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository | ||
repositoryId | int | Repository id. |
Результат | Microsoft.Research.DataOnboarding.DomainModel.Repository |
public GetRepositoryByName ( string name ) : Microsoft.Research.DataOnboarding.DomainModel.Repository | ||
name | string | Repository name. |
Результат | Microsoft.Research.DataOnboarding.DomainModel.Repository |
public RepositoryService ( IRepositoryDetails repositoryDetails, IUnitOfWork unitOfWork, IUserRepository userRepository, IFileRepository fileRepository ) : Microsoft.Research.DataOnboarding.DataAccessService | ||
repositoryDetails | IRepositoryDetails | Repository Details |
unitOfWork | IUnitOfWork | object of IUnitOfWork |
userRepository | IUserRepository | |
fileRepository | IFileRepository | |
Результат | Microsoft.Research.DataOnboarding.DataAccessService |
public RetrieveRepositories ( bool includeAdminRepositories ) : IEnumerable |
||
includeAdminRepositories | bool | bool indicates if repositories marked as AdminOnly should be returned or not |
Результат | IEnumerable |
public RetrieveRepositoryTypes ( ) : IEnumerable |
||
Результат | IEnumerable |