Show / Hide Table of Contents

Interface IRepositoryService

Namespace: Algenta.Colectica.Repository.Client.RepositoryServiceReference
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public interface IRepositoryService

Methods

AddItemsToTransaction(RepositoryTransactionAddItemsRequest)

Declaration
RepositoryTransaction AddItemsToTransaction(RepositoryTransactionAddItemsRequest request)
Parameters
Type Name Description
RepositoryTransactionAddItemsRequest request
Returns
Type Description
RepositoryTransaction

AddItemsToTransactionAsync(RepositoryTransactionAddItemsRequest)

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

AddPermissions(RepositorySecurityContext)

Declaration
void AddPermissions(RepositorySecurityContext context)
Parameters
Type Name Description
RepositorySecurityContext context

AddPermissionsAsync(RepositorySecurityContext)

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

CancelTransaction(RepositoryTransactionCancelOptions)

Declaration
RepositoryTransaction CancelTransaction(RepositoryTransactionCancelOptions options)
Parameters
Type Name Description
RepositoryTransactionCancelOptions options
Returns
Type Description
RepositoryTransaction

CancelTransactionAsync(RepositoryTransactionCancelOptions)

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

CommitTransaction(RepositoryTransactionCommitOptions)

Declaration
RepositoryTransaction CommitTransaction(RepositoryTransactionCommitOptions options)
Parameters
Type Name Description
RepositoryTransactionCommitOptions options
Returns
Type Description
RepositoryTransaction

CommitTransactionAsync(RepositoryTransactionCommitOptions)

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

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

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

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

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
Type Description
RepositoryTransaction

CreateTransactionAsync()

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

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

GetComments(System.Guid, String)

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>

GetCommentsAsync(System.Guid, String)

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>>

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

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>

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

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
Type Description
RepositoryItem

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
Type Description
System.Threading.Tasks.Task<RepositoryItem>

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
Type Description
RepositoryItem

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
Type Description
System.Threading.Tasks.Task<RepositoryItem>

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
Type Name Description
IdentifierTriple rootItem
Returns
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>

GetLatestSetAsync(IdentifierTriple)

Declaration
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>>

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
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>

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
Type Description
RepositorySecurityContext

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
Type Description
System.Threading.Tasks.Task<RepositorySecurityContext>

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
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<TypedIdTriple>

GetRelationshipByObjectAsync(GraphSearchFacet)

Declaration
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>>

GetRelationshipBySubject(GraphSearchFacet)

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

GetRelationshipBySubjectAsync(GraphSearchFacet)

Declaration
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>>

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

Declaration
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

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

Declaration
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>

GetRepositoryInfo()

Declaration
RepositoryInfo GetRepositoryInfo()
Returns
Type Description
RepositoryInfo

GetRepositoryInfoAsync()

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

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
Type Description
RepositoryItemMetadata

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
Type Description
System.Threading.Tasks.Task<RepositoryItemMetadata>

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
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>

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
Type Name Description
GraphSearchFacet facet
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>

GetRepositoryItemDescriptionsByObjectAsync(GraphSearchFacet)

Declaration
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>>

GetRepositoryItemDescriptionsBySubject(GraphSearchFacet)

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

GetRepositoryItemDescriptionsBySubjectAsync(GraphSearchFacet)

Declaration
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>>

GetRepositorySetting(String)

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

GetRepositorySettingAsync(String)

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

GetRepositorySettings()

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

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
Type Description
RepositoryStatistics

GetRepositoryStatisticsAsync()

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

GetSet(IdentifierTriple)

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

GetSetAsync(IdentifierTriple)

Declaration
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>>

GetTags(System.Guid, String, Int64)

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>

GetTagsAsync(System.Guid, String, Int64)

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
Type Description
System.Collections.ObjectModel.Collection<RepositoryTransaction>

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
Type Name Description
System.Collections.ObjectModel.Collection<IdentifierTriple> rootItems
RelationshipFacet facet
Returns
Type Description
TypedAdjacencyMatrix

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

Declaration
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>

GetTypedSet(IdentifierTriple)

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

GetTypedSetAsync(IdentifierTriple)

Declaration
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>>

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
Type Description
System.Collections.ObjectModel.Collection<RepositoryItemMetadata>

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
Type Description
System.Collections.ObjectModel.Collection<IdentifierTriple>

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
Type Name Description
RepositoryTransactionListOptions options
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryTransaction>

ListTransactionsAsync(RepositoryTransactionListOptions)

Declaration
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>>

RegisterItem(RepositoryItem, CommitOptions)

Declaration
void RegisterItem(RepositoryItem item, CommitOptions options)
Parameters
Type Name Description
RepositoryItem item
CommitOptions options

RegisterItemAsync(RepositoryItem, CommitOptions)

Declaration
System.Threading.Tasks.Task RegisterItemAsync(RepositoryItem item, CommitOptions options)
Parameters
Type Name Description
RepositoryItem item
CommitOptions options
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
Type Name Description
System.Collections.ObjectModel.Collection<RepositoryItem> items
CommitOptions options
Returns
Type Description
System.Collections.ObjectModel.Collection<RepositoryConflict>

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
Type Name Description
System.Collections.ObjectModel.Collection<RepositoryItem> items
CommitOptions options
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
Type Name Description
SearchFacet facet
Returns
Type Description
SearchResponse

RepositorySearchAsync(SearchFacet)

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

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
Type Name Description
IdentifierTriple rootItem
SetSearchFacet facet
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
Type Name Description
IdentifierTriple rootItem
SetSearchFacet facet
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.ObjectModel.Collection<TypedIdTriple>>

SetRepositorySetting(RepositorySetting)

Declaration
void SetRepositorySetting(RepositorySetting setting)
Parameters
Type Name Description
RepositorySetting setting

SetRepositorySettingAsync(RepositorySetting)

Declaration
System.Threading.Tasks.Task SetRepositorySettingAsync(RepositorySetting setting)
Parameters
Type Name Description
RepositorySetting setting
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

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