Type.registerNamespace('GISPlanning.ZPE.common.services');
GISPlanning.ZPE.common.services.DocumentLoader=function() {
GISPlanning.ZPE.common.services.DocumentLoader.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GISPlanning.ZPE.common.services.DocumentLoader.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.get_path();},
ExportReportHtmlToSession:function(pHtml,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ExportReportHtmlToSession',false,{pHtml:pHtml},succeededCallback,failedCallback,userContext); },
GetReportAsHTML:function(pURL,pID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetReportAsHTML',false,{pURL:pURL,pID:pID},succeededCallback,failedCallback,userContext); },
RegisterExportReport:function(pGuid,pContent,pRequestId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RegisterExportReport',false,{pGuid:pGuid,pContent:pContent,pRequestId:pRequestId},succeededCallback,failedCallback,userContext); },
GetExportReport:function(pReportID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExportReport',false,{pReportID:pReportID},succeededCallback,failedCallback,userContext); },
GetExportReportBytes:function(pReport,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExportReportBytes',false,{pReport:pReport},succeededCallback,failedCallback,userContext); }}
GISPlanning.ZPE.common.services.DocumentLoader.registerClass('GISPlanning.ZPE.common.services.DocumentLoader',Sys.Net.WebServiceProxy);
GISPlanning.ZPE.common.services.DocumentLoader._staticInstance = new GISPlanning.ZPE.common.services.DocumentLoader();
GISPlanning.ZPE.common.services.DocumentLoader.set_path = function(value) { GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.set_path(value); }
GISPlanning.ZPE.common.services.DocumentLoader.get_path = function() { return GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.get_path(); }
GISPlanning.ZPE.common.services.DocumentLoader.set_timeout = function(value) { GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.set_timeout(value); }
GISPlanning.ZPE.common.services.DocumentLoader.get_timeout = function() { return GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.get_timeout(); }
GISPlanning.ZPE.common.services.DocumentLoader.set_defaultUserContext = function(value) { GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.set_defaultUserContext(value); }
GISPlanning.ZPE.common.services.DocumentLoader.get_defaultUserContext = function() { return GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.get_defaultUserContext(); }
GISPlanning.ZPE.common.services.DocumentLoader.set_defaultSucceededCallback = function(value) { GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.set_defaultSucceededCallback(value); }
GISPlanning.ZPE.common.services.DocumentLoader.get_defaultSucceededCallback = function() { return GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.get_defaultSucceededCallback(); }
GISPlanning.ZPE.common.services.DocumentLoader.set_defaultFailedCallback = function(value) { GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.set_defaultFailedCallback(value); }
GISPlanning.ZPE.common.services.DocumentLoader.get_defaultFailedCallback = function() { return GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.get_defaultFailedCallback(); }
GISPlanning.ZPE.common.services.DocumentLoader.set_path("/common/services/DocumentLoader.asmx");
GISPlanning.ZPE.common.services.DocumentLoader.ExportReportHtmlToSession= function(pHtml,onSuccess,onFailed,userContext) {GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.ExportReportHtmlToSession(pHtml,onSuccess,onFailed,userContext); }
GISPlanning.ZPE.common.services.DocumentLoader.GetReportAsHTML= function(pURL,pID,onSuccess,onFailed,userContext) {GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.GetReportAsHTML(pURL,pID,onSuccess,onFailed,userContext); }
GISPlanning.ZPE.common.services.DocumentLoader.RegisterExportReport= function(pGuid,pContent,pRequestId,onSuccess,onFailed,userContext) {GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.RegisterExportReport(pGuid,pContent,pRequestId,onSuccess,onFailed,userContext); }
GISPlanning.ZPE.common.services.DocumentLoader.GetExportReport= function(pReportID,onSuccess,onFailed,userContext) {GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.GetExportReport(pReportID,onSuccess,onFailed,userContext); }
GISPlanning.ZPE.common.services.DocumentLoader.GetExportReportBytes= function(pReport,onSuccess,onFailed,userContext) {GISPlanning.ZPE.common.services.DocumentLoader._staticInstance.GetExportReportBytes(pReport,onSuccess,onFailed,userContext); }
