clsTaskCategoryCodeCollection¶
Read-only lookup collection representing task categories for one source system.
Purpose¶
- Load the category lookup set used by source-specific task workflows.
Context¶
- Namespace:
SAIF.Business.Tasks - Assembly/package:
SAIF.BOF.Business.Tasks
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Item(Index) | Default ReadOnly Property(ByVal Index As Integer) As clsTaskCategoryCode |
Return the category row at the supplied collection index. |
| Item(inCode) | Default ReadOnly Property(ByVal inCode As String) As clsTaskCategoryCode |
Return the category row for the supplied category 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 category code. |
| TaskSourceCode | ReadOnly Property As String |
Return the source-system code used to load the collection. |
| IsValid | Overrides ReadOnly Property As Boolean |
Indicate whether the collection contains valid category data. |
| Contains(inTaskCategoryCode) | Overloads Function Contains(ByVal inTaskCategoryCode As clsTaskCategoryCode) As Boolean |
Return whether the active (non-deleted) list contains a row equal to inTaskCategoryCode. |
| Contains(inCode) | Overloads Function Contains(ByVal inCode As String) As Boolean |
Return whether the active (non-deleted) list contains a row matching inCode. |
| ContainsDeleted(inTaskCategoryCode) | Overloads Function ContainsDeleted(ByVal inTaskCategoryCode As clsTaskCategoryCode) As Boolean |
Return whether the deleted-items list contains a row equal to inTaskCategoryCode. |
| ContainsDeleted(inCode) | Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean |
Return whether the deleted-items list contains a row matching inCode. |
| GetCodes(inDataPortalInfo, inTaskSourceCode) | Shared Function(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inTaskSourceCode As String) As clsTaskCategoryCodeCollection |
Retrieve the category lookup set for one source-system code. |
Behavioral notes¶
- Loads rows from
TASK_CATEGORY_CODEthrough SQL-007.
Constraints and usage notes¶
- Collection indexing is available by ordinal position or category code.
Sources¶
Business\SAIF.Business.Tasks\clsTaskCategoryCodeCollection.vb