Interface IApprovalProvider
Namespace: OptimaJet.Workflow.Core.Persistence
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic interface IApprovalProvider
Methods
DropWorkflowInboxAsync(Guid)
DeclarationTask DropWorkflowInboxAsync(Guid processId)
Type | Name | Description |
---|---|---|
Guid | processId |
Type | Description |
---|---|
Task |
InsertInboxAsync(List<InboxItem>)
DeclarationTask InsertInboxAsync(List<InboxItem> inboxItems)
Type | Name | Description |
---|---|---|
List<InboxItem> | inboxItems |
Type | Description |
---|---|
Task |
GetInboxCountByProcessIdAsync(Guid)
DeclarationTask<int> GetInboxCountByProcessIdAsync(Guid processId)
Type | Name | Description |
---|---|---|
Guid | processId |
Type | Description |
---|---|
Task<int> |
GetInboxCountByIdentityIdAsync(string)
DeclarationTask<int> GetInboxCountByIdentityIdAsync(string identityId)
Type | Name | Description |
---|---|---|
string | identityId |
Type | Description |
---|---|
Task<int> |
GetInboxByProcessIdAsync(Guid, Paging, CultureInfo)
DeclarationTask<List<InboxItem>> GetInboxByProcessIdAsync(Guid processId, Paging paging = null, CultureInfo culture = null)
Type | Name | Description |
---|---|---|
Guid | processId | |
Paging | paging | |
CultureInfo | culture |
Type | Description |
---|---|
Task<List<InboxItem>> |
GetInboxByIdentityIdAsync(string, Paging, CultureInfo)
DeclarationTask<List<InboxItem>> GetInboxByIdentityIdAsync(string identityId, Paging paging = null, CultureInfo culture = null)
Type | Name | Description |
---|---|---|
string | identityId | |
Paging | paging | |
CultureInfo | culture |
Type | Description |
---|---|
Task<List<InboxItem>> |
FillApprovalHistoryAsync(ApprovalHistoryItem)
DeclarationTask FillApprovalHistoryAsync(ApprovalHistoryItem approvalHistoryItem)
Type | Name | Description |
---|---|---|
ApprovalHistoryItem | approvalHistoryItem |
Type | Description |
---|---|
Task |
DropEmptyApprovalHistoryAsync(Guid)
DeclarationTask DropEmptyApprovalHistoryAsync(Guid processId)
Type | Name | Description |
---|---|---|
Guid | processId |
Type | Description |
---|---|
Task |
DropApprovalHistoryByProcessIdAsync(Guid)
DeclarationTask DropApprovalHistoryByProcessIdAsync(Guid processId)
Type | Name | Description |
---|---|---|
Guid | processId |
Type | Description |
---|---|
Task |
DropApprovalHistoryByIdentityIdAsync(string)
DeclarationTask DropApprovalHistoryByIdentityIdAsync(string identityId)
Type | Name | Description |
---|---|---|
string | identityId |
Type | Description |
---|---|
Task |
GetApprovalHistoryCountByProcessIdAsync(Guid)
DeclarationTask<int> GetApprovalHistoryCountByProcessIdAsync(Guid processId)
Type | Name | Description |
---|---|---|
Guid | processId |
Type | Description |
---|---|
Task<int> |
GetApprovalHistoryCountByIdentityIdAsync(string)
DeclarationTask<int> GetApprovalHistoryCountByIdentityIdAsync(string identityId)
Type | Name | Description |
---|---|---|
string | identityId |
Type | Description |
---|---|
Task<int> |
GetApprovalHistoryByProcessIdAsync(Guid, Paging)
DeclarationTask<List<ApprovalHistoryItem>> GetApprovalHistoryByProcessIdAsync(Guid processId, Paging paging = null)
Type | Name | Description |
---|---|---|
Guid | processId | |
Paging | paging |
Type | Description |
---|---|
Task<List<ApprovalHistoryItem>> |
GetApprovalHistoryByIdentityIdAsync(string, Paging)
DeclarationTask<List<ApprovalHistoryItem>> GetApprovalHistoryByIdentityIdAsync(string identityId, Paging paging = null)
Type | Name | Description |
---|---|---|
string | identityId | |
Paging | paging |
Type | Description |
---|---|
Task<List<ApprovalHistoryItem>> |
GetOutboxCountByIdentityIdAsync(string)
DeclarationTask<int> GetOutboxCountByIdentityIdAsync(string identityId)
Type | Name | Description |
---|---|---|
string | identityId |
Type | Description |
---|---|
Task<int> |
GetOutboxByIdentityIdAsync(string, Paging)
DeclarationTask<List<OutboxItem>> GetOutboxByIdentityIdAsync(string identityId, Paging paging = null)
Type | Name | Description |
---|---|---|
string | identityId | |
Paging | paging |
Type | Description |
---|---|
Task<List<OutboxItem>> |