Class ApprovalDefinitionDB
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
ApprovalDefinitionDB
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(IncludeServiceAccessor = true)]
public class ApprovalDefinitionDB
Constructors
ApprovalDefinitionDB(IAsyncDatabaseExecutor, DatabaseDateTimeHandler, ILanguageBranchRepository, IApprovalTypeRegistry)
Declaration
public ApprovalDefinitionDB(IAsyncDatabaseExecutor databaseHandler, DatabaseDateTimeHandler databaseTimeResolver, ILanguageBranchRepository languageBranchRepository, IApprovalTypeRegistry approvalTypeRegistry)
Parameters
Methods
DeleteAsync(IEnumerable<Int32>)
Declaration
public virtual Task DeleteAsync(IEnumerable<int> approvalDefinitionIDs)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
approvalDefinitionIDs |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DeleteVersionAsync(Int32)
Declaration
public virtual Task DeleteVersionAsync(int approvalDefinitionVersionID)
Parameters
Type |
Name |
Description |
System.Int32 |
approvalDefinitionVersionID |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
GetCurrentAsync(Int32)
Declaration
public virtual Task<ApprovalDefinition> GetCurrentAsync(int approvalDefinitionID)
Parameters
Type |
Name |
Description |
System.Int32 |
approvalDefinitionID |
|
Returns
GetCurrentAsync(String)
Declaration
public virtual Task<ApprovalDefinition> GetCurrentAsync(string approvalDefinitionKey)
Parameters
Type |
Name |
Description |
System.String |
approvalDefinitionKey |
|
Returns
GetCurrentItemsAsync(IEnumerable<Int32>)
Declaration
public virtual Task<IEnumerable<ApprovalDefinition>> GetCurrentItemsAsync(IEnumerable<int> approvalDefinitionIDs)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
approvalDefinitionIDs |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ApprovalDefinition>> |
|
GetCurrentItemsAsync(IEnumerable<String>)
Declaration
public virtual Task<IEnumerable<ApprovalDefinition>> GetCurrentItemsAsync(IEnumerable<string> approvalDefinitionKeys)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
approvalDefinitionKeys |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ApprovalDefinition>> |
|
GetVersionAsync(Int32)
Declaration
public virtual Task<ApprovalDefinition> GetVersionAsync(int approvalDefinitionVersionID)
Parameters
Type |
Name |
Description |
System.Int32 |
approvalDefinitionVersionID |
|
Returns
ListAsync(Int32)
Declaration
public virtual Task<IEnumerable<ApprovalDefinition>> ListAsync(int approvalDefinitionID)
Parameters
Type |
Name |
Description |
System.Int32 |
approvalDefinitionID |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ApprovalDefinition>> |
|
SaveAsync(ApprovalDefinition, String)
Declaration
public virtual Task SaveAsync(ApprovalDefinition approvalDefinition, string approvalDefinitionKey)
Parameters
Type |
Name |
Description |
ApprovalDefinition |
approvalDefinition |
|
System.String |
approvalDefinitionKey |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods