var WCFOthers=function() {
WCFOthers.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WCFOthers.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WCFOthers._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_PhotoCompetition:function(albumCategory,succeededCallback, failedCallback, userContext) {
/// <param name="albumCategory" 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_PhotoCompetition',false,{albumCategory:albumCategory},succeededCallback,failedCallback,userContext); },
JSON_albumGadis:function(albumCategory,succeededCallback, failedCallback, userContext) {
/// <param name="albumCategory" 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_albumGadis',false,{albumCategory:albumCategory},succeededCallback,failedCallback,userContext); },
JSON_insertPolling:function(pollingRef,optionRef,succeededCallback, failedCallback, userContext) {
/// <param name="pollingRef" type="String">System.String</param>
/// <param name="optionRef" 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_insertPolling',false,{pollingRef:pollingRef,optionRef:optionRef},succeededCallback,failedCallback,userContext); },
JSON_insertTrArticleComment:function(moduleCode,subModuleCode,articleRef,comment,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="articleRef" 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_insertTrArticleComment',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,articleRef:articleRef,comment:comment},succeededCallback,failedCallback,userContext); },
JSON_getTrArticleCommentList:function(moduleCode,subModuleCode,articleRef,page,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="articleRef" 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_getTrArticleCommentList',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,articleRef:articleRef,page:page},succeededCallback,failedCallback,userContext); },
JSON_insertTrArticleSTF:function(moduleCode,subModuleCode,articleRef,friendEmail,friendMsg,URL,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="articleRef" type="String">System.String</param>
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendMsg" type="String">System.String</param>
/// <param name="URL" 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_insertTrArticleSTF',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,articleRef:articleRef,friendEmail:friendEmail,friendMsg:friendMsg,URL:URL},succeededCallback,failedCallback,userContext); },
JSON_checkEmail:function(txtEmail,succeededCallback, failedCallback, userContext) {
/// <param name="txtEmail" 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_checkEmail',false,{txtEmail:txtEmail},succeededCallback,failedCallback,userContext); },
JSON_insertEmailToNewsletter:function(txtEmail,succeededCallback, failedCallback, userContext) {
/// <param name="txtEmail" 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_insertEmailToNewsletter',false,{txtEmail:txtEmail},succeededCallback,failedCallback,userContext); },
JSON_deleteEmailToNewsletter:function(txtEmail,succeededCallback, failedCallback, userContext) {
/// <param name="txtEmail" 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_deleteEmailToNewsletter',false,{txtEmail:txtEmail},succeededCallback,failedCallback,userContext); },
JSON_insertTrAlbumSTF:function(albumRef,friendEmail,friendMsg,URL,succeededCallback, failedCallback, userContext) {
/// <param name="albumRef" type="String">System.String</param>
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendMsg" type="String">System.String</param>
/// <param name="URL" 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_insertTrAlbumSTF',false,{albumRef:albumRef,friendEmail:friendEmail,friendMsg:friendMsg,URL:URL},succeededCallback,failedCallback,userContext); },
JSON_insertTrAlbumMemberSTF:function(screenName,albumCode,albumRef,friendEmail,friendMsg,URL,succeededCallback, failedCallback, userContext) {
/// <param name="screenName" type="String">System.String</param>
/// <param name="albumCode" type="String">System.String</param>
/// <param name="albumRef" type="String">System.String</param>
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendMsg" type="String">System.String</param>
/// <param name="URL" 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_insertTrAlbumMemberSTF',false,{screenName:screenName,albumCode:albumCode,albumRef:albumRef,friendEmail:friendEmail,friendMsg:friendMsg,URL:URL},succeededCallback,failedCallback,userContext); },
JSON_doZodiak:function(moduleCode,subModuleCode,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" 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_doZodiak',false,{moduleCode:moduleCode,subModuleCode:subModuleCode},succeededCallback,failedCallback,userContext); },
JSON_getContentYear:function(moduleCode,subModuleCode,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" 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_getContentYear',false,{moduleCode:moduleCode,subModuleCode:subModuleCode},succeededCallback,failedCallback,userContext); },
JSON_getContentMonth:function(moduleCode,subModuleCode,year,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="year" 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(), 'JSON_getContentMonth',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,year:year},succeededCallback,failedCallback,userContext); },
JSON_getContentDay:function(moduleCode,subModuleCode,year,month,succeededCallback, failedCallback, userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" 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(), 'JSON_getContentDay',false,{moduleCode:moduleCode,subModuleCode:subModuleCode,year:year,month:month},succeededCallback,failedCallback,userContext); }}
WCFOthers.registerClass('WCFOthers',Sys.Net.WebServiceProxy);
WCFOthers._staticInstance = new WCFOthers();
WCFOthers.set_path = function(value) {
WCFOthers._staticInstance.set_path(value); }
WCFOthers.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WCFOthers._staticInstance.get_path();}
WCFOthers.set_timeout = function(value) {
WCFOthers._staticInstance.set_timeout(value); }
WCFOthers.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WCFOthers._staticInstance.get_timeout(); }
WCFOthers.set_defaultUserContext = function(value) { 
WCFOthers._staticInstance.set_defaultUserContext(value); }
WCFOthers.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WCFOthers._staticInstance.get_defaultUserContext(); }
WCFOthers.set_defaultSucceededCallback = function(value) { 
 WCFOthers._staticInstance.set_defaultSucceededCallback(value); }
WCFOthers.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WCFOthers._staticInstance.get_defaultSucceededCallback(); }
WCFOthers.set_defaultFailedCallback = function(value) { 
WCFOthers._staticInstance.set_defaultFailedCallback(value); }
WCFOthers.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WCFOthers._staticInstance.get_defaultFailedCallback(); }
WCFOthers.set_path("/sysServices/others/WCFOthers.svc");
WCFOthers.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>
WCFOthers._staticInstance.DoWork(onSuccess,onFailed,userContext); }
WCFOthers.JSON_PhotoCompetition= function(albumCategory,onSuccess,onFailed,userContext) {
/// <param name="albumCategory" 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>
WCFOthers._staticInstance.JSON_PhotoCompetition(albumCategory,onSuccess,onFailed,userContext); }
WCFOthers.JSON_albumGadis= function(albumCategory,onSuccess,onFailed,userContext) {
/// <param name="albumCategory" 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>
WCFOthers._staticInstance.JSON_albumGadis(albumCategory,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertPolling= function(pollingRef,optionRef,onSuccess,onFailed,userContext) {
/// <param name="pollingRef" type="String">System.String</param>
/// <param name="optionRef" 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>
WCFOthers._staticInstance.JSON_insertPolling(pollingRef,optionRef,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertTrArticleComment= function(moduleCode,subModuleCode,articleRef,comment,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="articleRef" 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>
WCFOthers._staticInstance.JSON_insertTrArticleComment(moduleCode,subModuleCode,articleRef,comment,onSuccess,onFailed,userContext); }
WCFOthers.JSON_getTrArticleCommentList= function(moduleCode,subModuleCode,articleRef,page,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="articleRef" 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>
WCFOthers._staticInstance.JSON_getTrArticleCommentList(moduleCode,subModuleCode,articleRef,page,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertTrArticleSTF= function(moduleCode,subModuleCode,articleRef,friendEmail,friendMsg,URL,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="articleRef" type="String">System.String</param>
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendMsg" type="String">System.String</param>
/// <param name="URL" 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>
WCFOthers._staticInstance.JSON_insertTrArticleSTF(moduleCode,subModuleCode,articleRef,friendEmail,friendMsg,URL,onSuccess,onFailed,userContext); }
WCFOthers.JSON_checkEmail= function(txtEmail,onSuccess,onFailed,userContext) {
/// <param name="txtEmail" 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>
WCFOthers._staticInstance.JSON_checkEmail(txtEmail,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertEmailToNewsletter= function(txtEmail,onSuccess,onFailed,userContext) {
/// <param name="txtEmail" 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>
WCFOthers._staticInstance.JSON_insertEmailToNewsletter(txtEmail,onSuccess,onFailed,userContext); }
WCFOthers.JSON_deleteEmailToNewsletter= function(txtEmail,onSuccess,onFailed,userContext) {
/// <param name="txtEmail" 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>
WCFOthers._staticInstance.JSON_deleteEmailToNewsletter(txtEmail,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertTrAlbumSTF= function(albumRef,friendEmail,friendMsg,URL,onSuccess,onFailed,userContext) {
/// <param name="albumRef" type="String">System.String</param>
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendMsg" type="String">System.String</param>
/// <param name="URL" 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>
WCFOthers._staticInstance.JSON_insertTrAlbumSTF(albumRef,friendEmail,friendMsg,URL,onSuccess,onFailed,userContext); }
WCFOthers.JSON_insertTrAlbumMemberSTF= function(screenName,albumCode,albumRef,friendEmail,friendMsg,URL,onSuccess,onFailed,userContext) {
/// <param name="screenName" type="String">System.String</param>
/// <param name="albumCode" type="String">System.String</param>
/// <param name="albumRef" type="String">System.String</param>
/// <param name="friendEmail" type="String">System.String</param>
/// <param name="friendMsg" type="String">System.String</param>
/// <param name="URL" 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>
WCFOthers._staticInstance.JSON_insertTrAlbumMemberSTF(screenName,albumCode,albumRef,friendEmail,friendMsg,URL,onSuccess,onFailed,userContext); }
WCFOthers.JSON_doZodiak= function(moduleCode,subModuleCode,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" 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>
WCFOthers._staticInstance.JSON_doZodiak(moduleCode,subModuleCode,onSuccess,onFailed,userContext); }
WCFOthers.JSON_getContentYear= function(moduleCode,subModuleCode,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" 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>
WCFOthers._staticInstance.JSON_getContentYear(moduleCode,subModuleCode,onSuccess,onFailed,userContext); }
WCFOthers.JSON_getContentMonth= function(moduleCode,subModuleCode,year,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="year" 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>
WCFOthers._staticInstance.JSON_getContentMonth(moduleCode,subModuleCode,year,onSuccess,onFailed,userContext); }
WCFOthers.JSON_getContentDay= function(moduleCode,subModuleCode,year,month,onSuccess,onFailed,userContext) {
/// <param name="moduleCode" type="String">System.String</param>
/// <param name="subModuleCode" type="String">System.String</param>
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" 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>
WCFOthers._staticInstance.JSON_getContentDay(moduleCode,subModuleCode,year,month,onSuccess,onFailed,userContext); }
