Type.registerNamespace('com.ourfaves');
com.ourfaves.CreateFave=function() {
com.ourfaves.CreateFave.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
com.ourfaves.CreateFave.prototype={
CreateFaveSubmit:function(_thingName,_locationName,_reason,_locationAddress,Category,URL,_phoneNumber,_postalCode,_city,SiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'CreateFaveSubmit',false,{_thingName:_thingName,_locationName:_locationName,_reason:_reason,_locationAddress:_locationAddress,Category:Category,URL:URL,_phoneNumber:_phoneNumber,_postalCode:_postalCode,_city:_city,SiteID:SiteID},succeededCallback,failedCallback,userContext); },
CreateContestFave:function(_thingName,_locationName,_reason,_locationAddress,Category,URL,_phoneNumber,_postalCode,_city,ContestID,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'CreateContestFave',false,{_thingName:_thingName,_locationName:_locationName,_reason:_reason,_locationAddress:_locationAddress,Category:Category,URL:URL,_phoneNumber:_phoneNumber,_postalCode:_postalCode,_city:_city,ContestID:ContestID},succeededCallback,failedCallback,userContext); },
NumberedContestCreateFaveSubmit:function(_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,_contestId,_order,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'NumberedContestCreateFaveSubmit',false,{_thingName:_thingName,_locationName:_locationName,_reason:_reason,_locationAddress:_locationAddress,_crossStreets:_crossStreets,_category:_category,_url:_url,_additionalInfo:_additionalInfo,_fromExternalDB:_fromExternalDB,_phoneNumber:_phoneNumber,_postalCode:_postalCode,_city:_city,_neighbourhood:_neighbourhood,_contestId:_contestId,_order:_order},succeededCallback,failedCallback,userContext); },
ContestCreateFaveSubmit:function(_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,_firstName,_lastName,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'ContestCreateFaveSubmit',false,{_thingName:_thingName,_locationName:_locationName,_reason:_reason,_locationAddress:_locationAddress,_crossStreets:_crossStreets,_category:_category,_url:_url,_additionalInfo:_additionalInfo,_fromExternalDB:_fromExternalDB,_phoneNumber:_phoneNumber,_postalCode:_postalCode,_city:_city,_neighbourhood:_neighbourhood,_firstName:_firstName,_lastName:_lastName},succeededCallback,failedCallback,userContext); },
EditFaveSubmit:function(_faveID,_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,SiteID,newPicture,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'EditFaveSubmit',false,{_faveID:_faveID,_thingName:_thingName,_locationName:_locationName,_reason:_reason,_locationAddress:_locationAddress,_crossStreets:_crossStreets,_category:_category,_url:_url,_additionalInfo:_additionalInfo,_fromExternalDB:_fromExternalDB,_phoneNumber:_phoneNumber,_postalCode:_postalCode,_city:_city,SiteID:SiteID,newPicture:newPicture},succeededCallback,failedCallback,userContext); },
NumberedEditFaveSubmit:function(_faveID,_thingName,_locationName,_reason,_locationAddress,_crossStreets,Category,URL,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,newPicture,_contestId,_order,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'NumberedEditFaveSubmit',false,{_faveID:_faveID,_thingName:_thingName,_locationName:_locationName,_reason:_reason,_locationAddress:_locationAddress,_crossStreets:_crossStreets,Category:Category,URL:URL,_additionalInfo:_additionalInfo,_fromExternalDB:_fromExternalDB,_phoneNumber:_phoneNumber,_postalCode:_postalCode,_city:_city,_neighbourhood:_neighbourhood,newPicture:newPicture,_contestId:_contestId,_order:_order},succeededCallback,failedCallback,userContext); },
ThingFaveSpellCheck:function(_suggestText,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'ThingFaveSpellCheck',false,{_suggestText:_suggestText},succeededCallback,failedCallback,userContext); },
CreateFaveRating:function(_faveID,_rating,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'CreateFaveRating',false,{_faveID:_faveID,_rating:_rating},succeededCallback,failedCallback,userContext); },
DeleteFave:function(faveId,succeededCallback, failedCallback, userContext) {
return this._invoke(com.ourfaves.CreateFave.get_path(), 'DeleteFave',false,{faveId:faveId},succeededCallback,failedCallback,userContext); }}
com.ourfaves.CreateFave.registerClass('com.ourfaves.CreateFave',Sys.Net.WebServiceProxy);
com.ourfaves.CreateFave._staticInstance = new com.ourfaves.CreateFave();
com.ourfaves.CreateFave.set_path = function(value) { com.ourfaves.CreateFave._staticInstance._path = value; }
com.ourfaves.CreateFave.get_path = function() { return com.ourfaves.CreateFave._staticInstance._path; }
com.ourfaves.CreateFave.set_timeout = function(value) { com.ourfaves.CreateFave._staticInstance._timeout = value; }
com.ourfaves.CreateFave.get_timeout = function() { return com.ourfaves.CreateFave._staticInstance._timeout; }
com.ourfaves.CreateFave.set_defaultUserContext = function(value) { com.ourfaves.CreateFave._staticInstance._userContext = value; }
com.ourfaves.CreateFave.get_defaultUserContext = function() { return com.ourfaves.CreateFave._staticInstance._userContext; }
com.ourfaves.CreateFave.set_defaultSucceededCallback = function(value) { com.ourfaves.CreateFave._staticInstance._succeeded = value; }
com.ourfaves.CreateFave.get_defaultSucceededCallback = function() { return com.ourfaves.CreateFave._staticInstance._succeeded; }
com.ourfaves.CreateFave.set_defaultFailedCallback = function(value) { com.ourfaves.CreateFave._staticInstance._failed = value; }
com.ourfaves.CreateFave.get_defaultFailedCallback = function() { return com.ourfaves.CreateFave._staticInstance._failed; }
com.ourfaves.CreateFave.set_path("/WebService/createfave.asmx");
com.ourfaves.CreateFave.CreateFaveSubmit= function(_thingName,_locationName,_reason,_locationAddress,Category,URL,_phoneNumber,_postalCode,_city,SiteID,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.CreateFaveSubmit(_thingName,_locationName,_reason,_locationAddress,Category,URL,_phoneNumber,_postalCode,_city,SiteID,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.CreateContestFave= function(_thingName,_locationName,_reason,_locationAddress,Category,URL,_phoneNumber,_postalCode,_city,ContestID,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.CreateContestFave(_thingName,_locationName,_reason,_locationAddress,Category,URL,_phoneNumber,_postalCode,_city,ContestID,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.NumberedContestCreateFaveSubmit= function(_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,_contestId,_order,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.NumberedContestCreateFaveSubmit(_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,_contestId,_order,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.ContestCreateFaveSubmit= function(_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,_firstName,_lastName,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.ContestCreateFaveSubmit(_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,_firstName,_lastName,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.EditFaveSubmit= function(_faveID,_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,SiteID,newPicture,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.EditFaveSubmit(_faveID,_thingName,_locationName,_reason,_locationAddress,_crossStreets,_category,_url,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,SiteID,newPicture,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.NumberedEditFaveSubmit= function(_faveID,_thingName,_locationName,_reason,_locationAddress,_crossStreets,Category,URL,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,newPicture,_contestId,_order,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.NumberedEditFaveSubmit(_faveID,_thingName,_locationName,_reason,_locationAddress,_crossStreets,Category,URL,_additionalInfo,_fromExternalDB,_phoneNumber,_postalCode,_city,_neighbourhood,newPicture,_contestId,_order,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.ThingFaveSpellCheck= function(_suggestText,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.ThingFaveSpellCheck(_suggestText,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.CreateFaveRating= function(_faveID,_rating,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.CreateFaveRating(_faveID,_rating,onSuccess,onFailed,userContext); }
com.ourfaves.CreateFave.DeleteFave= function(faveId,onSuccess,onFailed,userContext) {com.ourfaves.CreateFave._staticInstance.DeleteFave(faveId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebServiceReturnObject) === 'undefined') {
var WebServiceReturnObject=gtc("WebServiceReturnObject");
WebServiceReturnObject.registerClass('WebServiceReturnObject');
}
