Skip to content

clsTaskActionCodeCollection

Read-only lookup collection representing the available task action codes.

Purpose

  • Provide the full task action-code list and convenience lookup helpers.

Context

  • Namespace: SAIF.Business.Tasks
  • Assembly/package: SAIF.BOF.Business.Tasks

Public members

Member Signature Purpose
cNoActionRequired Const As String = "NONE" Expose the sentinel action code used when no action is required.
Item(Index) Default ReadOnly Property(ByVal Index As Integer) As clsTaskActionCode Return the action-code row at the supplied collection index.
Item(inCode) Default ReadOnly Property(ByVal inCode As String) As clsTaskActionCode Return the action-code row for the supplied code.
Description(Index) ReadOnly Property(ByVal Index As Integer) As String Return the description for the row at the supplied collection index.
Description(inCode) ReadOnly Property(ByVal inCode As String) As String Return the description for the supplied code.
Contains(inTaskActionCode) Overloads Function Contains(ByVal inTaskActionCode As clsTaskActionCode) As Boolean Return whether the active (non-deleted) list contains a row equal to inTaskActionCode.
Contains(inCode) Overloads Function Contains(ByVal inCode As String) As Boolean Return whether the active (non-deleted) list contains a row matching inCode.
ContainsDeleted(inTaskActionCode) Overloads Function ContainsDeleted(ByVal inTaskActionCode As clsTaskActionCode) As Boolean Return whether the deleted-items list contains a row equal to inTaskActionCode.
ContainsDeleted(inCode) Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean Return whether the deleted-items list contains a row matching inCode.
GetCodes(inDataPortalInfo) Shared Function(ByVal inDataPortalInfo As IDataPortalInfo) As clsTaskActionCodeCollection Retrieve the full action-code lookup set.

Behavioral notes

  • Loads rows from TASK_ACTION_CODE through SQL-004.

Constraints and usage notes

  • Collection indexing is available by ordinal position or code string.

Sources

  • Business\SAIF.Business.Tasks\clsTaskActionCodeCollection.vb