Type.registerNamespace('BibleStudyTools.Site');
BibleStudyTools.Site.CMSService=function() {
BibleStudyTools.Site.CMSService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BibleStudyTools.Site.CMSService.prototype={
GetFinderDevotionals:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderDevotionals',false,{},succeededCallback,failedCallback,userContext); },
GetFinderDevotionalArticles:function(publicationId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderDevotionalArticles',false,{publicationId:publicationId},succeededCallback,failedCallback,userContext); },
GetDevotionalArticle:function(articleId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetDevotionalArticle',false,{articleId:articleId},succeededCallback,failedCallback,userContext); },
GetFinderBibleStudyGroups:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderBibleStudyGroups',false,{},succeededCallback,failedCallback,userContext); },
GetFinderBibleStudyTopics:function(groupName,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderBibleStudyTopics',false,{groupName:groupName},succeededCallback,failedCallback,userContext); },
GetReferenceDocumentByTitle:function(section,searchtype,searchtext,panelnumber,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetReferenceDocumentByTitle',false,{section:section,searchtype:searchtype,searchtext:searchtext,panelnumber:panelnumber},succeededCallback,failedCallback,userContext); },
GetReferenceDocument:function(articleId,panelnumber,section,title,number,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetReferenceDocument',false,{articleId:articleId,panelnumber:panelnumber,section:section,title:title,number:number},succeededCallback,failedCallback,userContext); },
GetStrongsDocument:function(translationId,bookCode,strongNumber,panelNumber,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetStrongsDocument',false,{translationId:translationId,bookCode:bookCode,strongNumber:strongNumber,panelNumber:panelNumber},succeededCallback,failedCallback,userContext); },
GetLibraryDocument:function(articleId,documentType,panelnumber,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetLibraryDocument',false,{articleId:articleId,documentType:documentType,panelnumber:panelnumber},succeededCallback,failedCallback,userContext); },
GetCMSArticle:function(articleId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetCMSArticle',false,{articleId:articleId},succeededCallback,failedCallback,userContext); },
GetFinderArticleList:function(publicationId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderArticleList',false,{publicationId:publicationId},succeededCallback,failedCallback,userContext); },
GetFinderStudyResources:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderStudyResources',false,{},succeededCallback,failedCallback,userContext); },
GetFinderStudyResourcesArticles:function(publicationId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderStudyResourcesArticles',false,{publicationId:publicationId},succeededCallback,failedCallback,userContext); },
GetFinderBSTHelps:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderBSTHelps',false,{},succeededCallback,failedCallback,userContext); },
GetFinderBSTHelpArticles:function(publicationId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderBSTHelpArticles',false,{publicationId:publicationId},succeededCallback,failedCallback,userContext); },
GetFinderBSTFAQs:function(succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderBSTFAQs',false,{},succeededCallback,failedCallback,userContext); },
GetFinderBSTFAQArticles:function(publicationId,succeededCallback, failedCallback, userContext) {
return this._invoke(BibleStudyTools.Site.CMSService.get_path(), 'GetFinderBSTFAQArticles',false,{publicationId:publicationId},succeededCallback,failedCallback,userContext); }}
BibleStudyTools.Site.CMSService.registerClass('BibleStudyTools.Site.CMSService',Sys.Net.WebServiceProxy);
BibleStudyTools.Site.CMSService._staticInstance = new BibleStudyTools.Site.CMSService();
BibleStudyTools.Site.CMSService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; BibleStudyTools.Site.CMSService._staticInstance._path = value; }
BibleStudyTools.Site.CMSService.get_path = function() { return BibleStudyTools.Site.CMSService._staticInstance._path; }
BibleStudyTools.Site.CMSService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
BibleStudyTools.Site.CMSService._staticInstance._timeout = value; }
BibleStudyTools.Site.CMSService.get_timeout = function() { 
return BibleStudyTools.Site.CMSService._staticInstance._timeout; }
BibleStudyTools.Site.CMSService.set_defaultUserContext = function(value) { 
BibleStudyTools.Site.CMSService._staticInstance._userContext = value; }
BibleStudyTools.Site.CMSService.get_defaultUserContext = function() { 
return BibleStudyTools.Site.CMSService._staticInstance._userContext; }
BibleStudyTools.Site.CMSService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; BibleStudyTools.Site.CMSService._staticInstance._succeeded = value; }
BibleStudyTools.Site.CMSService.get_defaultSucceededCallback = function() { 
return BibleStudyTools.Site.CMSService._staticInstance._succeeded; }
BibleStudyTools.Site.CMSService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; BibleStudyTools.Site.CMSService._staticInstance._failed = value; }
BibleStudyTools.Site.CMSService.get_defaultFailedCallback = function() { 
return BibleStudyTools.Site.CMSService._staticInstance._failed; }
BibleStudyTools.Site.CMSService.set_path("/SiteInfo/WebServices/CMSService.asmx");
BibleStudyTools.Site.CMSService.GetFinderDevotionals= function(onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderDevotionals(onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderDevotionalArticles= function(publicationId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderDevotionalArticles(publicationId,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetDevotionalArticle= function(articleId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetDevotionalArticle(articleId,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderBibleStudyGroups= function(onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderBibleStudyGroups(onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderBibleStudyTopics= function(groupName,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderBibleStudyTopics(groupName,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetReferenceDocumentByTitle= function(section,searchtype,searchtext,panelnumber,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetReferenceDocumentByTitle(section,searchtype,searchtext,panelnumber,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetReferenceDocument= function(articleId,panelnumber,section,title,number,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetReferenceDocument(articleId,panelnumber,section,title,number,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetStrongsDocument= function(translationId,bookCode,strongNumber,panelNumber,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetStrongsDocument(translationId,bookCode,strongNumber,panelNumber,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetLibraryDocument= function(articleId,documentType,panelnumber,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetLibraryDocument(articleId,documentType,panelnumber,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetCMSArticle= function(articleId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetCMSArticle(articleId,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderArticleList= function(publicationId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderArticleList(publicationId,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderStudyResources= function(onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderStudyResources(onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderStudyResourcesArticles= function(publicationId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderStudyResourcesArticles(publicationId,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderBSTHelps= function(onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderBSTHelps(onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderBSTHelpArticles= function(publicationId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderBSTHelpArticles(publicationId,onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderBSTFAQs= function(onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderBSTFAQs(onSuccess,onFailed,userContext); }
BibleStudyTools.Site.CMSService.GetFinderBSTFAQArticles= function(publicationId,onSuccess,onFailed,userContext) {BibleStudyTools.Site.CMSService._staticInstance.GetFinderBSTFAQArticles(publicationId,onSuccess,onFailed,userContext); }
