Packaged abstract class
Namespace: overcast
Implements ComponentPluginV4
The ComponentPluginV5 abstract class provides a way for Overcast Components to execute custom code.
See the Overcast Component Plugin Template for the full implementation example.
The class and method visibility must be global so the Overcast managed package can call it.
(ComponentPlugin) beforeScenarioCall(recordId, referenceFieldValues, importParameters, settings)
(ComponentPlugin) afterScenarioCall(returnedData, cmp, settings)
(ComponentPluginV2) afterComponentMetadataLoaded(recordId, cmp)
(ComponentPluginV2) afterReferenceValuesLoaded(recordId, componentName, referenceValues)
(ComponentPluginV2) onScenarioException(ex, retData)
(ComponentPluginV3) afterReferenceValuesLoaded(recordId, componentName, referenceValues, referenceChildValues)
(ComponentPluginV4) onBackendMessageReceived(backendMessage)
afterStoredDataLoaded(Map<String, Object> storedData, Map<String, Object> slpData)
afterStoredDataLoaded(Map<String, Object> storedData, Map<String, Object> slpData)
This method is executed if there is slp or stored data when the component is loaded.
To throw an exception intentionally from this method, create a new instance of overcast.ComponentFrameworkUtility.ComponentPluginException. Any other exception type thrown from this method will be treated as an unhandled exception and an error will be shown to the user.
The method visibility must be global.
Signature
void afterStoredDataLoaded(Map<String, Object> storedData, Map<String, Object> slpData)
Parameters
storedData
Type: Map<String, Object>
The stored data from other components.
slpData
Type: Map<String, Object>
The slp data from other components.
Return Value
Type: void