clsApplicationCodeCollection¶
Loads and filters application-code lookup rows.
Purpose¶
- Provide all or active-only application-code lists.
- Support in-memory lookup by application path.
Context¶
- Namespace:
SAIF.Business.Menu - Assembly/package:
SAIF.Business.Menu.dll
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Item (default, keyed) | Default Public Overloads ReadOnly Property Item(ByVal inCode As String) As clsApplicationCode |
Looks up an application code row in the loaded collection by its Code key, returning Nothing if no item matches. |
| ItemByAppPath | Public ReadOnly Property ItemByAppPath(ByVal inAppPath As String) As clsApplicationCode |
Lookup by application path. |
| CurrentItem | Public Shadows ReadOnly Property CurrentItem() As clsApplicationCode |
Returns the base collection's current item cast to clsApplicationCode, avoiding caller-side casting when navigating the loaded application-code set. |
| Save | Public Overrides Function Save() As Boolean |
Persists the current object state through the SAIF data-portal lifecycle. |
| Add | Public Shadows Function Add(ByVal inclsApplicationCode As clsApplicationCode) As Integer |
Appends an already-constructed row to the in-memory collection so it participates in the next Save() and any collection-wide iteration, without issuing a retrieve. |
| Contains | Public Overloads Function Contains(ByVal inclsApplicationCode As clsApplicationCode) As Boolean |
Scans the loaded collection for an item whose Code equals the supplied object's Code (clsApplicationCode.Equals compares only the Code field). |
| Contains | Public Overloads Function Contains(ByVal inCode As String) As Boolean |
Scans the loaded collection for an item whose Code property equals the supplied code string. |
| ContainsDeleted | Public Overloads Function ContainsDeleted(ByVal inclsApplicationCode As clsApplicationCode) As Boolean |
Scans the deleted-items list for an entry whose Code equals the supplied object's Code. |
| ContainsDeleted | Public Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean |
Scans the deleted-items list for an entry whose Code equals the supplied code string, via clsApplicationCode.Equals(Object). |
| Remove | Public Overloads Sub Remove(ByVal inCode As String) |
Removes the application code matching the supplied key from the in-memory collection and moves it to the inherited deleted-items list so a subsequent Save() still issues the delete statement. |
| GetAllApplicationCodes | Public Shared Function GetAllApplicationCodes(ByVal inDataportal As IDataPortalInfo) As clsApplicationCodeCollection |
Retrieves the full typed set from Oracle. |
| GetActiveApplicationCodes | Public Shared Function GetActiveApplicationCodes(ByVal inDataportal As IDataPortalInfo) As clsApplicationCodeCollection |
Retrieves only active lookup rows. |
Behavioral notes¶
- Reads the full lookup table.
Constraints and usage notes¶
- Reference-data collection.
Inherited public members¶
No dependency-resolution.json was produced for this run, so the members below are a best-effort inference from typical SAIF BOF framework (clsBusinessCollection(Of T)) patterns observed elsewhere in this codebase, not a Legends CLI-sourced dependency lookup.**
From clsBusinessCollection(Of clsApplicationCode) (SAIF.BOF.Framework)**¶
| Member | Signature | Purpose | Origin |
|---|---|---|---|
| Count | Public ReadOnly Property Count() As Integer |
*Purpose could not be verified beyond the standard collection-indexer contract**; inferred usage is bounding For loops when callers iterate loaded clsApplicationCode rows outside GetEnumerator. |
clsBusinessCollection(Of T) |
| Item | Public Default ReadOnly Property Item(ByVal index As Integer) As clsApplicationCode |
*Purpose could not be verified beyond the standard collection-indexer contract**; inferred usage is positional access to a loaded clsApplicationCode row during indexed iteration or lookup-by-slot. |
clsBusinessCollection(Of T) |
| GetEnumerator | Public Function GetEnumerator() As IEnumerator(Of clsApplicationCode) |
Supports For Each iteration over the loaded collection.** |
clsBusinessCollection(Of T) |
| IsDirty | Public Overridable ReadOnly Property IsDirty() As Boolean |
Reports whether any loaded or deleted item in the collection has pending changes.** | clsBusinessCollection(Of T) |
| IsValid | Public Overridable ReadOnly Property IsValid() As Boolean |
Reports whether every loaded item in the collection independently reports itself valid.** | clsBusinessCollection(Of T) |
Note: Statements marked with
**could not be confirmed; treat as unknown until verified.
Sources¶
SAIF.Business.Menu\clsApplicationCodeCollection.vb