123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
-
- function DelayedLoadingContext( id ){
- this.widgetid = id;
- this.m_promptValues = null;
- }
- DelayedLoadingContext.prototype.setPromptValues = function( promptValues ) {
- if (promptValues === null) {
- this.m_promptValues = null;
- return;
- }
-
- if (!this.m_promptValues) {
- this.m_promptValues = {};
- }
-
-
-
-
-
- applyJSONProperties(this.m_promptValues, promptValues);
- };
-
- DelayedLoadingContext.prototype.getPromptValues = function() {
- return this.m_promptValues;
- };
-
- DelayedLoadingContext.prototype.setForceRunReport = function( forceRunReport ) {
- this.m_forceRunReport = forceRunReport;
- };
-
- DelayedLoadingContext.prototype.getForceRunReport = function() {
- return this.m_forceRunReport;
- };
-
- DelayedLoadingContext.prototype.isEmpty = function() {
- return !(this.m_promptValues || this.m_forceRunReport);
- };
-
-
- DelayedLoadingContext.prototype.reset = function() {
- delete(this.m_promptValues);
- this.m_promptValues = null;
- this.m_forceRunReport = false;
- delete( this._cascadingPromptParamsToClear );
- };
-
- DelayedLoadingContext.prototype.setCascadingPromptParamsToClear = function( cascadingPromptParamsToClear ) {
- this._cascadingPromptParamsToClear = cascadingPromptParamsToClear;
- };
- DelayedLoadingContext.prototype.getCascadingPromptParamsToClear = function() {
- return this._cascadingPromptParamsToClear;
- };
-
-
|