Type.registerNamespace('WebServices.TypeLib');
WebServices.TypeLib.Companies=function() {
WebServices.TypeLib.Companies.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebServices.TypeLib.Companies.prototype={
GetAllCompanies:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetAllCompanies',false,{},succeededCallback,failedCallback,userContext); },
GetCompaniesByCategoryID:function(CategoryID,GroupID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetCompaniesByCategoryID',false,{CategoryID:CategoryID,GroupID:GroupID},succeededCallback,failedCallback,userContext); },
GetCompany:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetCompany',false,{},succeededCallback,failedCallback,userContext); },
GetCompanyByID:function(CompanyID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetCompanyByID',false,{CompanyID:CompanyID},succeededCallback,failedCallback,userContext); },
GetCompaniesBySubCategory:function(CategoryID,GroupID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetCompaniesBySubCategory',false,{CategoryID:CategoryID,GroupID:GroupID},succeededCallback,failedCallback,userContext); },
GetCompaniesByCatList:function(CatList,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetCompaniesByCatList',false,{CatList:CatList},succeededCallback,failedCallback,userContext); },
GetCompaniesByGroupAndSkills:function(GroupID,skill,succeededCallback, failedCallback, userContext) {
return this._invoke(WebServices.TypeLib.Companies.get_path(), 'GetCompaniesByGroupAndSkills',false,{GroupID:GroupID,skill:skill},succeededCallback,failedCallback,userContext); }}
WebServices.TypeLib.Companies.registerClass('WebServices.TypeLib.Companies',Sys.Net.WebServiceProxy);
WebServices.TypeLib.Companies._staticInstance = new WebServices.TypeLib.Companies();
WebServices.TypeLib.Companies.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebServices.TypeLib.Companies._staticInstance._path = value; }
WebServices.TypeLib.Companies.get_path = function() { return WebServices.TypeLib.Companies._staticInstance._path; }
WebServices.TypeLib.Companies.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); }
WebServices.TypeLib.Companies._staticInstance._timeout = value; }
WebServices.TypeLib.Companies.get_timeout = function() { 
return WebServices.TypeLib.Companies._staticInstance._timeout; }
WebServices.TypeLib.Companies.set_defaultUserContext = function(value) { 
WebServices.TypeLib.Companies._staticInstance._userContext = value; }
WebServices.TypeLib.Companies.get_defaultUserContext = function() { 
return WebServices.TypeLib.Companies._staticInstance._userContext; }
WebServices.TypeLib.Companies.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebServices.TypeLib.Companies._staticInstance._succeeded = value; }
WebServices.TypeLib.Companies.get_defaultSucceededCallback = function() { 
return WebServices.TypeLib.Companies._staticInstance._succeeded; }
WebServices.TypeLib.Companies.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebServices.TypeLib.Companies._staticInstance._failed = value; }
WebServices.TypeLib.Companies.get_defaultFailedCallback = function() { 
return WebServices.TypeLib.Companies._staticInstance._failed; }
WebServices.TypeLib.Companies.set_path("/context/services/TypeLib/Companies.asmx");
WebServices.TypeLib.Companies.GetAllCompanies= function(onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetAllCompanies(onSuccess,onFailed,userContext); }
WebServices.TypeLib.Companies.GetCompaniesByCategoryID= function(CategoryID,GroupID,onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetCompaniesByCategoryID(CategoryID,GroupID,onSuccess,onFailed,userContext); }
WebServices.TypeLib.Companies.GetCompany= function(onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetCompany(onSuccess,onFailed,userContext); }
WebServices.TypeLib.Companies.GetCompanyByID= function(CompanyID,onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetCompanyByID(CompanyID,onSuccess,onFailed,userContext); }
WebServices.TypeLib.Companies.GetCompaniesBySubCategory= function(CategoryID,GroupID,onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetCompaniesBySubCategory(CategoryID,GroupID,onSuccess,onFailed,userContext); }
WebServices.TypeLib.Companies.GetCompaniesByCatList= function(CatList,onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetCompaniesByCatList(CatList,onSuccess,onFailed,userContext); }
WebServices.TypeLib.Companies.GetCompaniesByGroupAndSkills= function(GroupID,skill,onSuccess,onFailed,userContext) {WebServices.TypeLib.Companies._staticInstance.GetCompaniesByGroupAndSkills(GroupID,skill,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Context.BLL');
if (typeof(Context.BLL.Company) === 'undefined') {
Context.BLL.Company=gtc("Context.BLL.Company");
Context.BLL.Company.registerClass('Context.BLL.Company');
}
