Show / Hide Table of Contents

Class RepositoryServiceClient

Inheritance
System.Object
RepositoryServiceClient
Namespace: Algenta.Colectica.Repository.Client.RepositoryServiceReference
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public class RepositoryServiceClient : System.ServiceModel.ClientBase<IRepositoryService>, IRepositoryService

Constructors

RepositoryServiceClient()

Declaration
public RepositoryServiceClient()

RepositoryServiceClient(System.ServiceModel.Channels.Binding, System.ServiceModel.EndpointAddress)

Declaration
public RepositoryServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
Parameters
Type Name Description
System.ServiceModel.Channels.Binding binding
System.ServiceModel.EndpointAddress remoteAddress

RepositoryServiceClient(String)

Declaration
public RepositoryServiceClient(string endpointConfigurationName)
Parameters
Type Name Description
System.String endpointConfigurationName

RepositoryServiceClient(String, System.ServiceModel.EndpointAddress)

Declaration
public RepositoryServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
Parameters
Type Name Description
System.String endpointConfigurationName
System.ServiceModel.EndpointAddress remoteAddress

RepositoryServiceClient(String, String)

Declaration
public RepositoryServiceClient(string endpointConfigurationName, string remoteAddress)
Parameters
Type Name Description
System.String endpointConfigurationName
System.String remoteAddress

Methods

AddItemsToTransaction(RepositoryTransactionAddItemsRequest)

Declaration
public RepositoryTransaction AddItemsToTransaction(RepositoryTransactionAddItemsRequest request)
Parameters
Type Name Description
RepositoryTransactionAddItemsRequest request
Returns
Type Description
RepositoryTransaction
Implements
IRepositoryService.AddItemsToTransaction(RepositoryTransactionAddItemsRequest)

AddItemsToTransactionAsync(RepositoryTransactionAddItemsRequest)

Declaration
public System.Threading.Tasks.Task<RepositoryTransaction> AddItemsToTransactionAsync(RepositoryTransactionAddItemsRequest request)
Parameters
Type Name Description
RepositoryTransactionAddItemsRequest request
Returns
Type Description
System.Threading.Tasks.Task<RepositoryTransaction>
Implements
IRepositoryService.AddItemsToTransactionAsync(RepositoryTransactionAddItemsRequest)

AddPermissions(RepositorySecurityContext)

Declaration
public void AddPermissions(RepositorySecurityContext context)
Parameters
Type Name Description
RepositorySecurityContext context
Implements
IRepositoryService.AddPermissions(RepositorySecurityContext)

AddPermissionsAsync(RepositorySecurityContext)

Declaration
public System.Threading.Tasks.Task AddPermissionsAsync(RepositorySecurityContext context)
Parameters
Type Name Description
RepositorySecurityContext context
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.AddPermissionsAsync(RepositorySecurityContext)

CancelTransaction(RepositoryTransactionCancelOptions)

Declaration
public RepositoryTransaction CancelTransaction(RepositoryTransactionCancelOptions options)
Parameters
Type Name Description
RepositoryTransactionCancelOptions options
Returns
Type Description
RepositoryTransaction
Implements
IRepositoryService.CancelTransaction(RepositoryTransactionCancelOptions)

CancelTransactionAsync(RepositoryTransactionCancelOptions)

Declaration
public System.Threading.Tasks.Task<RepositoryTransaction> CancelTransactionAsync(RepositoryTransactionCancelOptions options)
Parameters
Type Name Description
RepositoryTransactionCancelOptions options
Returns
Type Description
System.Threading.Tasks.Task<RepositoryTransaction>
Implements
IRepositoryService.CancelTransactionAsync(RepositoryTransactionCancelOptions)

CommitTransaction(RepositoryTransactionCommitOptions)

Declaration
public RepositoryTransaction CommitTransaction(RepositoryTransactionCommitOptions options)
Parameters
Type Name Description
RepositoryTransactionCommitOptions options
Returns
Type Description
RepositoryTransaction
Implements
IRepositoryService.CommitTransaction(RepositoryTransactionCommitOptions)

CommitTransactionAsync(RepositoryTransactionCommitOptions)

Declaration
public System.Threading.Tasks.Task<RepositoryTransaction> CommitTransactionAsync(RepositoryTransactionCommitOptions options)
Parameters
Type Name Description
RepositoryTransactionCommitOptions options
Returns
Type Description
System.Threading.Tasks.Task<RepositoryTransaction>
Implements
IRepositoryService.CommitTransactionAsync(RepositoryTransactionCommitOptions)

CreateComment(System.Guid, String, Int64, String)

Declaration
public void CreateComment(System.Guid id, string agency, long version, string comment)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.String comment
Implements
IRepositoryService.CreateComment(System.Guid, String, Int64, String)

CreateCommentAsync(System.Guid, String, Int64, String)

Declaration
public System.Threading.Tasks.Task CreateCommentAsync(System.Guid id, string agency, long version, string comment)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.String comment
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.CreateCommentAsync(System.Guid, String, Int64, String)

CreateRating(System.Guid, String, Int64, Int32)

Declaration
public void CreateRating(System.Guid id, string agency, long version, int rating)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.Int32 rating
Implements
IRepositoryService.CreateRating(System.Guid, String, Int64, Int32)

CreateRatingAsync(System.Guid, String, Int64, Int32)

Declaration
public System.Threading.Tasks.Task CreateRatingAsync(System.Guid id, string agency, long version, int rating)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.Int32 rating
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.CreateRatingAsync(System.Guid, String, Int64, Int32)

CreateRepository(String, String)

Declaration
public void CreateRepository(string agency, string name)
Parameters
Type Name Description
System.String agency
System.String name
Implements
IRepositoryService.CreateRepository(String, String)

CreateRepositoryAsync(String, String)

Declaration
public System.Threading.Tasks.Task CreateRepositoryAsync(string agency, string name)
Parameters
Type Name Description
System.String agency
System.String name
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.CreateRepositoryAsync(String, String)

CreateTag(System.Guid, String, Int64, String)

Declaration
public void CreateTag(System.Guid id, string agency, long version, string name)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.String name
Implements
IRepositoryService.CreateTag(System.Guid, String, Int64, String)

CreateTagAsync(System.Guid, String, Int64, String)

Declaration
public System.Threading.Tasks.Task CreateTagAsync(System.Guid id, string agency, long version, string name)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.String name
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.CreateTagAsync(System.Guid, String, Int64, String)

CreateTransaction()

Declaration
public RepositoryTransaction CreateTransaction()
Returns
Type Description
RepositoryTransaction
Implements
IRepositoryService.CreateTransaction()

CreateTransactionAsync()

Declaration
public System.Threading.Tasks.Task<RepositoryTransaction> CreateTransactionAsync()
Returns
Type Description
System.Threading.Tasks.Task<RepositoryTransaction>
Implements
IRepositoryService.CreateTransactionAsync()

DeprecateAllItemVersions(System.Guid, String)

Declaration
public void DeprecateAllItemVersions(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Implements
IRepositoryService.DeprecateAllItemVersions(System.Guid, String)

DeprecateAllItemVersionsAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task DeprecateAllItemVersionsAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.DeprecateAllItemVersionsAsync(System.Guid, String)

DeprecateItem(System.Guid, String, Int64)

Declaration
public void DeprecateItem(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Implements
IRepositoryService.DeprecateItem(System.Guid, String, Int64)

DeprecateItemAsync(System.Guid, String, Int64)

Declaration
public System.Threading.Tasks.Task DeprecateItemAsync(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.DeprecateItemAsync(System.Guid, String, Int64)

GetComments(System.Guid, String)

Declaration
public System.Collections.ObjectModel.Collection<UserComment> GetComments(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Collections.ObjectModel.Collection<UserComment>
Implements
IRepositoryService.GetComments(System.Guid, String)

GetCommentsAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<UserComment>> GetCommentsAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<UserComment>>
Implements
IRepositoryService.GetCommentsAsync(System.Guid, String)

GetCommentsCollection(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Collections.ObjectModel.Collection<UserComment> GetCommentsCollection(System.Collections.ObjectModel.Collection<IdentifierTriple> ids)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> ids
Returns
Type Description
System.Collections.ObjectModel.Collection<UserComment>
Implements
IRepositoryService.GetCommentsCollection(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetCommentsCollectionAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<UserComment>> GetCommentsCollectionAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> ids)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> ids
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<UserComment>>
Implements
IRepositoryService.GetCommentsCollectionAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetItem(System.Guid, String, Int64)

Declaration
public RepositoryItem GetItem(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
RepositoryItem
Implements
IRepositoryService.GetItem(System.Guid, String, Int64)

GetItemAsync(System.Guid, String, Int64)

Declaration
public System.Threading.Tasks.Task<RepositoryItem> GetItemAsync(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
System.Threading.Tasks.Task<RepositoryItem>
Implements
IRepositoryService.GetItemAsync(System.Guid, String, Int64)

GetItems(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItem> GetItems(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItem>
Implements
IRepositoryService.GetItems(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItem>> GetItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItem>>
Implements
IRepositoryService.GetItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetItemsInTransaction(Int64)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItem> GetItemsInTransaction(long transactionId)
Parameters
Type Name Description
System.Int64 transactionId
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItem>
Implements
IRepositoryService.GetItemsInTransaction(Int64)

GetItemsInTransactionAsync(Int64)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItem>> GetItemsInTransactionAsync(long transactionId)
Parameters
Type Name Description
System.Int64 transactionId
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItem>>
Implements
IRepositoryService.GetItemsInTransactionAsync(Int64)

GetLatestItem(System.Guid, String)

Declaration
public RepositoryItem GetLatestItem(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
RepositoryItem
Implements
IRepositoryService.GetLatestItem(System.Guid, String)

GetLatestItemAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task<RepositoryItem> GetLatestItemAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task<RepositoryItem>
Implements
IRepositoryService.GetLatestItemAsync(System.Guid, String)

GetLatestItems(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItem> GetLatestItems(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItem>
Implements
IRepositoryService.GetLatestItems(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetLatestItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItem>> GetLatestItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItem>>
Implements
IRepositoryService.GetLatestItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetLatestSet(IdentifierTriple)

Declaration
public System.Collections.ObjectModel.Collection<IdentifierTriple> GetLatestSet(IdentifierTriple rootItem)
Parameters
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>
Implements
IRepositoryService.GetLatestSet(IdentifierTriple)

GetLatestSetAsync(IdentifierTriple)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> GetLatestSetAsync(IdentifierTriple rootItem)
Parameters
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>>
Implements
IRepositoryService.GetLatestSetAsync(IdentifierTriple)

GetLatestVersionNumber(System.Guid, String)

Declaration
public long GetLatestVersionNumber(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Int64
Implements
IRepositoryService.GetLatestVersionNumber(System.Guid, String)

GetLatestVersionNumberAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task<long> GetLatestVersionNumberAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task<System.Int64>
Implements
IRepositoryService.GetLatestVersionNumberAsync(System.Guid, String)

GetLatestVersionNumberOfTag(System.Guid, String, String)

Declaration
public long GetLatestVersionNumberOfTag(System.Guid id, string agency, string tag)
Parameters
Type Name Description
System.Guid id
System.String agency
System.String tag
Returns
Type Description
System.Int64
Implements
IRepositoryService.GetLatestVersionNumberOfTag(System.Guid, String, String)

GetLatestVersionNumberOfTagAsync(System.Guid, String, String)

Declaration
public System.Threading.Tasks.Task<long> GetLatestVersionNumberOfTagAsync(System.Guid id, string agency, string tag)
Parameters
Type Name Description
System.Guid id
System.String agency
System.String tag
Returns
Type Description
System.Threading.Tasks.Task<System.Int64>
Implements
IRepositoryService.GetLatestVersionNumberOfTagAsync(System.Guid, String, String)

GetLatestVersionNumbers(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Collections.ObjectModel.Collection<IdentifierTriple> GetLatestVersionNumbers(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>
Implements
IRepositoryService.GetLatestVersionNumbers(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetLatestVersionNumbersAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> GetLatestVersionNumbersAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>>
Implements
IRepositoryService.GetLatestVersionNumbersAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetPermissions(System.Collections.ObjectModel.Collection<IdentifierTriple>, System.Collections.ObjectModel.Collection<System.Guid>)

Declaration
public RepositorySecurityContext GetPermissions(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers, System.Collections.ObjectModel.Collection<System.Guid> itemTypes)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
System.Collections.ObjectModel.Collection<System.Guid> itemTypes
Returns
Type Description
RepositorySecurityContext
Implements
IRepositoryService.GetPermissions(System.Collections.ObjectModel.Collection<IdentifierTriple>, System.Collections.ObjectModel.Collection<System.Guid>)

GetPermissionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, System.Collections.ObjectModel.Collection<System.Guid>)

Declaration
public System.Threading.Tasks.Task<RepositorySecurityContext> GetPermissionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers, System.Collections.ObjectModel.Collection<System.Guid> itemTypes)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
System.Collections.ObjectModel.Collection<System.Guid> itemTypes
Returns
Type Description
System.Threading.Tasks.Task<RepositorySecurityContext>
Implements
IRepositoryService.GetPermissionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, System.Collections.ObjectModel.Collection<System.Guid>)

GetRatings(System.Guid, String)

Declaration
public System.Collections.ObjectModel.Collection<UserRating> GetRatings(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Collections.ObjectModel.Collection<UserRating>
Implements
IRepositoryService.GetRatings(System.Guid, String)

GetRatingsAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<UserRating>> GetRatingsAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<UserRating>>
Implements
IRepositoryService.GetRatingsAsync(System.Guid, String)

GetRelationshipByObject(GraphSearchFacet)

Declaration
public System.Collections.ObjectModel.Collection<TypedIdTriple> GetRelationshipByObject(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<TypedIdTriple>
Implements
IRepositoryService.GetRelationshipByObject(GraphSearchFacet)

GetRelationshipByObjectAsync(GraphSearchFacet)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> GetRelationshipByObjectAsync(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>>
Implements
IRepositoryService.GetRelationshipByObjectAsync(GraphSearchFacet)

GetRelationshipBySubject(GraphSearchFacet)

Declaration
public System.Collections.ObjectModel.Collection<TypedIdTriple> GetRelationshipBySubject(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<TypedIdTriple>
Implements
IRepositoryService.GetRelationshipBySubject(GraphSearchFacet)

GetRelationshipBySubjectAsync(GraphSearchFacet)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> GetRelationshipBySubjectAsync(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>>
Implements
IRepositoryService.GetRelationshipBySubjectAsync(GraphSearchFacet)

GetRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

Declaration
public AdjacencyMatrix GetRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems
RelationshipFacet facet
Returns
Type Description
AdjacencyMatrix
Implements
IRepositoryService.GetRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

GetRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

Declaration
public System.Threading.Tasks.Task<AdjacencyMatrix> GetRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems
RelationshipFacet facet
Returns
Type Description
System.Threading.Tasks.Task<AdjacencyMatrix>
Implements
IRepositoryService.GetRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

GetRepositoryInfo()

Declaration
public RepositoryInfo GetRepositoryInfo()
Returns
Type Description
RepositoryInfo
Implements
IRepositoryService.GetRepositoryInfo()

GetRepositoryInfoAsync()

Declaration
public System.Threading.Tasks.Task<RepositoryInfo> GetRepositoryInfoAsync()
Returns
Type Description
System.Threading.Tasks.Task<RepositoryInfo>
Implements
IRepositoryService.GetRepositoryInfoAsync()

GetRepositoryItemDescription(System.Guid, String, Int64)

Declaration
public RepositoryItemMetadata GetRepositoryItemDescription(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
RepositoryItemMetadata
Implements
IRepositoryService.GetRepositoryItemDescription(System.Guid, String, Int64)

GetRepositoryItemDescriptionAsync(System.Guid, String, Int64)

Declaration
public System.Threading.Tasks.Task<RepositoryItemMetadata> GetRepositoryItemDescriptionAsync(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
System.Threading.Tasks.Task<RepositoryItemMetadata>
Implements
IRepositoryService.GetRepositoryItemDescriptionAsync(System.Guid, String, Int64)

GetRepositoryItemDescriptions(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetRepositoryItemDescriptions(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>
Implements
IRepositoryService.GetRepositoryItemDescriptions(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetRepositoryItemDescriptionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> GetRepositoryItemDescriptionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>>
Implements
IRepositoryService.GetRepositoryItemDescriptionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)

GetRepositoryItemDescriptionsByObject(GraphSearchFacet)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetRepositoryItemDescriptionsByObject(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>
Implements
IRepositoryService.GetRepositoryItemDescriptionsByObject(GraphSearchFacet)

GetRepositoryItemDescriptionsByObjectAsync(GraphSearchFacet)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> GetRepositoryItemDescriptionsByObjectAsync(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>>
Implements
IRepositoryService.GetRepositoryItemDescriptionsByObjectAsync(GraphSearchFacet)

GetRepositoryItemDescriptionsBySubject(GraphSearchFacet)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetRepositoryItemDescriptionsBySubject(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>
Implements
IRepositoryService.GetRepositoryItemDescriptionsBySubject(GraphSearchFacet)

GetRepositoryItemDescriptionsBySubjectAsync(GraphSearchFacet)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> GetRepositoryItemDescriptionsBySubjectAsync(GraphSearchFacet facet)
Parameters
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>>
Implements
IRepositoryService.GetRepositoryItemDescriptionsBySubjectAsync(GraphSearchFacet)

GetRepositorySetting(String)

Declaration
public RepositorySetting GetRepositorySetting(string settingName)
Parameters
Type Name Description
System.String settingName
Returns
Type Description
RepositorySetting
Implements
IRepositoryService.GetRepositorySetting(String)

GetRepositorySettingAsync(String)

Declaration
public System.Threading.Tasks.Task<RepositorySetting> GetRepositorySettingAsync(string settingName)
Parameters
Type Name Description
System.String settingName
Returns
Type Description
System.Threading.Tasks.Task<RepositorySetting>
Implements
IRepositoryService.GetRepositorySettingAsync(String)

GetRepositorySettings()

Declaration
public System.Collections.ObjectModel.Collection<RepositorySetting> GetRepositorySettings()
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositorySetting>
Implements
IRepositoryService.GetRepositorySettings()

GetRepositorySettingsAsync()

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositorySetting>> GetRepositorySettingsAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositorySetting>>
Implements
IRepositoryService.GetRepositorySettingsAsync()

GetRepositoryStatistics()

Declaration
public RepositoryStatistics GetRepositoryStatistics()
Returns
Type Description
RepositoryStatistics
Implements
IRepositoryService.GetRepositoryStatistics()

GetRepositoryStatisticsAsync()

Declaration
public System.Threading.Tasks.Task<RepositoryStatistics> GetRepositoryStatisticsAsync()
Returns
Type Description
System.Threading.Tasks.Task<RepositoryStatistics>
Implements
IRepositoryService.GetRepositoryStatisticsAsync()

GetSet(IdentifierTriple)

Declaration
public System.Collections.ObjectModel.Collection<IdentifierTriple> GetSet(IdentifierTriple rootItem)
Parameters
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>
Implements
IRepositoryService.GetSet(IdentifierTriple)

GetSetAsync(IdentifierTriple)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> GetSetAsync(IdentifierTriple rootItem)
Parameters
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>>
Implements
IRepositoryService.GetSetAsync(IdentifierTriple)

GetTags(System.Guid, String, Int64)

Declaration
public System.Collections.ObjectModel.Collection<string> GetTags(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
System.Collections.ObjectModel.Collection<System.String>
Implements
IRepositoryService.GetTags(System.Guid, String, Int64)

GetTagsAsync(System.Guid, String, Int64)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<string>> GetTagsAsync(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<System.String>>
Implements
IRepositoryService.GetTagsAsync(System.Guid, String, Int64)

GetTransactions(System.Collections.ObjectModel.Collection<Int64>)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryTransaction> GetTransactions(System.Collections.ObjectModel.Collection<long> transactionIds)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<System.Int64> transactionIds
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryTransaction>
Implements
IRepositoryService.GetTransactions(System.Collections.ObjectModel.Collection<Int64>)

GetTransactionsAsync(System.Collections.ObjectModel.Collection<Int64>)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryTransaction>> GetTransactionsAsync(System.Collections.ObjectModel.Collection<long> transactionIds)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<System.Int64> transactionIds
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryTransaction>>
Implements
IRepositoryService.GetTransactionsAsync(System.Collections.ObjectModel.Collection<Int64>)

GetTypedRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

Declaration
public TypedAdjacencyMatrix GetTypedRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems
RelationshipFacet facet
Returns
Type Description
TypedAdjacencyMatrix
Implements
IRepositoryService.GetTypedRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

GetTypedRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

Declaration
public System.Threading.Tasks.Task<TypedAdjacencyMatrix> GetTypedRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems
RelationshipFacet facet
Returns
Type Description
System.Threading.Tasks.Task<TypedAdjacencyMatrix>
Implements
IRepositoryService.GetTypedRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)

GetTypedSet(IdentifierTriple)

Declaration
public System.Collections.ObjectModel.Collection<TypedIdTriple> GetTypedSet(IdentifierTriple rootItem)
Parameters
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Collections.ObjectModel.Collection<TypedIdTriple>
Implements
IRepositoryService.GetTypedSet(IdentifierTriple)

GetTypedSetAsync(IdentifierTriple)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> GetTypedSetAsync(IdentifierTriple rootItem)
Parameters
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>>
Implements
IRepositoryService.GetTypedSetAsync(IdentifierTriple)

GetVersionHistory(System.Guid, String)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetVersionHistory(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>
Implements
IRepositoryService.GetVersionHistory(System.Guid, String)

GetVersionHistoryAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> GetVersionHistoryAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>>
Implements
IRepositoryService.GetVersionHistoryAsync(System.Guid, String)

GetVersions(System.Guid, String)

Declaration
public System.Collections.ObjectModel.Collection<IdentifierTriple> GetVersions(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>
Implements
IRepositoryService.GetVersions(System.Guid, String)

GetVersionsAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> GetVersionsAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>>
Implements
IRepositoryService.GetVersionsAsync(System.Guid, String)

ListTransactions(RepositoryTransactionListOptions)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryTransaction> ListTransactions(RepositoryTransactionListOptions options)
Parameters
Type Name Description
RepositoryTransactionListOptions options
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryTransaction>
Implements
IRepositoryService.ListTransactions(RepositoryTransactionListOptions)

ListTransactionsAsync(RepositoryTransactionListOptions)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryTransaction>> ListTransactionsAsync(RepositoryTransactionListOptions options)
Parameters
Type Name Description
RepositoryTransactionListOptions options
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryTransaction>>
Implements
IRepositoryService.ListTransactionsAsync(RepositoryTransactionListOptions)

RegisterItem(RepositoryItem, CommitOptions)

Declaration
public void RegisterItem(RepositoryItem item, CommitOptions options)
Parameters
Type Name Description
RepositoryItem item
CommitOptions options
Implements
IRepositoryService.RegisterItem(RepositoryItem, CommitOptions)

RegisterItemAsync(RepositoryItem, CommitOptions)

Declaration
public System.Threading.Tasks.Task RegisterItemAsync(RepositoryItem item, CommitOptions options)
Parameters
Type Name Description
RepositoryItem item
CommitOptions options
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RegisterItemAsync(RepositoryItem, CommitOptions)

RegisterItems(System.Collections.ObjectModel.Collection<RepositoryItem>, CommitOptions)

Declaration
public System.Collections.ObjectModel.Collection<RepositoryConflict> RegisterItems(System.Collections.ObjectModel.Collection<RepositoryItem> items, CommitOptions options)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<RepositoryItem> items
CommitOptions options
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryConflict>
Implements
IRepositoryService.RegisterItems(System.Collections.ObjectModel.Collection<RepositoryItem>, CommitOptions)

RegisterItemsAsync(System.Collections.ObjectModel.Collection<RepositoryItem>, CommitOptions)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryConflict>> RegisterItemsAsync(System.Collections.ObjectModel.Collection<RepositoryItem> items, CommitOptions options)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<RepositoryItem> items
CommitOptions options
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryConflict>>
Implements
IRepositoryService.RegisterItemsAsync(System.Collections.ObjectModel.Collection<RepositoryItem>, CommitOptions)

RemovePermissions(System.Collections.ObjectModel.Collection<Int64>)

Declaration
public void RemovePermissions(System.Collections.ObjectModel.Collection<long> permissionIds)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<System.Int64> permissionIds
Implements
IRepositoryService.RemovePermissions(System.Collections.ObjectModel.Collection<Int64>)

RemovePermissionsAsync(System.Collections.ObjectModel.Collection<Int64>)

Declaration
public System.Threading.Tasks.Task RemovePermissionsAsync(System.Collections.ObjectModel.Collection<long> permissionIds)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<System.Int64> permissionIds
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RemovePermissionsAsync(System.Collections.ObjectModel.Collection<Int64>)

RemoveRepository(String)

Declaration
public void RemoveRepository(string agency)
Parameters
Type Name Description
System.String agency
Implements
IRepositoryService.RemoveRepository(String)

RemoveRepositoryAsync(String)

Declaration
public System.Threading.Tasks.Task RemoveRepositoryAsync(string agency)
Parameters
Type Name Description
System.String agency
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RemoveRepositoryAsync(String)

RemoveRepositorySetting(String)

Declaration
public void RemoveRepositorySetting(string settingName)
Parameters
Type Name Description
System.String settingName
Implements
IRepositoryService.RemoveRepositorySetting(String)

RemoveRepositorySettingAsync(String)

Declaration
public System.Threading.Tasks.Task RemoveRepositorySettingAsync(string settingName)
Parameters
Type Name Description
System.String settingName
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RemoveRepositorySettingAsync(String)

RemoveTag(System.Guid, String, Int64, String)

Declaration
public void RemoveTag(System.Guid id, string agency, long version, string name)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.String name
Implements
IRepositoryService.RemoveTag(System.Guid, String, Int64, String)

RemoveTagAsync(System.Guid, String, Int64, String)

Declaration
public System.Threading.Tasks.Task RemoveTagAsync(System.Guid id, string agency, long version, string name)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
System.String name
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RemoveTagAsync(System.Guid, String, Int64, String)

RepositorySearch(SearchFacet)

Declaration
public SearchResponse RepositorySearch(SearchFacet facet)
Parameters
Type Name Description
SearchFacet facet
Returns
Type Description
SearchResponse
Implements
IRepositoryService.RepositorySearch(SearchFacet)

RepositorySearchAsync(SearchFacet)

Declaration
public System.Threading.Tasks.Task<SearchResponse> RepositorySearchAsync(SearchFacet facet)
Parameters
Type Name Description
SearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<SearchResponse>
Implements
IRepositoryService.RepositorySearchAsync(SearchFacet)

RestoreAllItemVersions(System.Guid, String)

Declaration
public void RestoreAllItemVersions(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Implements
IRepositoryService.RestoreAllItemVersions(System.Guid, String)

RestoreAllItemVersionsAsync(System.Guid, String)

Declaration
public System.Threading.Tasks.Task RestoreAllItemVersionsAsync(System.Guid id, string agency)
Parameters
Type Name Description
System.Guid id
System.String agency
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RestoreAllItemVersionsAsync(System.Guid, String)

RestoreItem(System.Guid, String, Int64)

Declaration
public void RestoreItem(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Implements
IRepositoryService.RestoreItem(System.Guid, String, Int64)

RestoreItemAsync(System.Guid, String, Int64)

Declaration
public System.Threading.Tasks.Task RestoreItemAsync(System.Guid id, string agency, long version)
Parameters
Type Name Description
System.Guid id
System.String agency
System.Int64 version
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.RestoreItemAsync(System.Guid, String, Int64)

SearchTypedSet(IdentifierTriple, SetSearchFacet)

Declaration
public System.Collections.ObjectModel.Collection<TypedIdTriple> SearchTypedSet(IdentifierTriple rootItem, SetSearchFacet facet)
Parameters
Type Name Description
IdentifierTriple rootItem
SetSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<TypedIdTriple>
Implements
IRepositoryService.SearchTypedSet(IdentifierTriple, SetSearchFacet)

SearchTypedSetAsync(IdentifierTriple, SetSearchFacet)

Declaration
public System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> SearchTypedSetAsync(IdentifierTriple rootItem, SetSearchFacet facet)
Parameters
Type Name Description
IdentifierTriple rootItem
SetSearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>>
Implements
IRepositoryService.SearchTypedSetAsync(IdentifierTriple, SetSearchFacet)

SetRepositorySetting(RepositorySetting)

Declaration
public void SetRepositorySetting(RepositorySetting setting)
Parameters
Type Name Description
RepositorySetting setting
Implements
IRepositoryService.SetRepositorySetting(RepositorySetting)

SetRepositorySettingAsync(RepositorySetting)

Declaration
public System.Threading.Tasks.Task SetRepositorySettingAsync(RepositorySetting setting)
Parameters
Type Name Description
RepositorySetting setting
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.SetRepositorySettingAsync(RepositorySetting)

UpdateDeprecatedState(System.Collections.ObjectModel.Collection<IdentifierTriple>, Boolean, Boolean)

Declaration
public void UpdateDeprecatedState(System.Collections.ObjectModel.Collection<IdentifierTriple> ids, bool deprecatedState, bool applyToAllVersions)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> ids
System.Boolean deprecatedState
System.Boolean applyToAllVersions
Implements
IRepositoryService.UpdateDeprecatedState(System.Collections.ObjectModel.Collection<IdentifierTriple>, Boolean, Boolean)

UpdateDeprecatedStateAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, Boolean, Boolean)

Declaration
public System.Threading.Tasks.Task UpdateDeprecatedStateAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> ids, bool deprecatedState, bool applyToAllVersions)
Parameters
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> ids
System.Boolean deprecatedState
System.Boolean applyToAllVersions
Returns
Type Description
System.Threading.Tasks.Task
Implements
IRepositoryService.UpdateDeprecatedStateAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, Boolean, Boolean)

Extension Methods

Util.UsingWcf<T>(T, Action<T>)
Util.UsingWcfAsync<T>(T, Func<T, Task>)
Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica