ProtectedconstructorStaticInstanceRead the saved options for a (host entity, FK field) pair, or undefined.
The Global Object Store is a place to store global objects that need to be shared across the application. Depending on the execution environment, this could be the window object in a browser, or the global object in a node environment, or something else in other contexts. The key here is that in some cases static variables are not truly shared because it is possible that a given class might have copies of its code in multiple paths in a deployed application. This approach ensures that no matter how many code copies might exist, there is only one instance of the object in question by using the Global Object Store.
Persist one column's resized width (px), merging into any existing widths.
Persist the user's chosen search scope field for this dropdown.
Persist the user's chosen set/order of visible extra columns.
Protected StaticgetReturns the singleton instance of the class. If the instance does not exist, it is created and stored in the Global Object Store. If className is provided it will be used as part of the key in the Global Object Store, otherwise the actual class name will be used. NOTE: the class name used by default is the lowest level of the object hierarchy, so if you have a class that extends another class, the lowest level class name will be used.
OptionalclassName: string
Reads/writes the user's per-FK-dropdown preferences (search scope, sort, column widths) through UserInfoEngine — server-side, cross-device, never
localStorage. All writes are debounced (UI handlers can fire freely).Everything funnels through ONE settings key (STORAGE_KEY); reads are synchronous in-memory cache hits via
UserInfoEngine.GetSetting, so callingGet(...)on every focus is cheap.Implemented as a BaseSingleton so the in-process parse cache is shared.