Type.registerNamespace('tinna.Core.Soap');
tinna.Core.Soap.FrontEnd=function() {
tinna.Core.Soap.FrontEnd.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
tinna.Core.Soap.FrontEnd.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return tinna.Core.Soap.FrontEnd._staticInstance.get_path();},
Menu:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Menu',false,{},succeededCallback,failedCallback,userContext); },
Login:function(user,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Login',false,{user:user,password:password},succeededCallback,failedCallback,userContext); },
Logout:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Logout',false,{},succeededCallback,failedCallback,userContext); },
GetCaptcha:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCaptcha',false,{},succeededCallback,failedCallback,userContext); },
GetNewsList:function(catId,page,itemsPerPage,ascending,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsList',false,{catId:catId,page:page,itemsPerPage:itemsPerPage,ascending:ascending},succeededCallback,failedCallback,userContext); },
GetNewsItem:function(artId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsItem',false,{artId:artId},succeededCallback,failedCallback,userContext); },
GetNewsForEdit:function(artId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewsForEdit',false,{artId:artId},succeededCallback,failedCallback,userContext); },
EditBlog:function(headline,htmltext,previewtext,newsId,catId,online,offline,eventdate,author,position,related,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditBlog',false,{headline:headline,htmltext:htmltext,previewtext:previewtext,newsId:newsId,catId:catId,online:online,offline:offline,eventdate:eventdate,author:author,position:position,related:related},succeededCallback,failedCallback,userContext); },
Blog:function(title,author,summary,content,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Blog',false,{title:title,author:author,summary:summary,content:content,category:category},succeededCallback,failedCallback,userContext); },
GetCategories:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategories',false,{},succeededCallback,failedCallback,userContext); },
ecWebLogin:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ecWebLogin',false,{},succeededCallback,failedCallback,userContext); },
GetThreads:function(newsId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetThreads',false,{newsId:newsId},succeededCallback,failedCallback,userContext); },
GetPosts:function(threadId,admin,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPosts',false,{threadId:threadId,admin:admin},succeededCallback,failedCallback,userContext); },
PostComment:function(newsId,newsTitle,author,email,content,threadId,hash,captcha,reply,replyId,replyEmail,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostComment',false,{newsId:newsId,newsTitle:newsTitle,author:author,email:email,content:content,threadId:threadId,hash:hash,captcha:captcha,reply:reply,replyId:replyId,replyEmail:replyEmail},succeededCallback,failedCallback,userContext); },
UpdateComment:function(newsId,subject,content,postId,user,email,approve,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateComment',false,{newsId:newsId,subject:subject,content:content,postId:postId,user:user,email:email,approve:approve},succeededCallback,failedCallback,userContext); },
GetImageCloud:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetImageCloud',false,{},succeededCallback,failedCallback,userContext); },
GetGalleries:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGalleries',false,{},succeededCallback,failedCallback,userContext); },
LimitImages:function(limit,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LimitImages',false,{limit:limit},succeededCallback,failedCallback,userContext); },
CreateImageXml:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateImageXml',false,{},succeededCallback,failedCallback,userContext); },
GetGallery:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGallery',false,{url:url},succeededCallback,failedCallback,userContext); },
UpdateGallery:function(galleryName,galleryTitle,imgUrls,imgNames,imgTags,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateGallery',false,{galleryName:galleryName,galleryTitle:galleryTitle,imgUrls:imgUrls,imgNames:imgNames,imgTags:imgTags},succeededCallback,failedCallback,userContext); },
DeleteNode:function(nodeName,nodeValue,optionalValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteNode',false,{nodeName:nodeName,nodeValue:nodeValue,optionalValue:optionalValue},succeededCallback,failedCallback,userContext); },
CreateThumbnails:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateThumbnails',false,{},succeededCallback,failedCallback,userContext); }}
tinna.Core.Soap.FrontEnd.registerClass('tinna.Core.Soap.FrontEnd',Sys.Net.WebServiceProxy);
tinna.Core.Soap.FrontEnd._staticInstance = new tinna.Core.Soap.FrontEnd();
tinna.Core.Soap.FrontEnd.set_path = function(value) { tinna.Core.Soap.FrontEnd._staticInstance.set_path(value); }
tinna.Core.Soap.FrontEnd.get_path = function() { return tinna.Core.Soap.FrontEnd._staticInstance.get_path(); }
tinna.Core.Soap.FrontEnd.set_timeout = function(value) { tinna.Core.Soap.FrontEnd._staticInstance.set_timeout(value); }
tinna.Core.Soap.FrontEnd.get_timeout = function() { return tinna.Core.Soap.FrontEnd._staticInstance.get_timeout(); }
tinna.Core.Soap.FrontEnd.set_defaultUserContext = function(value) { tinna.Core.Soap.FrontEnd._staticInstance.set_defaultUserContext(value); }
tinna.Core.Soap.FrontEnd.get_defaultUserContext = function() { return tinna.Core.Soap.FrontEnd._staticInstance.get_defaultUserContext(); }
tinna.Core.Soap.FrontEnd.set_defaultSucceededCallback = function(value) { tinna.Core.Soap.FrontEnd._staticInstance.set_defaultSucceededCallback(value); }
tinna.Core.Soap.FrontEnd.get_defaultSucceededCallback = function() { return tinna.Core.Soap.FrontEnd._staticInstance.get_defaultSucceededCallback(); }
tinna.Core.Soap.FrontEnd.set_defaultFailedCallback = function(value) { tinna.Core.Soap.FrontEnd._staticInstance.set_defaultFailedCallback(value); }
tinna.Core.Soap.FrontEnd.get_defaultFailedCallback = function() { return tinna.Core.Soap.FrontEnd._staticInstance.get_defaultFailedCallback(); }
tinna.Core.Soap.FrontEnd.set_path("/tinna/upload/files/templates/soap/FrontEnd.asmx");
tinna.Core.Soap.FrontEnd.Menu= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.Menu(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.Login= function(user,password,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.Login(user,password,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.Logout= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.Logout(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetCaptcha= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetCaptcha(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetNewsList= function(catId,page,itemsPerPage,ascending,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetNewsList(catId,page,itemsPerPage,ascending,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetNewsItem= function(artId,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetNewsItem(artId,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetNewsForEdit= function(artId,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetNewsForEdit(artId,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.EditBlog= function(headline,htmltext,previewtext,newsId,catId,online,offline,eventdate,author,position,related,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.EditBlog(headline,htmltext,previewtext,newsId,catId,online,offline,eventdate,author,position,related,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.Blog= function(title,author,summary,content,category,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.Blog(title,author,summary,content,category,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetCategories= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetCategories(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.ecWebLogin= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.ecWebLogin(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetThreads= function(newsId,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetThreads(newsId,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetPosts= function(threadId,admin,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetPosts(threadId,admin,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.PostComment= function(newsId,newsTitle,author,email,content,threadId,hash,captcha,reply,replyId,replyEmail,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.PostComment(newsId,newsTitle,author,email,content,threadId,hash,captcha,reply,replyId,replyEmail,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.UpdateComment= function(newsId,subject,content,postId,user,email,approve,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.UpdateComment(newsId,subject,content,postId,user,email,approve,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetImageCloud= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetImageCloud(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetGalleries= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetGalleries(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.LimitImages= function(limit,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.LimitImages(limit,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.CreateImageXml= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.CreateImageXml(onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.GetGallery= function(url,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.GetGallery(url,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.UpdateGallery= function(galleryName,galleryTitle,imgUrls,imgNames,imgTags,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.UpdateGallery(galleryName,galleryTitle,imgUrls,imgNames,imgTags,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.DeleteNode= function(nodeName,nodeValue,optionalValue,onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.DeleteNode(nodeName,nodeValue,optionalValue,onSuccess,onFailed,userContext); }
tinna.Core.Soap.FrontEnd.CreateThumbnails= function(onSuccess,onFailed,userContext) {tinna.Core.Soap.FrontEnd._staticInstance.CreateThumbnails(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('tinna.Core');
if (typeof(tinna.Core.Category) === 'undefined') {
tinna.Core.Category=gtc("tinna.Core.Category");
tinna.Core.Category.registerClass('tinna.Core.Category');
}
if (typeof(tinna.Core.Gallery) === 'undefined') {
tinna.Core.Gallery=gtc("tinna.Core.Gallery");
tinna.Core.Gallery.registerClass('tinna.Core.Gallery');
}
if (typeof(tinna.Core.Image) === 'undefined') {
tinna.Core.Image=gtc("tinna.Core.Image");
tinna.Core.Image.registerClass('tinna.Core.Image');
}
