Show / Hide Table of Contents

Interface IPayrunJobService

Inherited Members
ICrudService<IPayrunJob, TenantServiceContext, Query>.UpdateAsync<T>(TenantServiceContext, T)
ICreateService<IPayrunJob, TenantServiceContext, Query>.CreateAsync<T>(TenantServiceContext, T)
ICreateService<IPayrunJob, TenantServiceContext, Query>.DeleteAsync(TenantServiceContext, int)
IReadService<IPayrunJob, TenantServiceContext, Query>.QueryAsync<T>(TenantServiceContext, Query)
IReadService<IPayrunJob, TenantServiceContext, Query>.QueryCountAsync(TenantServiceContext, Query)
IReadService<IPayrunJob, TenantServiceContext, Query>.QueryResultAsync<T>(TenantServiceContext, Query)
IReadService<IPayrunJob, TenantServiceContext, Query>.GetAsync<T>(TenantServiceContext, int)
IAttributeService<TenantServiceContext>.GetAttributeAsync(TenantServiceContext, int, string)
IAttributeService<TenantServiceContext>.SetAttributeAsync(TenantServiceContext, int, string, string)
IAttributeService<TenantServiceContext>.DeleteAttributeAsync(TenantServiceContext, int, string)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IPayrunJobService : ICrudService<IPayrunJob, TenantServiceContext, Query>, ICreateService<IPayrunJob, TenantServiceContext, Query>, IReadService<IPayrunJob, TenantServiceContext, Query>, IAttributeService<TenantServiceContext>

Methods

ChangeJobStatusAsync(TenantServiceContext, int, PayrunJobStatus, int, string, bool)

Declaration
Task ChangeJobStatusAsync(TenantServiceContext context, int payrunJobId, PayrunJobStatus jobStatus, int userId, string reason, bool patchMode)
Parameters
Type Name Description
TenantServiceContext context
int payrunJobId
PayrunJobStatus jobStatus
int userId
string reason
bool patchMode
Returns
Type Description
Task

GetAsync<T>(TenantServiceContext, string)

Declaration
Task<T> GetAsync<T>(TenantServiceContext context, string name) where T : class, IPayrunJob
Parameters
Type Name Description
TenantServiceContext context
string name
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetJobStatusAsync(TenantServiceContext, int)

Declaration
Task<string> GetJobStatusAsync(TenantServiceContext context, int payrunJobId)
Parameters
Type Name Description
TenantServiceContext context
int payrunJobId
Returns
Type Description
Task<string>

PreviewJobAsync<T>(TenantServiceContext, PayrunJobInvocation)

Declaration
Task<T> PreviewJobAsync<T>(TenantServiceContext context, PayrunJobInvocation jobInvocation) where T : class, IPayrollResultSet
Parameters
Type Name Description
TenantServiceContext context
PayrunJobInvocation jobInvocation
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

QueryEmployeePayrunJobsAsync<T>(TenantServiceContext, int, Query)

Declaration
Task<List<T>> QueryEmployeePayrunJobsAsync<T>(TenantServiceContext context, int employeeId, Query query = null) where T : class, IPayrunJob
Parameters
Type Name Description
TenantServiceContext context
int employeeId
Query query
Returns
Type Description
Task<List<T>>
Type Parameters
Name Description
T

QueryEmployeePayrunJobsCountAsync(TenantServiceContext, int, Query)

Declaration
Task<long> QueryEmployeePayrunJobsCountAsync(TenantServiceContext context, int employeeId, Query query = null)
Parameters
Type Name Description
TenantServiceContext context
int employeeId
Query query
Returns
Type Description
Task<long>

QueryEmployeePayrunJobsCountAsync<T>(TenantServiceContext, int, Query)

Declaration
Task<QueryResult<T>> QueryEmployeePayrunJobsCountAsync<T>(TenantServiceContext context, int employeeId, Query query = null) where T : class, IPayrunJob
Parameters
Type Name Description
TenantServiceContext context
int employeeId
Query query
Returns
Type Description
Task<QueryResult<T>>
Type Parameters
Name Description
T

StartJobAsync<T>(TenantServiceContext, PayrunJobInvocation)

Declaration
Task<T> StartJobAsync<T>(TenantServiceContext context, PayrunJobInvocation jobInvocation) where T : class, IPayrunJob
Parameters
Type Name Description
TenantServiceContext context
PayrunJobInvocation jobInvocation
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX