Type.registerNamespace('Stardock.Web.Blogs');
Stardock.Web.Blogs.CacheService=function() {
Stardock.Web.Blogs.CacheService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Stardock.Web.Blogs.CacheService.prototype={
StubServiceResultCode:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'StubServiceResultCode',false,{},succeededCallback,failedCallback,userContext); },
FreeUserPosts:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'FreeUserPosts',false,{},succeededCallback,failedCallback,userContext); },
FreePost:function(postId,succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'FreePost',false,{postId:postId},succeededCallback,failedCallback,userContext); },
FreePostAdminList:function(userId,succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'FreePostAdminList',false,{userId:userId},succeededCallback,failedCallback,userContext); },
FreeReplyList:function(postId,page,succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'FreeReplyList',false,{postId:postId,page:page},succeededCallback,failedCallback,userContext); },
FreeBlogrollListCache:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'FreeBlogrollListCache',false,{},succeededCallback,failedCallback,userContext); },
FreeBlacklist:function(accountId,succeededCallback, failedCallback, userContext) {
return this._invoke(Stardock.Web.Blogs.CacheService.get_path(), 'FreeBlacklist',false,{accountId:accountId},succeededCallback,failedCallback,userContext); }}
Stardock.Web.Blogs.CacheService.registerClass('Stardock.Web.Blogs.CacheService',Sys.Net.WebServiceProxy);
Stardock.Web.Blogs.CacheService._staticInstance = new Stardock.Web.Blogs.CacheService();
Stardock.Web.Blogs.CacheService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Stardock.Web.Blogs.CacheService._staticInstance._path = value; }
Stardock.Web.Blogs.CacheService.get_path = function() { return Stardock.Web.Blogs.CacheService._staticInstance._path; }
Stardock.Web.Blogs.CacheService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Stardock.Web.Blogs.CacheService._staticInstance._timeout = value; }
Stardock.Web.Blogs.CacheService.get_timeout = function() { 
return Stardock.Web.Blogs.CacheService._staticInstance._timeout; }
Stardock.Web.Blogs.CacheService.set_defaultUserContext = function(value) { 
Stardock.Web.Blogs.CacheService._staticInstance._userContext = value; }
Stardock.Web.Blogs.CacheService.get_defaultUserContext = function() { 
return Stardock.Web.Blogs.CacheService._staticInstance._userContext; }
Stardock.Web.Blogs.CacheService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Stardock.Web.Blogs.CacheService._staticInstance._succeeded = value; }
Stardock.Web.Blogs.CacheService.get_defaultSucceededCallback = function() { 
return Stardock.Web.Blogs.CacheService._staticInstance._succeeded; }
Stardock.Web.Blogs.CacheService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Stardock.Web.Blogs.CacheService._staticInstance._failed = value; }
Stardock.Web.Blogs.CacheService.get_defaultFailedCallback = function() { 
return Stardock.Web.Blogs.CacheService._staticInstance._failed; }
Stardock.Web.Blogs.CacheService.set_path("/ws/Cache.asmx");
Stardock.Web.Blogs.CacheService.StubServiceResultCode= function(onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.StubServiceResultCode(onSuccess,onFailed,userContext); }
Stardock.Web.Blogs.CacheService.FreeUserPosts= function(onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.FreeUserPosts(onSuccess,onFailed,userContext); }
Stardock.Web.Blogs.CacheService.FreePost= function(postId,onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.FreePost(postId,onSuccess,onFailed,userContext); }
Stardock.Web.Blogs.CacheService.FreePostAdminList= function(userId,onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.FreePostAdminList(userId,onSuccess,onFailed,userContext); }
Stardock.Web.Blogs.CacheService.FreeReplyList= function(postId,page,onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.FreeReplyList(postId,page,onSuccess,onFailed,userContext); }
Stardock.Web.Blogs.CacheService.FreeBlogrollListCache= function(onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.FreeBlogrollListCache(onSuccess,onFailed,userContext); }
Stardock.Web.Blogs.CacheService.FreeBlacklist= function(accountId,onSuccess,onFailed,userContext) {Stardock.Web.Blogs.CacheService._staticInstance.FreeBlacklist(accountId,onSuccess,onFailed,userContext); }
Type.registerNamespace('Stardock.Web.UI.Services');
if (typeof(Stardock.Web.UI.Services.ServiceResultCode) === 'undefined') {
Stardock.Web.UI.Services.ServiceResultCode = function() { throw Error.invalidOperation(); }
Stardock.Web.UI.Services.ServiceResultCode.prototype = {Success: 0,Failure: 1,Exists: 2,Banned: 3,BadAccount: 4,BadAuth: 5,BadData: 6,Blacklisted: 7}
Stardock.Web.UI.Services.ServiceResultCode.registerEnum('Stardock.Web.UI.Services.ServiceResultCode', true);
}
