var WCFContent=function() {
WCFContent.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WCFContent.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WCFContent._staticInstance.get_path();},
DoWork: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(), 'DoWork',false,{},succeededCallback,failedCallback,userContext); },
JSON_getTrArticleList:function(moduleCode,subModuleCode,page,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="page" 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(), 'JSON_getTrArticleList',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,page:page},succeededCallback,failedCallback,userContext); },
JSON_getTrDesignerList:function(moduleCode,init,subModuleCode,page,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="init" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="page" 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(), 'JSON_getTrDesignerList',false,{moduleCode:moduleCode,init:init,subModuleCode:subModuleCode,page:page},succeededCallback,failedCallback,userContext); },
JSON_getTrGalleryListByDay:function(from,day,page,succeededCallback, failedCallback, userContext) {
/// <param name="from" type="String">System.String</param>
/// <param name="day" type="String">System.String</param>
/// <param name="page" 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(), 'JSON_getTrGalleryListByDay',false,{from:from,day:day,page:page},succeededCallback,failedCallback,userContext); },
JSON_getTrGalleryListByDesigner:function(from,init,page,succeededCallback, failedCallback, userContext) {
/// <param name="from" type="String">System.String</param>
/// <param name="init" type="String">System.String</param>
/// <param name="page" 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(), 'JSON_getTrGalleryListByDesigner',false,{from:from,init:init,page:page},succeededCallback,failedCallback,userContext); },
JSON_getTrGalleryListByTheme:function(from,tema,page,succeededCallback, failedCallback, userContext) {
/// <param name="from" type="String">System.String</param>
/// <param name="tema" type="String">System.String</param>
/// <param name="page" 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(), 'JSON_getTrGalleryListByTheme',false,{from:from,tema:tema,page:page},succeededCallback,failedCallback,userContext); },
JSON_getTrSlideShowDesigner:function(ar,page,succeededCallback, failedCallback, userContext) {
/// <param name="ar" type="String">System.String</param>
/// <param name="page" 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(), 'JSON_getTrSlideShowDesigner',false,{ar:ar,page:page},succeededCallback,failedCallback,userContext); },
JSON_getTrSlideShowHome:function(page,succeededCallback, failedCallback, userContext) {
/// <param name="page" 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(), 'JSON_getTrSlideShowHome',false,{page:page},succeededCallback,failedCallback,userContext); },
JSON_emailSubscribe:function(email,succeededCallback, failedCallback, userContext) {
/// <param name="email" 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(), 'JSON_emailSubscribe',false,{email:email},succeededCallback,failedCallback,userContext); },
JSON_cakMemberRegCaptcha:function(text,succeededCallback, failedCallback, userContext) {
/// <param name="text" 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(), 'JSON_cakMemberRegCaptcha',false,{text:text},succeededCallback,failedCallback,userContext); },
JSON_postComment:function(blogLoginName,blogRef,name,email,comment,succeededCallback, failedCallback, userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="comment" 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(), 'JSON_postComment',false,{blogLoginName:blogLoginName,blogRef:blogRef,name:name,email:email,comment:comment},succeededCallback,failedCallback,userContext); },
JSON_loadComment:function(blogLoginName,blogRef,succeededCallback, failedCallback, userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" 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(), 'JSON_loadComment',false,{blogLoginName:blogLoginName,blogRef:blogRef},succeededCallback,failedCallback,userContext); },
JSON_deleteComment:function(blogLoginName,blogRef,commentRef,succeededCallback, failedCallback, userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" type="String">System.String</param>
/// <param name="commentRef" 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(), 'JSON_deleteComment',false,{blogLoginName:blogLoginName,blogRef:blogRef,commentRef:commentRef},succeededCallback,failedCallback,userContext); },
JSON_deleteBlog:function(blogLoginName,blogRef,succeededCallback, failedCallback, userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" 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(), 'JSON_deleteBlog',false,{blogLoginName:blogLoginName,blogRef:blogRef},succeededCallback,failedCallback,userContext); }}
WCFContent.registerClass('WCFContent',Sys.Net.WebServiceProxy);
WCFContent._staticInstance = new WCFContent();
WCFContent.set_path = function(value) {
WCFContent._staticInstance.set_path(value); }
WCFContent.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WCFContent._staticInstance.get_path();}
WCFContent.set_timeout = function(value) {
WCFContent._staticInstance.set_timeout(value); }
WCFContent.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WCFContent._staticInstance.get_timeout(); }
WCFContent.set_defaultUserContext = function(value) { 
WCFContent._staticInstance.set_defaultUserContext(value); }
WCFContent.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WCFContent._staticInstance.get_defaultUserContext(); }
WCFContent.set_defaultSucceededCallback = function(value) { 
 WCFContent._staticInstance.set_defaultSucceededCallback(value); }
WCFContent.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WCFContent._staticInstance.get_defaultSucceededCallback(); }
WCFContent.set_defaultFailedCallback = function(value) { 
WCFContent._staticInstance.set_defaultFailedCallback(value); }
WCFContent.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WCFContent._staticInstance.get_defaultFailedCallback(); }
WCFContent.set_path("/EN/sysServices/WCFContent.svc");
WCFContent.DoWork= 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>
WCFContent._staticInstance.DoWork(onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrArticleList= function(moduleCode,subModuleCode,page,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrArticleList(moduleCode,subModuleCode,page,onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrDesignerList= function(moduleCode,init,subModuleCode,page,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="init" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrDesignerList(moduleCode,init,subModuleCode,page,onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrGalleryListByDay= function(from,day,page,onSuccess,onFailed,userContext) {
/// <param name="from" type="String">System.String</param>
/// <param name="day" type="String">System.String</param>
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrGalleryListByDay(from,day,page,onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrGalleryListByDesigner= function(from,init,page,onSuccess,onFailed,userContext) {
/// <param name="from" type="String">System.String</param>
/// <param name="init" type="String">System.String</param>
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrGalleryListByDesigner(from,init,page,onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrGalleryListByTheme= function(from,tema,page,onSuccess,onFailed,userContext) {
/// <param name="from" type="String">System.String</param>
/// <param name="tema" type="String">System.String</param>
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrGalleryListByTheme(from,tema,page,onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrSlideShowDesigner= function(ar,page,onSuccess,onFailed,userContext) {
/// <param name="ar" type="String">System.String</param>
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrSlideShowDesigner(ar,page,onSuccess,onFailed,userContext); }
WCFContent.JSON_getTrSlideShowHome= function(page,onSuccess,onFailed,userContext) {
/// <param name="page" 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>
WCFContent._staticInstance.JSON_getTrSlideShowHome(page,onSuccess,onFailed,userContext); }
WCFContent.JSON_emailSubscribe= function(email,onSuccess,onFailed,userContext) {
/// <param name="email" 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>
WCFContent._staticInstance.JSON_emailSubscribe(email,onSuccess,onFailed,userContext); }
WCFContent.JSON_cakMemberRegCaptcha= function(text,onSuccess,onFailed,userContext) {
/// <param name="text" 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>
WCFContent._staticInstance.JSON_cakMemberRegCaptcha(text,onSuccess,onFailed,userContext); }
WCFContent.JSON_postComment= function(blogLoginName,blogRef,name,email,comment,onSuccess,onFailed,userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="comment" 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>
WCFContent._staticInstance.JSON_postComment(blogLoginName,blogRef,name,email,comment,onSuccess,onFailed,userContext); }
WCFContent.JSON_loadComment= function(blogLoginName,blogRef,onSuccess,onFailed,userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" 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>
WCFContent._staticInstance.JSON_loadComment(blogLoginName,blogRef,onSuccess,onFailed,userContext); }
WCFContent.JSON_deleteComment= function(blogLoginName,blogRef,commentRef,onSuccess,onFailed,userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" type="String">System.String</param>
/// <param name="commentRef" 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>
WCFContent._staticInstance.JSON_deleteComment(blogLoginName,blogRef,commentRef,onSuccess,onFailed,userContext); }
WCFContent.JSON_deleteBlog= function(blogLoginName,blogRef,onSuccess,onFailed,userContext) {
/// <param name="blogLoginName" type="String">System.String</param>
/// <param name="blogRef" 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>
WCFContent._staticInstance.JSON_deleteBlog(blogLoginName,blogRef,onSuccess,onFailed,userContext); }

