ViewParameter.refreshAllViewParameters Method
Given many view parameters, this method will attempt to call refreshAllAdapters in a smarter way to avoid excessive requests when only a single
adapter is the end target. If multiple adapters are the end target, then the first one found will be gathered into a single call, while the rest of the affected
will be refresh as normal.
This method is static.
Parameters
- viewParametersToUpdate
-
Type: Array
ElementType: ViewParameter
The view parameters to call refreshAllAdapters on.
- currentView
-
Type: CanvasAdapter
The view to use for refreshing the view parameters.
- adapterId
-
Type: String
(optional) The ID of the adapter to specifically target for bulking the refresh calls.
Optional: True
- isLoadAffectedAdaptersData
-
Type: Boolean
(optional) If set to true, then loadAffectedAdaptersData will be called instead of the usual refreshAllAdapters.
Optional: True
- isVPInvalidateLastModifiedTimeSkipped
-
Type: Boolean
(optional) If set to true, the last modified time will not be reset on the parameter value.
This may be desired if the parameter value already has a last modified time set to something appropriate and the order should be kept.
Optional: True
Return Value
Type: jQuery.Promise
A promise object that is resolved when all the adapters are done loading.