Class RepositoryDataBus
Inheritance
Inherited Members
Namespace: ArtOfTest.WebAii.Design.Repository
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class RepositoryDataBus : IRepositoryDataBus
Constructors
RepositoryDataBus(IExtendedRepositoryFactory)
Declaration
public RepositoryDataBus(IExtendedRepositoryFactory repositoryFactory)
Parameters
Telerik.TestStudio.Interfaces.Storage.IExtendedRepositoryFactory
repositoryFactory
|
RepositoryDataBus(IExtendedRepositoryFactory, IFileReaderWriterSync)
Declaration
public RepositoryDataBus(IExtendedRepositoryFactory repositoryFactory, IFileReaderWriterSync fileReaderWriter)
Parameters
Telerik.TestStudio.Interfaces.Storage.IExtendedRepositoryFactory
repositoryFactory
|
Telerik.TestStudio.Interfaces.Storage.Local.IFileReaderWriterSync
fileReaderWriter
|
Fields
DataPrefix
Declaration
public const string DataPrefix = "Data."
Field Value
System.String
|
ValuePrefix
Declaration
public const string ValuePrefix = "Data.__value."
Field Value
System.String
|
Properties
RepositoryFactory
Declaration
public IExtendedRepositoryFactory RepositoryFactory { get; set; }
Property Value
Telerik.TestStudio.Interfaces.Storage.IExtendedRepositoryFactory
|
Implements
Methods
DeleteReportDefinition(Guid)
Declaration
public Task<bool> DeleteReportDefinition(Guid definitionId)
Parameters
System.Guid
definitionId
|
Returns
System.Threading.Tasks.Task<System.Boolean>
|
Implements
DeleteTopLevelTestListResults(String)
Declaration
public Task DeleteTopLevelTestListResults(string documentId)
Parameters
System.String
documentId
|
Returns
System.Threading.Tasks.Task
|
Implements
DownloadLightProjectsAsync()
Declaration
public Task<IStorageCollection<IStorageDocument<LightProjectTransport>>> DownloadLightProjectsAsync()
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightProjectTransport>>>
|
Implements
DownloadLightRunResultsForTestListRun(Guid, Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<LightRunResultTransport>>> DownloadLightRunResultsForTestListRun(Guid testListRunId, int skip = 0, int take = 0, string sort = null)
Parameters
System.Guid
testListRunId
|
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightRunResultTransport>>>
|
Implements
DownloadLightTestListResultsForTestList(Guid, Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<LightTestListResultTransport>>> DownloadLightTestListResultsForTestList(Guid testListId, int skip = 0, int take = 0, string sort = null)
Parameters
System.Guid
testListId
|
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightTestListResultTransport>>>
|
Implements
DownloadLightTestListsByProjectIdAsync(Guid)
Declaration
public Task<IStorageCollection<IStorageDocument<LightTestListTransport>>> DownloadLightTestListsByProjectIdAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightTestListTransport>>>
|
Implements
DownloadLightTestListsForTestListIds(Guid[])
Declaration
public Task<IStorageCollection<IStorageDocument<LightTestListTransport>>> DownloadLightTestListsForTestListIds(Guid[] testListIds)
Parameters
System.Guid[]
testListIds
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightTestListTransport>>>
|
Implements
DownloadLightTestsAsync(Guid)
Declaration
public Task<IQueryable<IStorageDocument<LightTestTransport>>> DownloadLightTestsAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightTestTransport>>>
|
Implements
DownloadMinimalTransportById<T>(Guid)
Declaration
public Task<IStorageDocument<MinimalTransport>> DownloadMinimalTransportById<T>(Guid id)
where T : class, IDataTransport
Parameters
System.Guid
id
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.MinimalTransport>>
|
Type Parameters
T
|
Implements
DownloadPerfResultsAsync(Guid)
Declaration
public Task<IQueryable<IStorageDocument<ResultsFileXmlRoot>>> DownloadPerfResultsAsync(Guid testId)
Parameters
System.Guid
testId
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<ResultsFileXmlRoot>>>
|
Implements
DownloadProjectByIdAsync(String)
Declaration
public Task<IStorageDocument<Project>> DownloadProjectByIdAsync(string documentId)
Parameters
System.String
documentId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Project>>
|
Implements
DownloadProjectByTestStudioIdAsync(Guid)
Declaration
public Task<IStorageDocument<Project>> DownloadProjectByTestStudioIdAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Project>>
|
Implements
DownloadProjectsAsync()
Declaration
public Task<IQueryable<IStorageDocument<Project>>> DownloadProjectsAsync()
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Project>>>
|
Implements
DownloadReportDefinitionByIdAsync(Guid)
Declaration
public Task<IStorageDocument<ReportDefinition>> DownloadReportDefinitionByIdAsync(Guid id)
Parameters
System.Guid
id
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<ReportDefinition>>
|
Implements
DownloadReportDefinitionsForProjectAsync(Guid)
Declaration
public Task<IStorageCollection<IStorageDocument<ReportDefinition>>> DownloadReportDefinitionsForProjectAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<ReportDefinition>>>
|
Implements
DownloadRunResultsCounters(Guid[], DateTime, DateTime)
Declaration
public Task<IQueryable<IStorageDocument<RunResultCountersTransport>>> DownloadRunResultsCounters(Guid[] testListIds, DateTime fromStartDate, DateTime toStartDate)
Parameters
System.Guid[]
testListIds
|
System.DateTime
fromStartDate
|
System.DateTime
toStartDate
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.RunResultCountersTransport>>>
|
Implements
DownloadRunResultsForTestListRun(Guid, Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<RunResult>>> DownloadRunResultsForTestListRun(Guid dispatchGroupId, int skip = 0, int take = 0, string sort = null)
Parameters
System.Guid
dispatchGroupId
|
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<RunResult>>>
|
Implements
DownloadSingleTestRunResultsForTestListRun(Guid, Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<LightRunResultSingleTestTransport>>> DownloadSingleTestRunResultsForTestListRun(Guid dispatchGroupId, int skip = 0, int take = 0, string sort = null)
Parameters
System.Guid
dispatchGroupId
|
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<LightRunResultSingleTestTransport>>>
|
Implements
DownloadTestByIdAsync(Guid)
Declaration
public Task<IStorageDocument<TestBase>> DownloadTestByIdAsync(Guid testId)
Parameters
System.Guid
testId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestBase>>
|
Implements
DownloadTestIdByPathAsync(Guid, String)
Declaration
public Task<IStorageDocument<TestIdTransport>> DownloadTestIdByPathAsync(Guid projectId, string path)
Parameters
System.Guid
projectId
|
System.String
path
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.TestIdTransport>>
|
Implements
DownloadTestListByIdAsync(Guid)
Declaration
public Task<IStorageDocument<TestList>> DownloadTestListByIdAsync(Guid testListId)
Parameters
System.Guid
testListId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestList>>
|
Implements
DownloadTestListsAsync(Guid)
Declaration
public Task<IQueryable<IStorageDocument<TestList>>> DownloadTestListsAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestList>>>
|
Implements
DownloadTestsAsync(Guid)
Declaration
public Task<IQueryable<IStorageDocument<TestBase>>> DownloadTestsAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestBase>>>
|
Implements
DownloadTestsExcludingLoadAsync(Guid)
Declaration
public Task<IQueryable<IStorageDocument<TestBase>>> DownloadTestsExcludingLoadAsync(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestBase>>>
|
Implements
DownloadTopLevelTestListResult(Guid)
Declaration
public Task<IStorageDocument<TestListResultTransport>> DownloadTopLevelTestListResult(Guid headerId)
Parameters
System.Guid
headerId
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.TestListResultTransport>>
|
Implements
DownloadTopLevelTestListResults()
Declaration
public Task<IQueryable<IStorageDocument<TestListResultTransport>>> DownloadTopLevelTestListResults()
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.TestListResultTransport>>>
|
Implements
DownloadTopLevelTestListResults(Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<TestListResultTransport>>> DownloadTopLevelTestListResults(int skip = 0, int take = 0, string sort = null)
Parameters
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.TestListResultTransport>>>
|
Implements
DownloadTopLevelTestListResultsForTestList(Guid, Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<TestListResultTransport>>> DownloadTopLevelTestListResultsForTestList(Guid testListId, int skip = 0, int take = 0, string sort = null)
Parameters
System.Guid
testListId
|
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.TestListResultTransport>>>
|
Implements
DownloadTopLevelTestListResultsForTestListForPeriod(Guid, DateTime, DateTime, Int32, Int32, String)
Declaration
public Task<IStorageCollection<IStorageDocument<LightTestListResultTransport>>> DownloadTopLevelTestListResultsForTestListForPeriod(Guid testListId, DateTime fromStartDate, DateTime toStartDate, int skip = 0, int take = 0, string sort = null)
Parameters
System.Guid
testListId
|
System.DateTime
fromStartDate
|
System.DateTime
toStartDate
|
System.Int32
skip
|
System.Int32
take
|
System.String
sort
|
Returns
System.Threading.Tasks.Task<Telerik.TestStudio.Interfaces.Storage.IStorageCollection<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.LightTestListResultTransport>>>
|
Implements
DownloadTopLevelTestListResultsPerProject(Guid)
Declaration
public Task<IQueryable<IStorageDocument<TestListResultTransport>>> DownloadTopLevelTestListResultsPerProject(Guid projectId)
Parameters
System.Guid
projectId
|
Returns
System.Threading.Tasks.Task<System.Linq.IQueryable<Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Telerik.TestStudio.Shared.Communication.Transports.TestListResultTransport>>>
|
Implements
UploadAsync(TestBase, IStorageDocument<TestBase>)
Declaration
public Task UploadAsync(TestBase test, IStorageDocument<TestBase> cachedDocument)
Parameters
TestBase
test
|
Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestBase>
cachedDocument
|
Returns
System.Threading.Tasks.Task
|
Implements
UploadAsync(ResultsFileXmlRoot)
Declaration
public Task UploadAsync(ResultsFileXmlRoot perfResult)
Parameters
ResultsFileXmlRoot
perfResult
|
Returns
System.Threading.Tasks.Task
|
Implements
UploadAsync(RunResult, Boolean)
Declaration
public Task UploadAsync(RunResult runResult, bool newItemsOnly = false)
Parameters
RunResult
runResult
|
System.Boolean
newItemsOnly
|
Returns
System.Threading.Tasks.Task
|
Implements
UploadAsync(TestList, IStorageDocument<TestList>)
Declaration
public Task UploadAsync(TestList testList, IStorageDocument<TestList> cachedDocument)
Parameters
TestList
testList
|
Telerik.TestStudio.Interfaces.Storage.IStorageDocument<TestList>
cachedDocument
|
Returns
System.Threading.Tasks.Task
|
Implements
UploadAsync(Project, IStorageDocument<Project>)
Declaration
public Task UploadAsync(Project project, IStorageDocument<Project> cachedDocument)
Parameters
Project
project
|
Telerik.TestStudio.Interfaces.Storage.IStorageDocument<Project>
cachedDocument
|
Returns
System.Threading.Tasks.Task
|
Implements
UploadAsync(ReportDefinition)
Declaration
public Task UploadAsync(ReportDefinition reportDefinition)
Parameters
ReportDefinition
reportDefinition
|
Returns
System.Threading.Tasks.Task
|