var ContentManageScript=function() {
ContentManageScript.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentManageScript.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ContentManageScript._staticInstance.get_path();},
RemoveComment:function(ContentNo,CommentNo,succeededCallback, failedCallback, userContext) {
/// <param name="ContentNo" type="Number">System.Int32</param>
/// <param name="CommentNo" 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(), 'RemoveComment',false,{ContentNo:ContentNo,CommentNo:CommentNo},succeededCallback,failedCallback,userContext); },
AddVote:function(contentNo,memberNo,userIP,succeededCallback, failedCallback, userContext) {
/// <param name="contentNo" type="String">System.String</param>
/// <param name="memberNo" type="String">System.String</param>
/// <param name="userIP" 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(), 'AddVote',false,{contentNo:contentNo,memberNo:memberNo,userIP:userIP},succeededCallback,failedCallback,userContext); },
SearchContent:function(SiteNo,CategoryNo,SearchWord,PageSize,PageNo,succeededCallback, failedCallback, userContext) {
/// <param name="SiteNo" type="Number">System.Int32</param>
/// <param name="CategoryNo" type="Number">System.Int32</param>
/// <param name="SearchWord" type="String">System.String</param>
/// <param name="PageSize" type="Number">System.Int32</param>
/// <param name="PageNo" 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(), 'SearchContent',false,{SiteNo:SiteNo,CategoryNo:CategoryNo,SearchWord:SearchWord,PageSize:PageSize,PageNo:PageNo},succeededCallback,failedCallback,userContext); },
SearchContent2:function(SiteNo,CategoryNo,SearchWord,PageSize,PageNo,succeededCallback, failedCallback, userContext) {
/// <param name="SiteNo" type="Number">System.Int32</param>
/// <param name="CategoryNo" type="Number">System.Int32</param>
/// <param name="SearchWord" type="String">System.String</param>
/// <param name="PageSize" type="Number">System.Int32</param>
/// <param name="PageNo" 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(), 'SearchContent2',false,{SiteNo:SiteNo,CategoryNo:CategoryNo,SearchWord:SearchWord,PageSize:PageSize,PageNo:PageNo},succeededCallback,failedCallback,userContext); },
SearchContentCount:function(SiteNo,CategoryNo,SearchWord,succeededCallback, failedCallback, userContext) {
/// <param name="SiteNo" type="Number">System.Int32</param>
/// <param name="CategoryNo" type="Number">System.Int32</param>
/// <param name="SearchWord" 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(), 'SearchContentCount',false,{SiteNo:SiteNo,CategoryNo:CategoryNo,SearchWord:SearchWord},succeededCallback,failedCallback,userContext); },
GetContentReferenceMplogPostByMplogPost:function(PostNo,succeededCallback, failedCallback, userContext) {
/// <param name="PostNo" 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(), 'GetContentReferenceMplogPostByMplogPost',false,{PostNo:PostNo},succeededCallback,failedCallback,userContext); },
ReomveContentReferenceMplogPost:function(contentNo,postNo,succeededCallback, failedCallback, userContext) {
/// <param name="contentNo" type="Number">System.Int32</param>
/// <param name="postNo" 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(), 'ReomveContentReferenceMplogPost',false,{contentNo:contentNo,postNo:postNo},succeededCallback,failedCallback,userContext); },
DeleteContent:function(contentNo,memberNo,succeededCallback, failedCallback, userContext) {
/// <param name="contentNo" type="String">System.String</param>
/// <param name="memberNo" 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(), 'DeleteContent',false,{contentNo:contentNo,memberNo:memberNo},succeededCallback,failedCallback,userContext); },
GetPageCount:function(siteNo,categoryNo,openYN,succeededCallback, failedCallback, userContext) {
/// <param name="siteNo" type="Number">System.Int32</param>
/// <param name="categoryNo" type="Number">System.Int32</param>
/// <param name="openYN" type="Boolean">System.Boolean</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(), 'GetPageCount',false,{siteNo:siteNo,categoryNo:categoryNo,openYN:openYN},succeededCallback,failedCallback,userContext); },
GetContentList:function(siteNo,pageSize,pageNo,categoryNo,openYN,TimeZoneValue1,TimeZoneValue2,TimeZoneValue3,succeededCallback, failedCallback, userContext) {
/// <param name="siteNo" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="categoryNo" type="Number">System.Int32</param>
/// <param name="openYN" type="Boolean">System.Boolean</param>
/// <param name="TimeZoneValue1" type="String">System.String</param>
/// <param name="TimeZoneValue2" type="String">System.String</param>
/// <param name="TimeZoneValue3" 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(), 'GetContentList',false,{siteNo:siteNo,pageSize:pageSize,pageNo:pageNo,categoryNo:categoryNo,openYN:openYN,TimeZoneValue1:TimeZoneValue1,TimeZoneValue2:TimeZoneValue2,TimeZoneValue3:TimeZoneValue3},succeededCallback,failedCallback,userContext); },
GetSpotTop: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(), 'GetSpotTop',false,{},succeededCallback,failedCallback,userContext); },
GetSpotList:function(CatalogNo,succeededCallback, failedCallback, userContext) {
/// <param name="CatalogNo" 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(), 'GetSpotList',false,{CatalogNo:CatalogNo},succeededCallback,failedCallback,userContext); },
GetTopStories: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(), 'GetTopStories',false,{},succeededCallback,failedCallback,userContext); },
GetTodaysWriter: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(), 'GetTodaysWriter',false,{},succeededCallback,failedCallback,userContext); }}
ContentManageScript.registerClass('ContentManageScript',Sys.Net.WebServiceProxy);
ContentManageScript._staticInstance = new ContentManageScript();
ContentManageScript.set_path = function(value) {
ContentManageScript._staticInstance.set_path(value); }
ContentManageScript.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ContentManageScript._staticInstance.get_path();}
ContentManageScript.set_timeout = function(value) {
ContentManageScript._staticInstance.set_timeout(value); }
ContentManageScript.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ContentManageScript._staticInstance.get_timeout(); }
ContentManageScript.set_defaultUserContext = function(value) { 
ContentManageScript._staticInstance.set_defaultUserContext(value); }
ContentManageScript.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ContentManageScript._staticInstance.get_defaultUserContext(); }
ContentManageScript.set_defaultSucceededCallback = function(value) { 
 ContentManageScript._staticInstance.set_defaultSucceededCallback(value); }
ContentManageScript.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ContentManageScript._staticInstance.get_defaultSucceededCallback(); }
ContentManageScript.set_defaultFailedCallback = function(value) { 
ContentManageScript._staticInstance.set_defaultFailedCallback(value); }
ContentManageScript.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ContentManageScript._staticInstance.get_defaultFailedCallback(); }
ContentManageScript.set_path("/WCGZoneWCF/ContentManageScript.svc");
ContentManageScript.RemoveComment= function(ContentNo,CommentNo,onSuccess,onFailed,userContext) {
/// <param name="ContentNo" type="Number">System.Int32</param>
/// <param name="CommentNo" 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>
ContentManageScript._staticInstance.RemoveComment(ContentNo,CommentNo,onSuccess,onFailed,userContext); }
ContentManageScript.AddVote= function(contentNo,memberNo,userIP,onSuccess,onFailed,userContext) {
/// <param name="contentNo" type="String">System.String</param>
/// <param name="memberNo" type="String">System.String</param>
/// <param name="userIP" 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>
ContentManageScript._staticInstance.AddVote(contentNo,memberNo,userIP,onSuccess,onFailed,userContext); }
ContentManageScript.SearchContent= function(SiteNo,CategoryNo,SearchWord,PageSize,PageNo,onSuccess,onFailed,userContext) {
/// <param name="SiteNo" type="Number">System.Int32</param>
/// <param name="CategoryNo" type="Number">System.Int32</param>
/// <param name="SearchWord" type="String">System.String</param>
/// <param name="PageSize" type="Number">System.Int32</param>
/// <param name="PageNo" 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>
ContentManageScript._staticInstance.SearchContent(SiteNo,CategoryNo,SearchWord,PageSize,PageNo,onSuccess,onFailed,userContext); }
ContentManageScript.SearchContent2= function(SiteNo,CategoryNo,SearchWord,PageSize,PageNo,onSuccess,onFailed,userContext) {
/// <param name="SiteNo" type="Number">System.Int32</param>
/// <param name="CategoryNo" type="Number">System.Int32</param>
/// <param name="SearchWord" type="String">System.String</param>
/// <param name="PageSize" type="Number">System.Int32</param>
/// <param name="PageNo" 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>
ContentManageScript._staticInstance.SearchContent2(SiteNo,CategoryNo,SearchWord,PageSize,PageNo,onSuccess,onFailed,userContext); }
ContentManageScript.SearchContentCount= function(SiteNo,CategoryNo,SearchWord,onSuccess,onFailed,userContext) {
/// <param name="SiteNo" type="Number">System.Int32</param>
/// <param name="CategoryNo" type="Number">System.Int32</param>
/// <param name="SearchWord" 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>
ContentManageScript._staticInstance.SearchContentCount(SiteNo,CategoryNo,SearchWord,onSuccess,onFailed,userContext); }
ContentManageScript.GetContentReferenceMplogPostByMplogPost= function(PostNo,onSuccess,onFailed,userContext) {
/// <param name="PostNo" 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>
ContentManageScript._staticInstance.GetContentReferenceMplogPostByMplogPost(PostNo,onSuccess,onFailed,userContext); }
ContentManageScript.ReomveContentReferenceMplogPost= function(contentNo,postNo,onSuccess,onFailed,userContext) {
/// <param name="contentNo" type="Number">System.Int32</param>
/// <param name="postNo" 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>
ContentManageScript._staticInstance.ReomveContentReferenceMplogPost(contentNo,postNo,onSuccess,onFailed,userContext); }
ContentManageScript.DeleteContent= function(contentNo,memberNo,onSuccess,onFailed,userContext) {
/// <param name="contentNo" type="String">System.String</param>
/// <param name="memberNo" 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>
ContentManageScript._staticInstance.DeleteContent(contentNo,memberNo,onSuccess,onFailed,userContext); }
ContentManageScript.GetPageCount= function(siteNo,categoryNo,openYN,onSuccess,onFailed,userContext) {
/// <param name="siteNo" type="Number">System.Int32</param>
/// <param name="categoryNo" type="Number">System.Int32</param>
/// <param name="openYN" type="Boolean">System.Boolean</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>
ContentManageScript._staticInstance.GetPageCount(siteNo,categoryNo,openYN,onSuccess,onFailed,userContext); }
ContentManageScript.GetContentList= function(siteNo,pageSize,pageNo,categoryNo,openYN,TimeZoneValue1,TimeZoneValue2,TimeZoneValue3,onSuccess,onFailed,userContext) {
/// <param name="siteNo" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="pageNo" type="Number">System.Int32</param>
/// <param name="categoryNo" type="Number">System.Int32</param>
/// <param name="openYN" type="Boolean">System.Boolean</param>
/// <param name="TimeZoneValue1" type="String">System.String</param>
/// <param name="TimeZoneValue2" type="String">System.String</param>
/// <param name="TimeZoneValue3" 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>
ContentManageScript._staticInstance.GetContentList(siteNo,pageSize,pageNo,categoryNo,openYN,TimeZoneValue1,TimeZoneValue2,TimeZoneValue3,onSuccess,onFailed,userContext); }
ContentManageScript.GetSpotTop= 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>
ContentManageScript._staticInstance.GetSpotTop(onSuccess,onFailed,userContext); }
ContentManageScript.GetSpotList= function(CatalogNo,onSuccess,onFailed,userContext) {
/// <param name="CatalogNo" 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>
ContentManageScript._staticInstance.GetSpotList(CatalogNo,onSuccess,onFailed,userContext); }
ContentManageScript.GetTopStories= 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>
ContentManageScript._staticInstance.GetTopStories(onSuccess,onFailed,userContext); }
ContentManageScript.GetTodaysWriter= 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>
ContentManageScript._staticInstance.GetTodaysWriter(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SearchContent) === 'undefined') {
var SearchContent=gtc("SearchContent:http://schemas.datacontract.org/2004/07/");
SearchContent.registerClass('SearchContent');
}
if (typeof(SearchContentEntity) === 'undefined') {
var SearchContentEntity=gtc("SearchContentEntity:http://schemas.datacontract.org/2004/07/");
SearchContentEntity.registerClass('SearchContentEntity');
}
if (typeof(ContentReference) === 'undefined') {
var ContentReference=gtc("ContentReference:http://schemas.datacontract.org/2004/07/");
ContentReference.registerClass('ContentReference');
}
if (typeof(IndexContent) === 'undefined') {
var IndexContent=gtc("IndexContent:http://schemas.datacontract.org/2004/07/");
IndexContent.registerClass('IndexContent');
}
if (typeof(IndexContentEntity) === 'undefined') {
var IndexContentEntity=gtc("IndexContentEntity:http://schemas.datacontract.org/2004/07/");
IndexContentEntity.registerClass('IndexContentEntity');
}
if (typeof(Catalog_Title) === 'undefined') {
var Catalog_Title=gtc("Catalog_Title:http://schemas.datacontract.org/2004/07/");
Catalog_Title.registerClass('Catalog_Title');
}
if (typeof(IndexContentTopStory) === 'undefined') {
var IndexContentTopStory=gtc("IndexContentTopStory:http://schemas.datacontract.org/2004/07/");
IndexContentTopStory.registerClass('IndexContentTopStory');
}
if (typeof(IndexContentTopEntity) === 'undefined') {
var IndexContentTopEntity=gtc("IndexContentTopEntity:http://schemas.datacontract.org/2004/07/");
IndexContentTopEntity.registerClass('IndexContentTopEntity');
}
if (typeof(IndexContentToDayWriter) === 'undefined') {
var IndexContentToDayWriter=gtc("IndexContentToDayWriter:http://schemas.datacontract.org/2004/07/");
IndexContentToDayWriter.registerClass('IndexContentToDayWriter');
}
if (typeof(IndexContentToDayWriterEntity) === 'undefined') {
var IndexContentToDayWriterEntity=gtc("IndexContentToDayWriterEntity:http://schemas.datacontract.org/2004/07/");
IndexContentToDayWriterEntity.registerClass('IndexContentToDayWriterEntity');
}
