Skip to content

ITaskService

ITaskService declares a service contract in the Claims / Tasks area, implemented outside this library (most likely in SAIF.Services, per the declare-here, enforce-elsewhere pattern documented for this library)*.

Purpose

  • Declares the operations that a SAIF.Services implementation must provide for the Claims / Tasks area*.

Context

  • Namespace: SAIF.Core.Contracts.Claims.Tasks
  • Kind: Interface
  • Assembly/package: SAIF.Core (NuGet package SAIF.SAIFCode.Core)

Public members

Member Signature Purpose
ValidGroups IEnumerable<string> ValidGroups { get; set; } Represents the valid groups associated with this ITaskService*.
GetTaskById ClaimTask GetTaskById(long id) Returns task by id, given id*.
GetTaskGroups IEnumerable<TaskGroup> GetTaskGroups() Returns task groups*.
CreateTask ClaimTask CreateTask(TaskEdit task, IMessageContainer messages) Creates task, given task, messages*.
CreateTaskStateless long CreateTaskStateless(TaskEdit task, IMessageContainer messages, bool isBatchCommit = false) Creates task stateless, given task, messages, isBatchCommit*.
DeleteTask bool DeleteTask(long id, IMessageContainer messages) Deletes task, given id, messages*.
DeleteTasks void DeleteTasks(string ids) Deletes tasks, given ids*.
IsValidClaim bool IsValidClaim(string claimNum) Indicates whether valid claim applies to this ITaskService*.
GetClaimWorkerName string GetClaimWorkerName(string claimNum) Returns claim worker name, given claimNum*.
GetAdditionalInfoTask ClaimTask GetAdditionalInfoTask(string claimNumber) Returns additional info task, given claimNumber*.
HasMedia bool HasMedia(long claimId) Indicates whether this ITaskService has media*.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Core/SAIF.Core/Contracts/Claims/Tasks/ITaskService.cs