Type.registerNamespace('MOBOT.Botanicus.Web.Services');
MOBOT.Botanicus.Web.Services.PageSummaryService=function() {
MOBOT.Botanicus.Web.Services.PageSummaryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MOBOT.Botanicus.Web.Services.PageSummaryService.prototype={
FetchPageUrl:function(pageID,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'FetchPageUrl',true,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetUBioText:function(itemID,sequence,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'GetUBioText',true,{itemID:itemID,sequence:sequence},succeededCallback,failedCallback,userContext); },
GetUBioNames:function(pageID,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'GetUBioNames',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetTropicosNameReferencesByPageID:function(pageID,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'GetTropicosNameReferencesByPageID',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetPageNames:function(pageID,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'GetPageNames',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
PageNameSearch:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'PageNameSearch',false,{name:name},succeededCallback,failedCallback,userContext); },
PageNameSelectByNameLike:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(MOBOT.Botanicus.Web.Services.PageSummaryService.get_path(), 'PageNameSelectByNameLike',false,{name:name},succeededCallback,failedCallback,userContext); }}
MOBOT.Botanicus.Web.Services.PageSummaryService.registerClass('MOBOT.Botanicus.Web.Services.PageSummaryService',Sys.Net.WebServiceProxy);
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance = new MOBOT.Botanicus.Web.Services.PageSummaryService();
MOBOT.Botanicus.Web.Services.PageSummaryService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._path = value; }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_path = function() { return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._path; }
MOBOT.Botanicus.Web.Services.PageSummaryService.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); }
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._timeout = value; }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_timeout = function() { 
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._timeout; }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_defaultUserContext = function(value) { 
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._userContext = value; }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_defaultUserContext = function() { 
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._userContext; }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._succeeded = value; }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_defaultSucceededCallback = function() { 
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._succeeded; }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._failed = value; }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_defaultFailedCallback = function() { 
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance._failed; }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_path("/Services/PageSummaryService.asmx");
MOBOT.Botanicus.Web.Services.PageSummaryService.FetchPageUrl= function(pageID,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.FetchPageUrl(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetUBioText= function(itemID,sequence,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetUBioText(itemID,sequence,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetUBioNames= function(pageID,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetUBioNames(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetTropicosNameReferencesByPageID= function(pageID,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetTropicosNameReferencesByPageID(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetPageNames= function(pageID,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetPageNames(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.PageNameSearch= function(name,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.PageNameSearch(name,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.PageNameSelectByNameLike= function(name,onSuccess,onFailed,userContext) {MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.PageNameSelectByNameLike(name,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MOBOT.Botanicus.DataObjects');
if (typeof(MOBOT.Botanicus.DataObjects.FindItItem) === 'undefined') {
MOBOT.Botanicus.DataObjects.FindItItem=gtc("MOBOT.Botanicus.DataObjects.FindItItem");
MOBOT.Botanicus.DataObjects.FindItItem.registerClass('MOBOT.Botanicus.DataObjects.FindItItem');
}
if (typeof(MOBOT.Botanicus.DataObjects.TropicosNameReference) === 'undefined') {
MOBOT.Botanicus.DataObjects.TropicosNameReference=gtc("MOBOT.Botanicus.DataObjects.TropicosNameReference");
MOBOT.Botanicus.DataObjects.TropicosNameReference.registerClass('MOBOT.Botanicus.DataObjects.TropicosNameReference');
}
Type.registerNamespace('BotanicusDataObjects');
if (typeof(BotanicusDataObjects.PageNameMarkup) === 'undefined') {
BotanicusDataObjects.PageNameMarkup=gtc("BotanicusDataObjects.PageNameMarkup");
BotanicusDataObjects.PageNameMarkup.registerClass('BotanicusDataObjects.PageNameMarkup');
}
if (typeof(MOBOT.Botanicus.DataObjects.NameSearchResult) === 'undefined') {
MOBOT.Botanicus.DataObjects.NameSearchResult=gtc("MOBOT.Botanicus.DataObjects.NameSearchResult");
MOBOT.Botanicus.DataObjects.NameSearchResult.registerClass('MOBOT.Botanicus.DataObjects.NameSearchResult');
}
if (typeof(MOBOT.Botanicus.DataObjects.PageName) === 'undefined') {
MOBOT.Botanicus.DataObjects.PageName=gtc("MOBOT.Botanicus.DataObjects.PageName");
MOBOT.Botanicus.DataObjects.PageName.registerClass('MOBOT.Botanicus.DataObjects.PageName');
}
