Type.registerNamespace('TVAGoogle.common.services');
TVAGoogle.common.services.DocumentLoader=function() {
TVAGoogle.common.services.DocumentLoader.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TVAGoogle.common.services.DocumentLoader.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TVAGoogle.common.services.DocumentLoader._staticInstance.get_path();},
GetReportAsHTML:function(pURL,pID,succeededCallback, failedCallback, userContext) {
/// <param name="pURL" type="String">System.String</param>
/// <param name="pID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetReportAsHTML',false,{pURL:pURL,pID:pID},succeededCallback,failedCallback,userContext); },
RegisterExportReport:function(pGuid,pContent,pRequestId,succeededCallback, failedCallback, userContext) {
/// <param name="pGuid" type="String">System.String</param>
/// <param name="pContent" type="Array">System.String[]</param>
/// <param name="pRequestId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RegisterExportReport',false,{pGuid:pGuid,pContent:pContent,pRequestId:pRequestId},succeededCallback,failedCallback,userContext); }}
TVAGoogle.common.services.DocumentLoader.registerClass('TVAGoogle.common.services.DocumentLoader',Sys.Net.WebServiceProxy);
TVAGoogle.common.services.DocumentLoader._staticInstance = new TVAGoogle.common.services.DocumentLoader();
TVAGoogle.common.services.DocumentLoader.set_path = function(value) {
TVAGoogle.common.services.DocumentLoader._staticInstance.set_path(value); }
TVAGoogle.common.services.DocumentLoader.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TVAGoogle.common.services.DocumentLoader._staticInstance.get_path();}
TVAGoogle.common.services.DocumentLoader.set_timeout = function(value) {
TVAGoogle.common.services.DocumentLoader._staticInstance.set_timeout(value); }
TVAGoogle.common.services.DocumentLoader.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TVAGoogle.common.services.DocumentLoader._staticInstance.get_timeout(); }
TVAGoogle.common.services.DocumentLoader.set_defaultUserContext = function(value) { 
TVAGoogle.common.services.DocumentLoader._staticInstance.set_defaultUserContext(value); }
TVAGoogle.common.services.DocumentLoader.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TVAGoogle.common.services.DocumentLoader._staticInstance.get_defaultUserContext(); }
TVAGoogle.common.services.DocumentLoader.set_defaultSucceededCallback = function(value) { 
 TVAGoogle.common.services.DocumentLoader._staticInstance.set_defaultSucceededCallback(value); }
TVAGoogle.common.services.DocumentLoader.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TVAGoogle.common.services.DocumentLoader._staticInstance.get_defaultSucceededCallback(); }
TVAGoogle.common.services.DocumentLoader.set_defaultFailedCallback = function(value) { 
TVAGoogle.common.services.DocumentLoader._staticInstance.set_defaultFailedCallback(value); }
TVAGoogle.common.services.DocumentLoader.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TVAGoogle.common.services.DocumentLoader._staticInstance.get_defaultFailedCallback(); }
TVAGoogle.common.services.DocumentLoader.set_path("/common/services/DocumentLoader.asmx");
TVAGoogle.common.services.DocumentLoader.GetReportAsHTML= function(pURL,pID,onSuccess,onFailed,userContext) {
/// <param name="pURL" type="String">System.String</param>
/// <param name="pID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TVAGoogle.common.services.DocumentLoader._staticInstance.GetReportAsHTML(pURL,pID,onSuccess,onFailed,userContext); }
TVAGoogle.common.services.DocumentLoader.RegisterExportReport= function(pGuid,pContent,pRequestId,onSuccess,onFailed,userContext) {
/// <param name="pGuid" type="String">System.String</param>
/// <param name="pContent" type="Array">System.String[]</param>
/// <param name="pRequestId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TVAGoogle.common.services.DocumentLoader._staticInstance.RegisterExportReport(pGuid,pContent,pRequestId,onSuccess,onFailed,userContext); }

