clsTaskPriorityCodeCollection¶
Read-only lookup collection representing the available task priorities.
Purpose¶
- Provide the full priority-code list and map between stored codes and the shared
TaskPriorityenum.
Context¶
- Namespace:
SAIF.Business.Tasks - Assembly/package:
SAIF.BOF.Business.Tasks
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| cInfo | Const As String = "INFO" |
Expose the informational priority code. |
| cLow | Const As String = "LOW" |
Expose the low priority code. |
| cMedium | Const As String = "MED" |
Expose the medium priority code. |
| cHigh | Const As String = "HIGH" |
Expose the high priority code. |
| cUrgent | Const As String = "URG" |
Expose the urgent priority code. |
| Item(Index) | Default ReadOnly Property(ByVal Index As Integer) As clsTaskPriorityCode |
Return the priority row at the supplied collection index. |
| Item(inCode) | Default ReadOnly Property(ByVal inCode As String) As clsTaskPriorityCode |
Return the priority row for the supplied code. |
| Item(inPriority) | Default ReadOnly Property(ByVal inPriority As TaskPriority) As clsTaskPriorityCode |
Return the priority row for the supplied enum value. |
| 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. |
| Description(inPriority) | ReadOnly Property(ByVal inPriority As TaskPriority) As String |
Return the description for the supplied enum value. |
| Contains(inTaskPriorityCode) | Overloads Function Contains(ByVal inTaskPriorityCode As clsTaskPriorityCode) As Boolean |
Return whether the active (non-deleted) list contains a row equal to inTaskPriorityCode. |
| Contains(inCode) | Overloads Function Contains(ByVal inCode As String) As Boolean |
Return whether the active (non-deleted) list contains a row matching inCode. |
| ContainsDeleted(inTaskPriorityCode) | Overloads Function ContainsDeleted(ByVal inTaskPriorityCode As clsTaskPriorityCode) As Boolean |
Return whether the deleted-items list contains a row equal to inTaskPriorityCode. |
| 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 clsTaskPriorityCodeCollection |
Retrieve the full priority-code lookup set. |
| Priority(inCode) | Shared Function(ByVal inCode As String) As TaskPriority |
Map a stored priority code to the shared enum value. |
| Priority(inTaskPriority) | Shared Function(ByVal inTaskPriority As TaskPriority) As String |
Map a shared enum value back to its stored priority code. |
Behavioral notes¶
- Loads rows from
TASK_PRIORITY_CODEthrough SQL-010.
Constraints and usage notes¶
- Collection indexing is available by ordinal position, stored code, or enum value.
Sources¶
Business\SAIF.Business.Tasks\clsTaskPriorityCodeCollection.vb