var Tables=function() {
Tables.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Tables.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Tables._staticInstance.get_path();},
CallWebService:function(cmdCode,objName,arguments,succeededCallback, failedCallback, userContext) {
/// <param name="cmdCode" type="String">System.String</param>
/// <param name="objName" type="String">System.String</param>
/// <param name="arguments" type="Object">System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</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(), 'CallWebService',false,{cmdCode:cmdCode,objName:objName,arguments:arguments},succeededCallback,failedCallback,userContext); },
BatchCallWebService:function(batch,succeededCallback, failedCallback, userContext) {
/// <param name="batch" type="Array">System.Collections.Hashtable[]</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(), 'BatchCallWebService',false,{batch:batch},succeededCallback,failedCallback,userContext); },
LoadDefaultValues:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'LoadDefaultValues',false,{},succeededCallback,failedCallback,userContext); },
SendTestMail:function(bodyPlainText,bodyHtml,sbj,succeededCallback, failedCallback, userContext) {
/// <param name="bodyPlainText" type="String">System.String</param>
/// <param name="bodyHtml" type="String">System.String</param>
/// <param name="sbj" 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(), 'SendTestMail',false,{bodyPlainText:bodyPlainText,bodyHtml:bodyHtml,sbj:sbj},succeededCallback,failedCallback,userContext); },
SendMassMail:function(messID,listsIDs,excludeListsIDs,succeededCallback, failedCallback, userContext) {
/// <param name="messID" type="String">System.String</param>
/// <param name="listsIDs" type="String">System.String</param>
/// <param name="excludeListsIDs" 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(), 'SendMassMail',false,{messID:messID,listsIDs:listsIDs,excludeListsIDs:excludeListsIDs},succeededCallback,failedCallback,userContext); }}
Tables.registerClass('Tables',Sys.Net.WebServiceProxy);
Tables._staticInstance = new Tables();
Tables.set_path = function(value) {
Tables._staticInstance.set_path(value); }
Tables.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Tables._staticInstance.get_path();}
Tables.set_timeout = function(value) {
Tables._staticInstance.set_timeout(value); }
Tables.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Tables._staticInstance.get_timeout(); }
Tables.set_defaultUserContext = function(value) { 
Tables._staticInstance.set_defaultUserContext(value); }
Tables.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Tables._staticInstance.get_defaultUserContext(); }
Tables.set_defaultSucceededCallback = function(value) { 
 Tables._staticInstance.set_defaultSucceededCallback(value); }
Tables.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Tables._staticInstance.get_defaultSucceededCallback(); }
Tables.set_defaultFailedCallback = function(value) { 
Tables._staticInstance.set_defaultFailedCallback(value); }
Tables.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Tables._staticInstance.get_defaultFailedCallback(); }
Tables.set_path("/Tables.asmx");
Tables.CallWebService= function(cmdCode,objName,arguments,onSuccess,onFailed,userContext) {
/// <param name="cmdCode" type="String">System.String</param>
/// <param name="objName" type="String">System.String</param>
/// <param name="arguments" type="Object">System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</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>
Tables._staticInstance.CallWebService(cmdCode,objName,arguments,onSuccess,onFailed,userContext); }
Tables.BatchCallWebService= function(batch,onSuccess,onFailed,userContext) {
/// <param name="batch" type="Array">System.Collections.Hashtable[]</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>
Tables._staticInstance.BatchCallWebService(batch,onSuccess,onFailed,userContext); }
Tables.LoadDefaultValues= function(onSuccess,onFailed,userContext) {
/// <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>
Tables._staticInstance.LoadDefaultValues(onSuccess,onFailed,userContext); }
Tables.SendTestMail= function(bodyPlainText,bodyHtml,sbj,onSuccess,onFailed,userContext) {
/// <param name="bodyPlainText" type="String">System.String</param>
/// <param name="bodyHtml" type="String">System.String</param>
/// <param name="sbj" 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>
Tables._staticInstance.SendTestMail(bodyPlainText,bodyHtml,sbj,onSuccess,onFailed,userContext); }
Tables.SendMassMail= function(messID,listsIDs,excludeListsIDs,onSuccess,onFailed,userContext) {
/// <param name="messID" type="String">System.String</param>
/// <param name="listsIDs" type="String">System.String</param>
/// <param name="excludeListsIDs" 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>
Tables._staticInstance.SendMassMail(messID,listsIDs,excludeListsIDs,onSuccess,onFailed,userContext); }
