Type.registerNamespace('TM');
TM.BlogService=function() {
TM.BlogService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TM.BlogService.prototype={
GetBlog:function(blogid,succeededCallback, failedCallback, userContext) {
return this._invoke(TM.BlogService.get_path(), 'GetBlog',false,{blogid:blogid},succeededCallback,failedCallback,userContext); },
GetBlogEntry:function(blogid,blogentryid,succeededCallback, failedCallback, userContext) {
return this._invoke(TM.BlogService.get_path(), 'GetBlogEntry',false,{blogid:blogid,blogentryid:blogentryid},succeededCallback,failedCallback,userContext); },
SaveBlogEntry:function(blogid,blogentryid,rubrik,text,ort,citat,tags,imagestodelete,succeededCallback, failedCallback, userContext) {
return this._invoke(TM.BlogService.get_path(), 'SaveBlogEntry',false,{blogid:blogid,blogentryid:blogentryid,rubrik:rubrik,text:text,ort:ort,citat:citat,tags:tags,imagestodelete:imagestodelete},succeededCallback,failedCallback,userContext); },
DeleteBlogEntry:function(blogid,blogentryid,succeededCallback, failedCallback, userContext) {
return this._invoke(TM.BlogService.get_path(), 'DeleteBlogEntry',false,{blogid:blogid,blogentryid:blogentryid},succeededCallback,failedCallback,userContext); },
SaveBlog:function(blogid,rubrik,text,birth,motto,url,username,succeededCallback, failedCallback, userContext) {
return this._invoke(TM.BlogService.get_path(), 'SaveBlog',false,{blogid:blogid,rubrik:rubrik,text:text,birth:birth,motto:motto,url:url,username:username},succeededCallback,failedCallback,userContext); },
CheckBlogOwner:function(blogid,succeededCallback, failedCallback, userContext) {
return this._invoke(TM.BlogService.get_path(), 'CheckBlogOwner',false,{blogid:blogid},succeededCallback,failedCallback,userContext); }}
TM.BlogService.registerClass('TM.BlogService',Sys.Net.WebServiceProxy);
TM.BlogService._staticInstance = new TM.BlogService();
TM.BlogService.set_path = function(value) { TM.BlogService._staticInstance._path = value; }
TM.BlogService.get_path = function() { return TM.BlogService._staticInstance._path; }
TM.BlogService.set_timeout = function(value) { TM.BlogService._staticInstance._timeout = value; }
TM.BlogService.get_timeout = function() { return TM.BlogService._staticInstance._timeout; }
TM.BlogService.set_defaultUserContext = function(value) { TM.BlogService._staticInstance._userContext = value; }
TM.BlogService.get_defaultUserContext = function() { return TM.BlogService._staticInstance._userContext; }
TM.BlogService.set_defaultSucceededCallback = function(value) { TM.BlogService._staticInstance._succeeded = value; }
TM.BlogService.get_defaultSucceededCallback = function() { return TM.BlogService._staticInstance._succeeded; }
TM.BlogService.set_defaultFailedCallback = function(value) { TM.BlogService._staticInstance._failed = value; }
TM.BlogService.get_defaultFailedCallback = function() { return TM.BlogService._staticInstance._failed; }
TM.BlogService.set_path("/e2wc/ws/BlogService.asmx");
TM.BlogService.GetBlog= function(blogid,onSuccess,onFailed,userContext) {TM.BlogService._staticInstance.GetBlog(blogid,onSuccess,onFailed,userContext); }
TM.BlogService.GetBlogEntry= function(blogid,blogentryid,onSuccess,onFailed,userContext) {TM.BlogService._staticInstance.GetBlogEntry(blogid,blogentryid,onSuccess,onFailed,userContext); }
TM.BlogService.SaveBlogEntry= function(blogid,blogentryid,rubrik,text,ort,citat,tags,imagestodelete,onSuccess,onFailed,userContext) {TM.BlogService._staticInstance.SaveBlogEntry(blogid,blogentryid,rubrik,text,ort,citat,tags,imagestodelete,onSuccess,onFailed,userContext); }
TM.BlogService.DeleteBlogEntry= function(blogid,blogentryid,onSuccess,onFailed,userContext) {TM.BlogService._staticInstance.DeleteBlogEntry(blogid,blogentryid,onSuccess,onFailed,userContext); }
TM.BlogService.SaveBlog= function(blogid,rubrik,text,birth,motto,url,username,onSuccess,onFailed,userContext) {TM.BlogService._staticInstance.SaveBlog(blogid,rubrik,text,birth,motto,url,username,onSuccess,onFailed,userContext); }
TM.BlogService.CheckBlogOwner= function(blogid,onSuccess,onFailed,userContext) {TM.BlogService._staticInstance.CheckBlogOwner(blogid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Teknomedia.EdgeII.WebServices');
if (typeof(Teknomedia.EdgeII.WebServices.Result) === 'undefined') {
Teknomedia.EdgeII.WebServices.Result=gtc("Teknomedia.EdgeII.WebServices.Result");
Teknomedia.EdgeII.WebServices.Result.registerClass('Teknomedia.EdgeII.WebServices.Result');
}
