Type.registerNamespace('GeneticTools');
GeneticTools.GeneticToolsService=function() {
GeneticTools.GeneticToolsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GeneticTools.GeneticToolsService.prototype={
SireSearch:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneticTools.GeneticToolsService.get_path(), 'SireSearch',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
DamSearch:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneticTools.GeneticToolsService.get_path(), 'DamSearch',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GoatSearch:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneticTools.GeneticToolsService.get_path(), 'GoatSearch',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); }}
GeneticTools.GeneticToolsService.registerClass('GeneticTools.GeneticToolsService',Sys.Net.WebServiceProxy);
GeneticTools.GeneticToolsService._staticInstance = new GeneticTools.GeneticToolsService();
GeneticTools.GeneticToolsService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GeneticTools.GeneticToolsService._staticInstance._path = value; }
GeneticTools.GeneticToolsService.get_path = function() { return GeneticTools.GeneticToolsService._staticInstance._path; }
GeneticTools.GeneticToolsService.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); }
GeneticTools.GeneticToolsService._staticInstance._timeout = value; }
GeneticTools.GeneticToolsService.get_timeout = function() { 
return GeneticTools.GeneticToolsService._staticInstance._timeout; }
GeneticTools.GeneticToolsService.set_defaultUserContext = function(value) { 
GeneticTools.GeneticToolsService._staticInstance._userContext = value; }
GeneticTools.GeneticToolsService.get_defaultUserContext = function() { 
return GeneticTools.GeneticToolsService._staticInstance._userContext; }
GeneticTools.GeneticToolsService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GeneticTools.GeneticToolsService._staticInstance._succeeded = value; }
GeneticTools.GeneticToolsService.get_defaultSucceededCallback = function() { 
return GeneticTools.GeneticToolsService._staticInstance._succeeded; }
GeneticTools.GeneticToolsService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GeneticTools.GeneticToolsService._staticInstance._failed = value; }
GeneticTools.GeneticToolsService.get_defaultFailedCallback = function() { 
return GeneticTools.GeneticToolsService._staticInstance._failed; }
GeneticTools.GeneticToolsService.set_path("/GeneticToolsService.asmx");
GeneticTools.GeneticToolsService.SireSearch= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {GeneticTools.GeneticToolsService._staticInstance.SireSearch(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
GeneticTools.GeneticToolsService.DamSearch= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {GeneticTools.GeneticToolsService._staticInstance.DamSearch(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
GeneticTools.GeneticToolsService.GoatSearch= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {GeneticTools.GeneticToolsService._staticInstance.GoatSearch(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
