Type.registerNamespace('BOS.Web.Services');
BOS.Web.Services.BOS=function() {
BOS.Web.Services.BOS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BOS.Web.Services.BOS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BOS.Web.Services.BOS._staticInstance.get_path();},
GetTree:function(blogId,level,succeededCallback, failedCallback, userContext) {
/// <param name="blogId" type="Number">System.Int32</param>
/// <param name="level" type="Number">System.Int32</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(), 'GetTree',false,{blogId:blogId,level:level},succeededCallback,failedCallback,userContext); },
GetBlogConnection:function(fromBlogUrl,fromBlogId,toBlogId,succeededCallback, failedCallback, userContext) {
/// <param name="fromBlogUrl" type="String">System.String</param>
/// <param name="fromBlogId" type="Number">System.Int32</param>
/// <param name="toBlogId" type="Number">System.Int32</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(), 'GetBlogConnection',false,{fromBlogUrl:fromBlogUrl,fromBlogId:fromBlogId,toBlogId:toBlogId},succeededCallback,failedCallback,userContext); },
GetBlogLinksDisplay:function(blogId,succeededCallback, failedCallback, userContext) {
/// <param name="blogId" type="Number">System.Int32</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(), 'GetBlogLinksDisplay',false,{blogId:blogId},succeededCallback,failedCallback,userContext); },
GetWidgetText:function(widgetType,textColor,borderColor,backgroundColor,blogId,blog,toBlog,succeededCallback, failedCallback, userContext) {
/// <param name="widgetType" type="Number">System.Int32</param>
/// <param name="textColor" type="String">System.String</param>
/// <param name="borderColor" type="String">System.String</param>
/// <param name="backgroundColor" type="String">System.String</param>
/// <param name="blogId" type="Number">System.Int32</param>
/// <param name="blog" type="String">System.String</param>
/// <param name="toBlog" 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(), 'GetWidgetText',false,{widgetType:widgetType,textColor:textColor,borderColor:borderColor,backgroundColor:backgroundColor,blogId:blogId,blog:blog,toBlog:toBlog},succeededCallback,failedCallback,userContext); }}
BOS.Web.Services.BOS.registerClass('BOS.Web.Services.BOS',Sys.Net.WebServiceProxy);
BOS.Web.Services.BOS._staticInstance = new BOS.Web.Services.BOS();
BOS.Web.Services.BOS.set_path = function(value) {
BOS.Web.Services.BOS._staticInstance.set_path(value); }
BOS.Web.Services.BOS.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return BOS.Web.Services.BOS._staticInstance.get_path();}
BOS.Web.Services.BOS.set_timeout = function(value) {
BOS.Web.Services.BOS._staticInstance.set_timeout(value); }
BOS.Web.Services.BOS.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return BOS.Web.Services.BOS._staticInstance.get_timeout(); }
BOS.Web.Services.BOS.set_defaultUserContext = function(value) { 
BOS.Web.Services.BOS._staticInstance.set_defaultUserContext(value); }
BOS.Web.Services.BOS.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return BOS.Web.Services.BOS._staticInstance.get_defaultUserContext(); }
BOS.Web.Services.BOS.set_defaultSucceededCallback = function(value) { 
 BOS.Web.Services.BOS._staticInstance.set_defaultSucceededCallback(value); }
BOS.Web.Services.BOS.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return BOS.Web.Services.BOS._staticInstance.get_defaultSucceededCallback(); }
BOS.Web.Services.BOS.set_defaultFailedCallback = function(value) { 
BOS.Web.Services.BOS._staticInstance.set_defaultFailedCallback(value); }
BOS.Web.Services.BOS.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return BOS.Web.Services.BOS._staticInstance.get_defaultFailedCallback(); }
BOS.Web.Services.BOS.set_path("/services/BOS.asmx");
BOS.Web.Services.BOS.GetTree= function(blogId,level,onSuccess,onFailed,userContext) {
/// <param name="blogId" type="Number">System.Int32</param>
/// <param name="level" type="Number">System.Int32</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>
BOS.Web.Services.BOS._staticInstance.GetTree(blogId,level,onSuccess,onFailed,userContext); }
BOS.Web.Services.BOS.GetBlogConnection= function(fromBlogUrl,fromBlogId,toBlogId,onSuccess,onFailed,userContext) {
/// <param name="fromBlogUrl" type="String">System.String</param>
/// <param name="fromBlogId" type="Number">System.Int32</param>
/// <param name="toBlogId" type="Number">System.Int32</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>
BOS.Web.Services.BOS._staticInstance.GetBlogConnection(fromBlogUrl,fromBlogId,toBlogId,onSuccess,onFailed,userContext); }
BOS.Web.Services.BOS.GetBlogLinksDisplay= function(blogId,onSuccess,onFailed,userContext) {
/// <param name="blogId" type="Number">System.Int32</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>
BOS.Web.Services.BOS._staticInstance.GetBlogLinksDisplay(blogId,onSuccess,onFailed,userContext); }
BOS.Web.Services.BOS.GetWidgetText= function(widgetType,textColor,borderColor,backgroundColor,blogId,blog,toBlog,onSuccess,onFailed,userContext) {
/// <param name="widgetType" type="Number">System.Int32</param>
/// <param name="textColor" type="String">System.String</param>
/// <param name="borderColor" type="String">System.String</param>
/// <param name="backgroundColor" type="String">System.String</param>
/// <param name="blogId" type="Number">System.Int32</param>
/// <param name="blog" type="String">System.String</param>
/// <param name="toBlog" 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>
BOS.Web.Services.BOS._staticInstance.GetWidgetText(widgetType,textColor,borderColor,backgroundColor,blogId,blog,toBlog,onSuccess,onFailed,userContext); }
