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={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_path();},
FetchPageUrl:function(pageID,succeededCallback, failedCallback, userContext) {
/// <param name="pageID" 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(), 'FetchPageUrl',true,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetUBioText:function(itemID,sequence,succeededCallback, failedCallback, userContext) {
/// <param name="itemID" type="Number">System.Int32</param>
/// <param name="sequence" 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(), 'GetUBioText',true,{itemID:itemID,sequence:sequence},succeededCallback,failedCallback,userContext); },
GetUBioNames:function(pageID,succeededCallback, failedCallback, userContext) {
/// <param name="pageID" 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(), 'GetUBioNames',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetTropicosNameReferencesByPageID:function(pageID,succeededCallback, failedCallback, userContext) {
/// <param name="pageID" 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(), 'GetTropicosNameReferencesByPageID',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetPageNames:function(pageID,succeededCallback, failedCallback, userContext) {
/// <param name="pageID" 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(), 'GetPageNames',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
PageNameSearch:function(name,succeededCallback, failedCallback, userContext) {
/// <param name="name" 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(), 'PageNameSearch',false,{name:name},succeededCallback,failedCallback,userContext); },
PageNameSelectByNameLike:function(name,succeededCallback, failedCallback, userContext) {
/// <param name="name" 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(), '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) {
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_path(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_path();}
MOBOT.Botanicus.Web.Services.PageSummaryService.set_timeout = function(value) {
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_timeout(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_timeout(); }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_defaultUserContext = function(value) { 
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_defaultUserContext(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_defaultUserContext(); }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_defaultSucceededCallback = function(value) { 
 MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_defaultSucceededCallback(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_defaultSucceededCallback(); }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_defaultFailedCallback = function(value) { 
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_defaultFailedCallback(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_defaultFailedCallback(); }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_enableJsonp = function(value) { MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_enableJsonp(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_enableJsonp(); }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_jsonpCallbackParameter = function(value) { MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.set_jsonpCallbackParameter(value); }
MOBOT.Botanicus.Web.Services.PageSummaryService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.get_jsonpCallbackParameter(); }
MOBOT.Botanicus.Web.Services.PageSummaryService.set_path("/Services/PageSummaryService.asmx");
MOBOT.Botanicus.Web.Services.PageSummaryService.FetchPageUrl= function(pageID,onSuccess,onFailed,userContext) {
/// <param name="pageID" 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>
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.FetchPageUrl(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetUBioText= function(itemID,sequence,onSuccess,onFailed,userContext) {
/// <param name="itemID" type="Number">System.Int32</param>
/// <param name="sequence" 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>
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetUBioText(itemID,sequence,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetUBioNames= function(pageID,onSuccess,onFailed,userContext) {
/// <param name="pageID" 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>
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetUBioNames(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetTropicosNameReferencesByPageID= function(pageID,onSuccess,onFailed,userContext) {
/// <param name="pageID" 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>
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetTropicosNameReferencesByPageID(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.GetPageNames= function(pageID,onSuccess,onFailed,userContext) {
/// <param name="pageID" 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>
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.GetPageNames(pageID,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.PageNameSearch= function(name,onSuccess,onFailed,userContext) {
/// <param name="name" 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>
MOBOT.Botanicus.Web.Services.PageSummaryService._staticInstance.PageNameSearch(name,onSuccess,onFailed,userContext); }
MOBOT.Botanicus.Web.Services.PageSummaryService.PageNameSelectByNameLike= function(name,onSuccess,onFailed,userContext) {
/// <param name="name" 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>
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');
}

