Type.registerNamespace('VoilaTech.Web');
VoilaTech.Web.SiteWebService=function() {
VoilaTech.Web.SiteWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VoilaTech.Web.SiteWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VoilaTech.Web.SiteWebService._staticInstance.get_path();},
CategoryGet:function(context,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CategoryGet',false,{context:context},succeededCallback,failedCallback,userContext); },
TestHello:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TestHello',false,{},succeededCallback,failedCallback,userContext); },
NewsletterInsert:function(username,email,htmlInd,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NewsletterInsert',false,{username:username,email:email,htmlInd:htmlInd},succeededCallback,failedCallback,userContext); },
NewsletterDelete:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NewsletterDelete',false,{email:email},succeededCallback,failedCallback,userContext); },
UserDelete:function(userName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UserDelete',false,{userName:userName},succeededCallback,failedCallback,userContext); },
SendMessage:function(msg,frm,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMessage',false,{msg:msg,frm:frm},succeededCallback,failedCallback,userContext); },
MessageInsert:function(messageType,sectionId,username,messageText,textColor,receiver,chatterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MessageInsert',false,{messageType:messageType,sectionId:sectionId,username:username,messageText:messageText,textColor:textColor,receiver:receiver,chatterType:chatterType},succeededCallback,failedCallback,userContext); },
ChatCtrlGetData:function(sectionId,username,chatterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChatCtrlGetData',false,{sectionId:sectionId,username:username,chatterType:chatterType},succeededCallback,failedCallback,userContext); },
ChatCtrlClear:function(sectionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChatCtrlClear',false,{sectionId:sectionId},succeededCallback,failedCallback,userContext); },
ChatterDelete:function(sectionId,username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChatterDelete',false,{sectionId:sectionId,username:username},succeededCallback,failedCallback,userContext); },
MapData:function(categoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MapData',false,{categoryId:categoryId},succeededCallback,failedCallback,userContext); },
GetPointData:function(categoryId,ULLat,ULLon,LRLat,LRLon,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPointData',false,{categoryId:categoryId,ULLat:ULLat,ULLon:ULLon,LRLat:LRLat,LRLon:LRLon},succeededCallback,failedCallback,userContext); }}
VoilaTech.Web.SiteWebService.registerClass('VoilaTech.Web.SiteWebService',Sys.Net.WebServiceProxy);
VoilaTech.Web.SiteWebService._staticInstance = new VoilaTech.Web.SiteWebService();
VoilaTech.Web.SiteWebService.set_path = function(value) { VoilaTech.Web.SiteWebService._staticInstance.set_path(value); }
VoilaTech.Web.SiteWebService.get_path = function() { return VoilaTech.Web.SiteWebService._staticInstance.get_path(); }
VoilaTech.Web.SiteWebService.set_timeout = function(value) { VoilaTech.Web.SiteWebService._staticInstance.set_timeout(value); }
VoilaTech.Web.SiteWebService.get_timeout = function() { return VoilaTech.Web.SiteWebService._staticInstance.get_timeout(); }
VoilaTech.Web.SiteWebService.set_defaultUserContext = function(value) { VoilaTech.Web.SiteWebService._staticInstance.set_defaultUserContext(value); }
VoilaTech.Web.SiteWebService.get_defaultUserContext = function() { return VoilaTech.Web.SiteWebService._staticInstance.get_defaultUserContext(); }
VoilaTech.Web.SiteWebService.set_defaultSucceededCallback = function(value) { VoilaTech.Web.SiteWebService._staticInstance.set_defaultSucceededCallback(value); }
VoilaTech.Web.SiteWebService.get_defaultSucceededCallback = function() { return VoilaTech.Web.SiteWebService._staticInstance.get_defaultSucceededCallback(); }
VoilaTech.Web.SiteWebService.set_defaultFailedCallback = function(value) { VoilaTech.Web.SiteWebService._staticInstance.set_defaultFailedCallback(value); }
VoilaTech.Web.SiteWebService.get_defaultFailedCallback = function() { return VoilaTech.Web.SiteWebService._staticInstance.get_defaultFailedCallback(); }
VoilaTech.Web.SiteWebService.set_path("/SiteWebService.asmx");
VoilaTech.Web.SiteWebService.CategoryGet= function(context,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.CategoryGet(context,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.TestHello= function(onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.TestHello(onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.NewsletterInsert= function(username,email,htmlInd,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.NewsletterInsert(username,email,htmlInd,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.NewsletterDelete= function(email,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.NewsletterDelete(email,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.UserDelete= function(userName,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.UserDelete(userName,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.SendMessage= function(msg,frm,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.SendMessage(msg,frm,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.MessageInsert= function(messageType,sectionId,username,messageText,textColor,receiver,chatterType,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.MessageInsert(messageType,sectionId,username,messageText,textColor,receiver,chatterType,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.ChatCtrlGetData= function(sectionId,username,chatterType,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.ChatCtrlGetData(sectionId,username,chatterType,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.ChatCtrlClear= function(sectionId,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.ChatCtrlClear(sectionId,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.ChatterDelete= function(sectionId,username,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.ChatterDelete(sectionId,username,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.MapData= function(categoryId,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.MapData(categoryId,onSuccess,onFailed,userContext); }
VoilaTech.Web.SiteWebService.GetPointData= function(categoryId,ULLat,ULLon,LRLat,LRLon,onSuccess,onFailed,userContext) {VoilaTech.Web.SiteWebService._staticInstance.GetPointData(categoryId,ULLat,ULLon,LRLat,LRLon,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(VoilaTech.Web.MapData) === 'undefined') {
VoilaTech.Web.MapData=gtc("VoilaTech.Web.MapData");
VoilaTech.Web.MapData.registerClass('VoilaTech.Web.MapData');
}
if (typeof(VoilaTech.Web.PointData) === 'undefined') {
VoilaTech.Web.PointData=gtc("VoilaTech.Web.PointData");
VoilaTech.Web.PointData.registerClass('VoilaTech.Web.PointData');
}
Type.registerNamespace('VoilaTech.Site.BLL');
if (typeof(VoilaTech.Site.BLL.MessageTypeEnum) === 'undefined') {
VoilaTech.Site.BLL.MessageTypeEnum = function() { throw Error.invalidOperation(); }
VoilaTech.Site.BLL.MessageTypeEnum.prototype = {PublicChat: 0,PrivateChat: 1,GuestChat: 2,ModeratorChat: 3,Email: 4}
VoilaTech.Site.BLL.MessageTypeEnum.registerEnum('VoilaTech.Site.BLL.MessageTypeEnum', true);
}
if (typeof(VoilaTech.Site.BLL.ChatterTypeEnum) === 'undefined') {
VoilaTech.Site.BLL.ChatterTypeEnum = function() { throw Error.invalidOperation(); }
VoilaTech.Site.BLL.ChatterTypeEnum.prototype = {Admin: 0,Subscriber: 1,Guest: 2}
VoilaTech.Site.BLL.ChatterTypeEnum.registerEnum('VoilaTech.Site.BLL.ChatterTypeEnum', true);
}
