var VeloWebServices=function() {
VeloWebServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VeloWebServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VeloWebServices._staticInstance.get_path();},
BrandsByCategoryWithCounts:function(iCategory,succeededCallback, failedCallback, userContext) {
/// <param name="iCategory" 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(), 'BrandsByCategoryWithCounts',false,{iCategory:iCategory},succeededCallback,failedCallback,userContext); },
GroupsByBrandWithCounts:function(iCategory,sBrand,succeededCallback, failedCallback, userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" 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(), 'GroupsByBrandWithCounts',false,{iCategory:iCategory,sBrand:sBrand},succeededCallback,failedCallback,userContext); },
ComponentsByCategoryBrand:function(iCategory,sBrand,sGroup,succeededCallback, failedCallback, userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" type="String">System.String</param>
/// <param name="sGroup" 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(), 'ComponentsByCategoryBrand',false,{iCategory:iCategory,sBrand:sBrand,sGroup:sGroup},succeededCallback,failedCallback,userContext); },
ResourceLinksByCategory:function(sCategory,succeededCallback, failedCallback, userContext) {
/// <param name="sCategory" 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(), 'ResourceLinksByCategory',false,{sCategory:sCategory},succeededCallback,failedCallback,userContext); },
FrameModelsByBrand:function(Brand,succeededCallback, failedCallback, userContext) {
/// <param name="Brand" 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(), 'FrameModelsByBrand',false,{Brand:Brand},succeededCallback,failedCallback,userContext); },
FrameExamplesByBrand:function(Brand,Model,succeededCallback, failedCallback, userContext) {
/// <param name="Brand" type="String">System.String</param>
/// <param name="Model" 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(), 'FrameExamplesByBrand',false,{Brand:Brand,Model:Model},succeededCallback,failedCallback,userContext); },
SaveSearchResults:function(SearchID,SearchTable,SearchName,succeededCallback, failedCallback, userContext) {
/// <param name="SearchID" type="String">System.String</param>
/// <param name="SearchTable" type="String">System.String</param>
/// <param name="SearchName" 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(), 'SaveSearchResults',false,{SearchID:SearchID,SearchTable:SearchTable,SearchName:SearchName},succeededCallback,failedCallback,userContext); },
TempPhotoCleanup:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'TempPhotoCleanup',false,{},succeededCallback,failedCallback,userContext); }}
VeloWebServices.registerClass('VeloWebServices',Sys.Net.WebServiceProxy);
VeloWebServices._staticInstance = new VeloWebServices();
VeloWebServices.set_path = function(value) {
VeloWebServices._staticInstance.set_path(value); }
VeloWebServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return VeloWebServices._staticInstance.get_path();}
VeloWebServices.set_timeout = function(value) {
VeloWebServices._staticInstance.set_timeout(value); }
VeloWebServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return VeloWebServices._staticInstance.get_timeout(); }
VeloWebServices.set_defaultUserContext = function(value) { 
VeloWebServices._staticInstance.set_defaultUserContext(value); }
VeloWebServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return VeloWebServices._staticInstance.get_defaultUserContext(); }
VeloWebServices.set_defaultSucceededCallback = function(value) { 
 VeloWebServices._staticInstance.set_defaultSucceededCallback(value); }
VeloWebServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return VeloWebServices._staticInstance.get_defaultSucceededCallback(); }
VeloWebServices.set_defaultFailedCallback = function(value) { 
VeloWebServices._staticInstance.set_defaultFailedCallback(value); }
VeloWebServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return VeloWebServices._staticInstance.get_defaultFailedCallback(); }
VeloWebServices.set_path("/velobase.com/Utility/VeloWebServices.asmx");
VeloWebServices.BrandsByCategoryWithCounts= function(iCategory,onSuccess,onFailed,userContext) {
/// <param name="iCategory" 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>
VeloWebServices._staticInstance.BrandsByCategoryWithCounts(iCategory,onSuccess,onFailed,userContext); }
VeloWebServices.GroupsByBrandWithCounts= function(iCategory,sBrand,onSuccess,onFailed,userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" 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>
VeloWebServices._staticInstance.GroupsByBrandWithCounts(iCategory,sBrand,onSuccess,onFailed,userContext); }
VeloWebServices.ComponentsByCategoryBrand= function(iCategory,sBrand,sGroup,onSuccess,onFailed,userContext) {
/// <param name="iCategory" type="Number">System.Int32</param>
/// <param name="sBrand" type="String">System.String</param>
/// <param name="sGroup" 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>
VeloWebServices._staticInstance.ComponentsByCategoryBrand(iCategory,sBrand,sGroup,onSuccess,onFailed,userContext); }
VeloWebServices.ResourceLinksByCategory= function(sCategory,onSuccess,onFailed,userContext) {
/// <param name="sCategory" 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>
VeloWebServices._staticInstance.ResourceLinksByCategory(sCategory,onSuccess,onFailed,userContext); }
VeloWebServices.FrameModelsByBrand= function(Brand,onSuccess,onFailed,userContext) {
/// <param name="Brand" 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>
VeloWebServices._staticInstance.FrameModelsByBrand(Brand,onSuccess,onFailed,userContext); }
VeloWebServices.FrameExamplesByBrand= function(Brand,Model,onSuccess,onFailed,userContext) {
/// <param name="Brand" type="String">System.String</param>
/// <param name="Model" 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>
VeloWebServices._staticInstance.FrameExamplesByBrand(Brand,Model,onSuccess,onFailed,userContext); }
VeloWebServices.SaveSearchResults= function(SearchID,SearchTable,SearchName,onSuccess,onFailed,userContext) {
/// <param name="SearchID" type="String">System.String</param>
/// <param name="SearchTable" type="String">System.String</param>
/// <param name="SearchName" 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>
VeloWebServices._staticInstance.SaveSearchResults(SearchID,SearchTable,SearchName,onSuccess,onFailed,userContext); }
VeloWebServices.TempPhotoCleanup= function(onSuccess,onFailed,userContext) {
/// <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>
VeloWebServices._staticInstance.TempPhotoCleanup(onSuccess,onFailed,userContext); }
