Interface IRepositoryService
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public interface IRepositoryService
Methods
AddItemsToTransaction(RepositoryTransactionAddItemsRequest)
Declaration
RepositoryTransaction AddItemsToTransaction(RepositoryTransactionAddItemsRequest request)
Parameters
Returns
AddItemsToTransactionAsync(RepositoryTransactionAddItemsRequest)
Declaration
System.Threading.Tasks.Task<RepositoryTransaction> AddItemsToTransactionAsync(RepositoryTransactionAddItemsRequest request)
Parameters
Returns
AddPermissions(RepositorySecurityContext)
Declaration
void AddPermissions(RepositorySecurityContext context)
Parameters
AddPermissionsAsync(RepositorySecurityContext)
Declaration
System.Threading.Tasks.Task AddPermissionsAsync(RepositorySecurityContext context)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CancelTransaction(RepositoryTransactionCancelOptions)
Declaration
RepositoryTransaction CancelTransaction(RepositoryTransactionCancelOptions options)
Parameters
Returns
CancelTransactionAsync(RepositoryTransactionCancelOptions)
Declaration
System.Threading.Tasks.Task<RepositoryTransaction> CancelTransactionAsync(RepositoryTransactionCancelOptions options)
Parameters
Returns
CommitTransaction(RepositoryTransactionCommitOptions)
Declaration
RepositoryTransaction CommitTransaction(RepositoryTransactionCommitOptions options)
Parameters
Returns
CommitTransactionAsync(RepositoryTransactionCommitOptions)
Declaration
System.Threading.Tasks.Task<RepositoryTransaction> CommitTransactionAsync(RepositoryTransactionCommitOptions options)
Parameters
Returns
Declaration
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 |
|
Declaration
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 |
|
CreateRating(System.Guid, String, Int64, Int32)
Declaration
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 |
|
CreateRatingAsync(System.Guid, String, Int64, Int32)
Declaration
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 |
|
CreateRepository(String, String)
Declaration
void CreateRepository(string agency, string name)
Parameters
Type |
Name |
Description |
System.String |
agency |
|
System.String |
name |
|
CreateRepositoryAsync(String, String)
Declaration
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 |
|
CreateTag(System.Guid, String, Int64, String)
Declaration
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 |
|
CreateTagAsync(System.Guid, String, Int64, String)
Declaration
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 |
|
CreateTransaction()
Declaration
RepositoryTransaction CreateTransaction()
Returns
CreateTransactionAsync()
Declaration
System.Threading.Tasks.Task<RepositoryTransaction> CreateTransactionAsync()
Returns
DeprecateAllItemVersions(System.Guid, String)
Declaration
void DeprecateAllItemVersions(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
DeprecateAllItemVersionsAsync(System.Guid, String)
Declaration
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 |
|
DeprecateItem(System.Guid, String, Int64)
Declaration
void DeprecateItem(System.Guid id, string agency, long version)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
System.Int64 |
version |
|
DeprecateItemAsync(System.Guid, String, Int64)
Declaration
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 |
|
Declaration
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> |
|
Declaration
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>> |
|
Declaration
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> |
|
Declaration
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>> |
|
GetItem(System.Guid, String, Int64)
Declaration
RepositoryItem GetItem(System.Guid id, string agency, long version)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
System.Int64 |
version |
|
Returns
GetItemAsync(System.Guid, String, Int64)
Declaration
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
GetItems(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
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> |
|
GetItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
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>> |
|
GetItemsInTransaction(Int64)
Declaration
System.Collections.ObjectModel.Collection<RepositoryItem> GetItemsInTransaction(long transactionId)
Parameters
Type |
Name |
Description |
System.Int64 |
transactionId |
|
Returns
Type |
Description |
System.Collections.ObjectModel.Collection<RepositoryItem> |
|
GetItemsInTransactionAsync(Int64)
Declaration
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>> |
|
GetLatestItem(System.Guid, String)
Declaration
RepositoryItem GetLatestItem(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
Returns
GetLatestItemAsync(System.Guid, String)
Declaration
System.Threading.Tasks.Task<RepositoryItem> GetLatestItemAsync(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
Returns
GetLatestItems(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
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> |
|
GetLatestItemsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
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>> |
|
GetLatestSet(IdentifierTriple)
Declaration
System.Collections.ObjectModel.Collection<IdentifierTriple> GetLatestSet(IdentifierTriple rootItem)
Parameters
Returns
GetLatestSetAsync(IdentifierTriple)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> GetLatestSetAsync(IdentifierTriple rootItem)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> |
|
GetLatestVersionNumber(System.Guid, String)
Declaration
long GetLatestVersionNumber(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
Returns
Type |
Description |
System.Int64 |
|
GetLatestVersionNumberAsync(System.Guid, String)
Declaration
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> |
|
GetLatestVersionNumberOfTag(System.Guid, String, String)
Declaration
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 |
|
GetLatestVersionNumberOfTagAsync(System.Guid, String, String)
Declaration
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> |
|
GetLatestVersionNumbers(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
System.Collections.ObjectModel.Collection<IdentifierTriple> GetLatestVersionNumbers(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type |
Name |
Description |
System.Collections.ObjectModel.Collection<IdentifierTriple> |
identifiers |
|
Returns
GetLatestVersionNumbersAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
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>> |
|
GetPermissions(System.Collections.ObjectModel.Collection<IdentifierTriple>, System.Collections.ObjectModel.Collection<System.Guid>)
Declaration
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
GetPermissionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, System.Collections.ObjectModel.Collection<System.Guid>)
Declaration
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
GetRatings(System.Guid, String)
Declaration
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> |
|
GetRatingsAsync(System.Guid, String)
Declaration
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>> |
|
GetRelationshipByObject(GraphSearchFacet)
Declaration
System.Collections.ObjectModel.Collection<TypedIdTriple> GetRelationshipByObject(GraphSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Collections.ObjectModel.Collection<TypedIdTriple> |
|
GetRelationshipByObjectAsync(GraphSearchFacet)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> GetRelationshipByObjectAsync(GraphSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> |
|
GetRelationshipBySubject(GraphSearchFacet)
Declaration
System.Collections.ObjectModel.Collection<TypedIdTriple> GetRelationshipBySubject(GraphSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Collections.ObjectModel.Collection<TypedIdTriple> |
|
GetRelationshipBySubjectAsync(GraphSearchFacet)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> GetRelationshipBySubjectAsync(GraphSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> |
|
GetRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)
Declaration
AdjacencyMatrix GetRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Returns
GetRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)
Declaration
System.Threading.Tasks.Task<AdjacencyMatrix> GetRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Returns
GetRepositoryInfo()
Declaration
RepositoryInfo GetRepositoryInfo()
Returns
GetRepositoryInfoAsync()
Declaration
System.Threading.Tasks.Task<RepositoryInfo> GetRepositoryInfoAsync()
Returns
GetRepositoryItemDescription(System.Guid, String, Int64)
Declaration
RepositoryItemMetadata GetRepositoryItemDescription(System.Guid id, string agency, long version)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
System.Int64 |
version |
|
Returns
GetRepositoryItemDescriptionAsync(System.Guid, String, Int64)
Declaration
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
GetRepositoryItemDescriptions(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetRepositoryItemDescriptions(System.Collections.ObjectModel.Collection<IdentifierTriple> identifiers)
Parameters
Type |
Name |
Description |
System.Collections.ObjectModel.Collection<IdentifierTriple> |
identifiers |
|
Returns
GetRepositoryItemDescriptionsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>)
Declaration
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>> |
|
GetRepositoryItemDescriptionsByObject(GraphSearchFacet)
Declaration
System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetRepositoryItemDescriptionsByObject(GraphSearchFacet facet)
Parameters
Returns
GetRepositoryItemDescriptionsByObjectAsync(GraphSearchFacet)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> GetRepositoryItemDescriptionsByObjectAsync(GraphSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> |
|
GetRepositoryItemDescriptionsBySubject(GraphSearchFacet)
Declaration
System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetRepositoryItemDescriptionsBySubject(GraphSearchFacet facet)
Parameters
Returns
GetRepositoryItemDescriptionsBySubjectAsync(GraphSearchFacet)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> GetRepositoryItemDescriptionsBySubjectAsync(GraphSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryItemMetadata>> |
|
GetRepositorySetting(String)
Declaration
RepositorySetting GetRepositorySetting(string settingName)
Parameters
Type |
Name |
Description |
System.String |
settingName |
|
Returns
GetRepositorySettingAsync(String)
Declaration
System.Threading.Tasks.Task<RepositorySetting> GetRepositorySettingAsync(string settingName)
Parameters
Type |
Name |
Description |
System.String |
settingName |
|
Returns
GetRepositorySettings()
Declaration
System.Collections.ObjectModel.Collection<RepositorySetting> GetRepositorySettings()
Returns
GetRepositorySettingsAsync()
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositorySetting>> GetRepositorySettingsAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositorySetting>> |
|
GetRepositoryStatistics()
Declaration
RepositoryStatistics GetRepositoryStatistics()
Returns
GetRepositoryStatisticsAsync()
Declaration
System.Threading.Tasks.Task<RepositoryStatistics> GetRepositoryStatisticsAsync()
Returns
GetSet(IdentifierTriple)
Declaration
System.Collections.ObjectModel.Collection<IdentifierTriple> GetSet(IdentifierTriple rootItem)
Parameters
Returns
GetSetAsync(IdentifierTriple)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> GetSetAsync(IdentifierTriple rootItem)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<IdentifierTriple>> |
|
Declaration
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> |
|
Declaration
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>> |
|
GetTransactions(System.Collections.ObjectModel.Collection<Int64>)
Declaration
System.Collections.ObjectModel.Collection<RepositoryTransaction> GetTransactions(System.Collections.ObjectModel.Collection<long> transactionIds)
Parameters
Type |
Name |
Description |
System.Collections.ObjectModel.Collection<System.Int64> |
transactionIds |
|
Returns
GetTransactionsAsync(System.Collections.ObjectModel.Collection<Int64>)
Declaration
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>> |
|
GetTypedRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)
Declaration
TypedAdjacencyMatrix GetTypedRelationships(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Returns
GetTypedRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, RelationshipFacet)
Declaration
System.Threading.Tasks.Task<TypedAdjacencyMatrix> GetTypedRelationshipsAsync(System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems, RelationshipFacet facet)
Parameters
Returns
GetTypedSet(IdentifierTriple)
Declaration
System.Collections.ObjectModel.Collection<TypedIdTriple> GetTypedSet(IdentifierTriple rootItem)
Parameters
Returns
Type |
Description |
System.Collections.ObjectModel.Collection<TypedIdTriple> |
|
GetTypedSetAsync(IdentifierTriple)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> GetTypedSetAsync(IdentifierTriple rootItem)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> |
|
GetVersionHistory(System.Guid, String)
Declaration
System.Collections.ObjectModel.Collection<RepositoryItemMetadata> GetVersionHistory(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
Returns
GetVersionHistoryAsync(System.Guid, String)
Declaration
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>> |
|
GetVersions(System.Guid, String)
Declaration
System.Collections.ObjectModel.Collection<IdentifierTriple> GetVersions(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
Returns
GetVersionsAsync(System.Guid, String)
Declaration
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>> |
|
ListTransactions(RepositoryTransactionListOptions)
Declaration
System.Collections.ObjectModel.Collection<RepositoryTransaction> ListTransactions(RepositoryTransactionListOptions options)
Parameters
Returns
ListTransactionsAsync(RepositoryTransactionListOptions)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryTransaction>> ListTransactionsAsync(RepositoryTransactionListOptions options)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryTransaction>> |
|
RegisterItem(RepositoryItem, CommitOptions)
Declaration
void RegisterItem(RepositoryItem item, CommitOptions options)
Parameters
RegisterItemAsync(RepositoryItem, CommitOptions)
Declaration
System.Threading.Tasks.Task RegisterItemAsync(RepositoryItem item, CommitOptions options)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
RegisterItems(System.Collections.ObjectModel.Collection<RepositoryItem>, CommitOptions)
Declaration
System.Collections.ObjectModel.Collection<RepositoryConflict> RegisterItems(System.Collections.ObjectModel.Collection<RepositoryItem> items, CommitOptions options)
Parameters
Returns
RegisterItemsAsync(System.Collections.ObjectModel.Collection<RepositoryItem>, CommitOptions)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryConflict>> RegisterItemsAsync(System.Collections.ObjectModel.Collection<RepositoryItem> items, CommitOptions options)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<RepositoryConflict>> |
|
RemovePermissions(System.Collections.ObjectModel.Collection<Int64>)
Declaration
void RemovePermissions(System.Collections.ObjectModel.Collection<long> permissionIds)
Parameters
Type |
Name |
Description |
System.Collections.ObjectModel.Collection<System.Int64> |
permissionIds |
|
RemovePermissionsAsync(System.Collections.ObjectModel.Collection<Int64>)
Declaration
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 |
|
RemoveRepository(String)
Declaration
void RemoveRepository(string agency)
Parameters
Type |
Name |
Description |
System.String |
agency |
|
RemoveRepositoryAsync(String)
Declaration
System.Threading.Tasks.Task RemoveRepositoryAsync(string agency)
Parameters
Type |
Name |
Description |
System.String |
agency |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
RemoveRepositorySetting(String)
Declaration
void RemoveRepositorySetting(string settingName)
Parameters
Type |
Name |
Description |
System.String |
settingName |
|
RemoveRepositorySettingAsync(String)
Declaration
System.Threading.Tasks.Task RemoveRepositorySettingAsync(string settingName)
Parameters
Type |
Name |
Description |
System.String |
settingName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
RemoveTag(System.Guid, String, Int64, String)
Declaration
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 |
|
RemoveTagAsync(System.Guid, String, Int64, String)
Declaration
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 |
|
RepositorySearch(SearchFacet)
Declaration
SearchResponse RepositorySearch(SearchFacet facet)
Parameters
Returns
RepositorySearchAsync(SearchFacet)
Declaration
System.Threading.Tasks.Task<SearchResponse> RepositorySearchAsync(SearchFacet facet)
Parameters
Returns
RestoreAllItemVersions(System.Guid, String)
Declaration
void RestoreAllItemVersions(System.Guid id, string agency)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
RestoreAllItemVersionsAsync(System.Guid, String)
Declaration
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 |
|
RestoreItem(System.Guid, String, Int64)
Declaration
void RestoreItem(System.Guid id, string agency, long version)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
agency |
|
System.Int64 |
version |
|
RestoreItemAsync(System.Guid, String, Int64)
Declaration
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 |
|
SearchTypedSet(IdentifierTriple, SetSearchFacet)
Declaration
System.Collections.ObjectModel.Collection<TypedIdTriple> SearchTypedSet(IdentifierTriple rootItem, SetSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Collections.ObjectModel.Collection<TypedIdTriple> |
|
SearchTypedSetAsync(IdentifierTriple, SetSearchFacet)
Declaration
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> SearchTypedSetAsync(IdentifierTriple rootItem, SetSearchFacet facet)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>> |
|
SetRepositorySetting(RepositorySetting)
Declaration
void SetRepositorySetting(RepositorySetting setting)
Parameters
SetRepositorySettingAsync(RepositorySetting)
Declaration
System.Threading.Tasks.Task SetRepositorySettingAsync(RepositorySetting setting)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
UpdateDeprecatedState(System.Collections.ObjectModel.Collection<IdentifierTriple>, Boolean, Boolean)
Declaration
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 |
|
UpdateDeprecatedStateAsync(System.Collections.ObjectModel.Collection<IdentifierTriple>, Boolean, Boolean)
Declaration
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 |
|
Extension Methods