Type.registerNamespace('Microsoft.CoolWall.WebApplication.Services');
Microsoft.CoolWall.WebApplication.Services.CoolWallService=function() {
Microsoft.CoolWall.WebApplication.Services.CoolWallService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Microsoft.CoolWall.WebApplication.Services.CoolWallService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.get_path();},
SearchMSNLive:function(searchTerm,liveId,succeededCallback, failedCallback, userContext) {
/// <param name="searchTerm" type="String">System.String</param>
/// <param name="liveId" 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(), 'SearchMSNLive',false,{searchTerm:searchTerm,liveId:liveId},succeededCallback,failedCallback,userContext); },
GetUser:function(liveId,succeededCallback, failedCallback, userContext) {
/// <param name="liveId" 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(), 'GetUser',false,{liveId:liveId},succeededCallback,failedCallback,userContext); },
GetCoolWallList:function(liveId,succeededCallback, failedCallback, userContext) {
/// <param name="liveId" 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(), 'GetCoolWallList',false,{liveId:liveId},succeededCallback,failedCallback,userContext); },
GetCoolWall:function(guid,liveId,succeededCallback, failedCallback, userContext) {
/// <param name="guid" type="String">System.String</param>
/// <param name="liveId" 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(), 'GetCoolWall',false,{guid:guid,liveId:liveId},succeededCallback,failedCallback,userContext); },
Save:function(entityWall,succeededCallback, failedCallback, userContext) {
/// <param name="entityWall" type="Microsoft.CoolWall.WebApplication.Services.CoolWallEntity">Microsoft.CoolWall.WebApplication.Services.CoolWallEntity</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(), 'Save',false,{entityWall:entityWall},succeededCallback,failedCallback,userContext); },
SaveTemp:function(entityWall,succeededCallback, failedCallback, userContext) {
/// <param name="entityWall" type="Microsoft.CoolWall.WebApplication.Services.CoolWallEntity">Microsoft.CoolWall.WebApplication.Services.CoolWallEntity</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(), 'SaveTemp',false,{entityWall:entityWall},succeededCallback,failedCallback,userContext); },
SaveTempToDatabase:function(user,succeededCallback, failedCallback, userContext) {
/// <param name="user" type="Microsoft.CoolWall.WebApplication.Services.UserEntity">Microsoft.CoolWall.WebApplication.Services.UserEntity</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(), 'SaveTempToDatabase',false,{user:user},succeededCallback,failedCallback,userContext); },
DeleteCoolWall:function(liveId,guid,succeededCallback, failedCallback, userContext) {
/// <param name="liveId" type="String">System.String</param>
/// <param name="guid" 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(), 'DeleteCoolWall',false,{liveId:liveId,guid:guid},succeededCallback,failedCallback,userContext); },
GetLoginUrl: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(), 'GetLoginUrl',false,{},succeededCallback,failedCallback,userContext); },
GetLogoutUrl: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(), 'GetLogoutUrl',false,{},succeededCallback,failedCallback,userContext); },
SendEmail:function(fromName,emailTo,body,url,succeededCallback, failedCallback, userContext) {
/// <param name="fromName" type="String">System.String</param>
/// <param name="emailTo" type="String">System.String</param>
/// <param name="body" type="String">System.String</param>
/// <param name="url" 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(), 'SendEmail',false,{fromName:fromName,emailTo:emailTo,body:body,url:url},succeededCallback,failedCallback,userContext); }}
Microsoft.CoolWall.WebApplication.Services.CoolWallService.registerClass('Microsoft.CoolWall.WebApplication.Services.CoolWallService',Sys.Net.WebServiceProxy);
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance = new Microsoft.CoolWall.WebApplication.Services.CoolWallService();
Microsoft.CoolWall.WebApplication.Services.CoolWallService.set_path = function(value) {
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.set_path(value); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.get_path();}
Microsoft.CoolWall.WebApplication.Services.CoolWallService.set_timeout = function(value) {
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.set_timeout(value); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.get_timeout(); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.set_defaultUserContext = function(value) { 
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.set_defaultUserContext(value); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.get_defaultUserContext(); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.set_defaultSucceededCallback = function(value) { 
 Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.set_defaultSucceededCallback(value); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.get_defaultSucceededCallback(); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.set_defaultFailedCallback = function(value) { 
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.set_defaultFailedCallback(value); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.get_defaultFailedCallback(); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.set_path("/services/CoolWallService.asmx");
Microsoft.CoolWall.WebApplication.Services.CoolWallService.SearchMSNLive= function(searchTerm,liveId,onSuccess,onFailed,userContext) {
/// <param name="searchTerm" type="String">System.String</param>
/// <param name="liveId" 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.SearchMSNLive(searchTerm,liveId,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.GetUser= function(liveId,onSuccess,onFailed,userContext) {
/// <param name="liveId" 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.GetUser(liveId,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.GetCoolWallList= function(liveId,onSuccess,onFailed,userContext) {
/// <param name="liveId" 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.GetCoolWallList(liveId,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.GetCoolWall= function(guid,liveId,onSuccess,onFailed,userContext) {
/// <param name="guid" type="String">System.String</param>
/// <param name="liveId" 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.GetCoolWall(guid,liveId,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.Save= function(entityWall,onSuccess,onFailed,userContext) {
/// <param name="entityWall" type="Microsoft.CoolWall.WebApplication.Services.CoolWallEntity">Microsoft.CoolWall.WebApplication.Services.CoolWallEntity</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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.Save(entityWall,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.SaveTemp= function(entityWall,onSuccess,onFailed,userContext) {
/// <param name="entityWall" type="Microsoft.CoolWall.WebApplication.Services.CoolWallEntity">Microsoft.CoolWall.WebApplication.Services.CoolWallEntity</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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.SaveTemp(entityWall,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.SaveTempToDatabase= function(user,onSuccess,onFailed,userContext) {
/// <param name="user" type="Microsoft.CoolWall.WebApplication.Services.UserEntity">Microsoft.CoolWall.WebApplication.Services.UserEntity</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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.SaveTempToDatabase(user,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.DeleteCoolWall= function(liveId,guid,onSuccess,onFailed,userContext) {
/// <param name="liveId" type="String">System.String</param>
/// <param name="guid" 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.DeleteCoolWall(liveId,guid,onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.GetLoginUrl= 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.GetLoginUrl(onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.GetLogoutUrl= 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.GetLogoutUrl(onSuccess,onFailed,userContext); }
Microsoft.CoolWall.WebApplication.Services.CoolWallService.SendEmail= function(fromName,emailTo,body,url,onSuccess,onFailed,userContext) {
/// <param name="fromName" type="String">System.String</param>
/// <param name="emailTo" type="String">System.String</param>
/// <param name="body" type="String">System.String</param>
/// <param name="url" 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>
Microsoft.CoolWall.WebApplication.Services.CoolWallService._staticInstance.SendEmail(fromName,emailTo,body,url,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Microsoft.CoolWall.WebApplication.Services.ImageEntity) === 'undefined') {
Microsoft.CoolWall.WebApplication.Services.ImageEntity=gtc("Microsoft.CoolWall.WebApplication.Services.ImageEntity");
Microsoft.CoolWall.WebApplication.Services.ImageEntity.registerClass('Microsoft.CoolWall.WebApplication.Services.ImageEntity');
}
if (typeof(Microsoft.CoolWall.WebApplication.Services.UserEntity) === 'undefined') {
Microsoft.CoolWall.WebApplication.Services.UserEntity=gtc("Microsoft.CoolWall.WebApplication.Services.UserEntity");
Microsoft.CoolWall.WebApplication.Services.UserEntity.registerClass('Microsoft.CoolWall.WebApplication.Services.UserEntity');
}
if (typeof(Microsoft.CoolWall.WebApplication.Services.CoolWallEntity) === 'undefined') {
Microsoft.CoolWall.WebApplication.Services.CoolWallEntity=gtc("Microsoft.CoolWall.WebApplication.Services.CoolWallEntity");
Microsoft.CoolWall.WebApplication.Services.CoolWallEntity.registerClass('Microsoft.CoolWall.WebApplication.Services.CoolWallEntity');
}
