Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface IApprovalProvider

OptimaJet.Workflow.Core.Persistence.IApprovalProvider

public interface IApprovalProvider

Methods

Task DropWorkflowInboxAsync(Guid processId) #

Parameters

Name
Type
Description
processId
Guid

Returns

Type
Description
Task
Task InsertInboxAsync(List<InboxItem> inboxItems) #

Parameters

Name
Type
Description
inboxItems
List<InboxItem>

Returns

Type
Description
Task
Task<int> GetInboxCountByProcessIdAsync(Guid processId) #

Parameters

Name
Type
Description
processId
Guid

Returns

Type
Description
Task<Int32>
Task<int> GetInboxCountByIdentityIdAsync(string identityId) #

Parameters

Name
Type
Description
identityId
String

Returns

Type
Description
Task<Int32>
Task<List<InboxItem>> GetInboxByProcessIdAsync(Guid processId, Paging paging = null, CultureInfo culture = null) #

Parameters

Name
Type
Description
processId
Guid
paging
Paging
culture
CultureInfo

Returns

Type
Description
Task<InboxItem>
Task<List<InboxItem>> GetInboxByIdentityIdAsync(string identityId, Paging paging = null, CultureInfo culture = null) #

Parameters

Name
Type
Description
identityId
String
paging
Paging
culture
CultureInfo

Returns

Type
Description
Task<InboxItem>
Task FillApprovalHistoryAsync(ApprovalHistoryItem approvalHistoryItem) #

Parameters

Name
Type
Description
approvalHistoryItem
ApprovalHistoryItem

Returns

Type
Description
Task
Task DropEmptyApprovalHistoryAsync(Guid processId) #

Parameters

Name
Type
Description
processId
Guid

Returns

Type
Description
Task
Task DropApprovalHistoryByProcessIdAsync(Guid processId) #

Parameters

Name
Type
Description
processId
Guid

Returns

Type
Description
Task
Task DropApprovalHistoryByIdentityIdAsync(string identityId) #

Parameters

Name
Type
Description
identityId
String

Returns

Type
Description
Task
Task<int> GetApprovalHistoryCountByProcessIdAsync(Guid processId) #

Parameters

Name
Type
Description
processId
Guid

Returns

Type
Description
Task<Int32>
Task<int> GetApprovalHistoryCountByIdentityIdAsync(string identityId) #

Parameters

Name
Type
Description
identityId
String

Returns

Type
Description
Task<Int32>
Task<List<ApprovalHistoryItem>> GetApprovalHistoryByProcessIdAsync(Guid processId, Paging paging = null) #

Parameters

Name
Type
Description
processId
Guid
paging
Paging

Returns

Type
Description
Task<ApprovalHistoryItem>
Task<List<ApprovalHistoryItem>> GetApprovalHistoryByIdentityIdAsync(string identityId, Paging paging = null) #

Parameters

Name
Type
Description
identityId
String
paging
Paging

Returns

Type
Description
Task<ApprovalHistoryItem>
Task<int> GetOutboxCountByIdentityIdAsync(string identityId) #

Parameters

Name
Type
Description
identityId
String

Returns

Type
Description
Task<Int32>
Task<List<OutboxItem>> GetOutboxByIdentityIdAsync(string identityId, Paging paging = null) #

Parameters

Name
Type
Description
identityId
String
paging
Paging

Returns

Type
Description
Task<OutboxItem>