Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Interface IApprovalProvider

Namespace: OptimaJet.Workflow.Core.Persistence

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface IApprovalProvider

Methods

DropWorkflowInboxAsync(Guid)

Declaration
Task DropWorkflowInboxAsync(Guid processId)
Parameters
TypeNameDescription
GuidprocessId
Returns
TypeDescription
Task

InsertInboxAsync(List<InboxItem>)

Declaration
Task InsertInboxAsync(List<InboxItem> inboxItems)
Parameters
TypeNameDescription
List<InboxItem>inboxItems
Returns
TypeDescription
Task

GetInboxCountByProcessIdAsync(Guid)

Declaration
Task<int> GetInboxCountByProcessIdAsync(Guid processId)
Parameters
TypeNameDescription
GuidprocessId
Returns
TypeDescription
Task<int>

GetInboxCountByIdentityIdAsync(string)

Declaration
Task<int> GetInboxCountByIdentityIdAsync(string identityId)
Parameters
TypeNameDescription
stringidentityId
Returns
TypeDescription
Task<int>

GetInboxByProcessIdAsync(Guid, Paging, CultureInfo)

Declaration
Task<List<InboxItem>> GetInboxByProcessIdAsync(Guid processId, Paging paging = null, CultureInfo culture = null)
Parameters
TypeNameDescription
GuidprocessId
Pagingpaging
CultureInfoculture
Returns
TypeDescription
Task<List<InboxItem>>

GetInboxByIdentityIdAsync(string, Paging, CultureInfo)

Declaration
Task<List<InboxItem>> GetInboxByIdentityIdAsync(string identityId, Paging paging = null, CultureInfo culture = null)
Parameters
TypeNameDescription
stringidentityId
Pagingpaging
CultureInfoculture
Returns
TypeDescription
Task<List<InboxItem>>

FillApprovalHistoryAsync(ApprovalHistoryItem)

Declaration
Task FillApprovalHistoryAsync(ApprovalHistoryItem approvalHistoryItem)
Parameters
TypeNameDescription
ApprovalHistoryItemapprovalHistoryItem
Returns
TypeDescription
Task

DropEmptyApprovalHistoryAsync(Guid)

Declaration
Task DropEmptyApprovalHistoryAsync(Guid processId)
Parameters
TypeNameDescription
GuidprocessId
Returns
TypeDescription
Task

DropApprovalHistoryByProcessIdAsync(Guid)

Declaration
Task DropApprovalHistoryByProcessIdAsync(Guid processId)
Parameters
TypeNameDescription
GuidprocessId
Returns
TypeDescription
Task

DropApprovalHistoryByIdentityIdAsync(string)

Declaration
Task DropApprovalHistoryByIdentityIdAsync(string identityId)
Parameters
TypeNameDescription
stringidentityId
Returns
TypeDescription
Task

GetApprovalHistoryCountByProcessIdAsync(Guid)

Declaration
Task<int> GetApprovalHistoryCountByProcessIdAsync(Guid processId)
Parameters
TypeNameDescription
GuidprocessId
Returns
TypeDescription
Task<int>

GetApprovalHistoryCountByIdentityIdAsync(string)

Declaration
Task<int> GetApprovalHistoryCountByIdentityIdAsync(string identityId)
Parameters
TypeNameDescription
stringidentityId
Returns
TypeDescription
Task<int>

GetApprovalHistoryByProcessIdAsync(Guid, Paging)

Declaration
Task<List<ApprovalHistoryItem>> GetApprovalHistoryByProcessIdAsync(Guid processId, Paging paging = null)
Parameters
TypeNameDescription
GuidprocessId
Pagingpaging
Returns
TypeDescription
Task<List<ApprovalHistoryItem>>

GetApprovalHistoryByIdentityIdAsync(string, Paging)

Declaration
Task<List<ApprovalHistoryItem>> GetApprovalHistoryByIdentityIdAsync(string identityId, Paging paging = null)
Parameters
TypeNameDescription
stringidentityId
Pagingpaging
Returns
TypeDescription
Task<List<ApprovalHistoryItem>>

GetOutboxCountByIdentityIdAsync(string)

Declaration
Task<int> GetOutboxCountByIdentityIdAsync(string identityId)
Parameters
TypeNameDescription
stringidentityId
Returns
TypeDescription
Task<int>

GetOutboxByIdentityIdAsync(string, Paging)

Declaration
Task<List<OutboxItem>> GetOutboxByIdentityIdAsync(string identityId, Paging paging = null)
Parameters
TypeNameDescription
stringidentityId
Pagingpaging
Returns
TypeDescription
Task<List<OutboxItem>>

Extension Methods