Type.registerNamespace('NeighborhoodPreviews.Services');
NeighborhoodPreviews.Services.EditService=function() {
NeighborhoodPreviews.Services.EditService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NeighborhoodPreviews.Services.EditService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NeighborhoodPreviews.Services.EditService._staticInstance.get_path();},
GetImagePopupDataJson:function(loginToken,currentUploadImageID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetImagePopupDataJson',false,{loginToken:loginToken,currentUploadImageID:currentUploadImageID},succeededCallback,failedCallback,userContext); },
GetListOfUploadImagesJson:function(loginToken,currentUploadImageID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetListOfUploadImagesJson',false,{loginToken:loginToken,currentUploadImageID:currentUploadImageID},succeededCallback,failedCallback,userContext); },
AddSchool:function(loginToken,schoolTypeID,schoolName,schoolDistrict,addressLine1,addressLine2,cityName,stateID,zipCode,pageUrlSuffix,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddSchool',false,{loginToken:loginToken,schoolTypeID:schoolTypeID,schoolName:schoolName,schoolDistrict:schoolDistrict,addressLine1:addressLine1,addressLine2:addressLine2,cityName:cityName,stateID:stateID,zipCode:zipCode,pageUrlSuffix:pageUrlSuffix},succeededCallback,failedCallback,userContext); },
AddRealtor:function(loginToken,expertFirstName,expertMiddleName,expertLastName,expertEmailAddress,pageUrlSuffix,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddRealtor',false,{loginToken:loginToken,expertFirstName:expertFirstName,expertMiddleName:expertMiddleName,expertLastName:expertLastName,expertEmailAddress:expertEmailAddress,pageUrlSuffix:pageUrlSuffix},succeededCallback,failedCallback,userContext); },
AddSubdivision:function(loginToken,expertID,subdivisionName,pageUrlSuffix,cityName,countyName,regionName,stateID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddSubdivision',false,{loginToken:loginToken,expertID:expertID,subdivisionName:subdivisionName,pageUrlSuffix:pageUrlSuffix,cityName:cityName,countyName:countyName,regionName:regionName,stateID:stateID},succeededCallback,failedCallback,userContext); },
EditWebImageContent:function(loginToken,webContentDatabaseID,newUploadImageDatabaseID,newCropX,newCropY,newCropWidth,newCropHeight,newAltText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditWebImageContent',false,{loginToken:loginToken,webContentDatabaseID:webContentDatabaseID,newUploadImageDatabaseID:newUploadImageDatabaseID,newCropX:newCropX,newCropY:newCropY,newCropWidth:newCropWidth,newCropHeight:newCropHeight,newAltText:newAltText},succeededCallback,failedCallback,userContext); },
EditWebContent:function(loginToken,webContentDatabaseID,newValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditWebContent',false,{loginToken:loginToken,webContentDatabaseID:webContentDatabaseID,newValue:newValue},succeededCallback,failedCallback,userContext); }}
NeighborhoodPreviews.Services.EditService.registerClass('NeighborhoodPreviews.Services.EditService',Sys.Net.WebServiceProxy);
NeighborhoodPreviews.Services.EditService._staticInstance = new NeighborhoodPreviews.Services.EditService();
NeighborhoodPreviews.Services.EditService.set_path = function(value) { NeighborhoodPreviews.Services.EditService._staticInstance.set_path(value); }
NeighborhoodPreviews.Services.EditService.get_path = function() { return NeighborhoodPreviews.Services.EditService._staticInstance.get_path(); }
NeighborhoodPreviews.Services.EditService.set_timeout = function(value) { NeighborhoodPreviews.Services.EditService._staticInstance.set_timeout(value); }
NeighborhoodPreviews.Services.EditService.get_timeout = function() { return NeighborhoodPreviews.Services.EditService._staticInstance.get_timeout(); }
NeighborhoodPreviews.Services.EditService.set_defaultUserContext = function(value) { NeighborhoodPreviews.Services.EditService._staticInstance.set_defaultUserContext(value); }
NeighborhoodPreviews.Services.EditService.get_defaultUserContext = function() { return NeighborhoodPreviews.Services.EditService._staticInstance.get_defaultUserContext(); }
NeighborhoodPreviews.Services.EditService.set_defaultSucceededCallback = function(value) { NeighborhoodPreviews.Services.EditService._staticInstance.set_defaultSucceededCallback(value); }
NeighborhoodPreviews.Services.EditService.get_defaultSucceededCallback = function() { return NeighborhoodPreviews.Services.EditService._staticInstance.get_defaultSucceededCallback(); }
NeighborhoodPreviews.Services.EditService.set_defaultFailedCallback = function(value) { NeighborhoodPreviews.Services.EditService._staticInstance.set_defaultFailedCallback(value); }
NeighborhoodPreviews.Services.EditService.get_defaultFailedCallback = function() { return NeighborhoodPreviews.Services.EditService._staticInstance.get_defaultFailedCallback(); }
NeighborhoodPreviews.Services.EditService.set_path("/np-preview/services/EditService.svc");
NeighborhoodPreviews.Services.EditService.GetImagePopupDataJson= function(loginToken,currentUploadImageID,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.GetImagePopupDataJson(loginToken,currentUploadImageID,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.EditService.GetListOfUploadImagesJson= function(loginToken,currentUploadImageID,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.GetListOfUploadImagesJson(loginToken,currentUploadImageID,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.EditService.AddSchool= function(loginToken,schoolTypeID,schoolName,schoolDistrict,addressLine1,addressLine2,cityName,stateID,zipCode,pageUrlSuffix,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.AddSchool(loginToken,schoolTypeID,schoolName,schoolDistrict,addressLine1,addressLine2,cityName,stateID,zipCode,pageUrlSuffix,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.EditService.AddRealtor= function(loginToken,expertFirstName,expertMiddleName,expertLastName,expertEmailAddress,pageUrlSuffix,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.AddRealtor(loginToken,expertFirstName,expertMiddleName,expertLastName,expertEmailAddress,pageUrlSuffix,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.EditService.AddSubdivision= function(loginToken,expertID,subdivisionName,pageUrlSuffix,cityName,countyName,regionName,stateID,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.AddSubdivision(loginToken,expertID,subdivisionName,pageUrlSuffix,cityName,countyName,regionName,stateID,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.EditService.EditWebImageContent= function(loginToken,webContentDatabaseID,newUploadImageDatabaseID,newCropX,newCropY,newCropWidth,newCropHeight,newAltText,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.EditWebImageContent(loginToken,webContentDatabaseID,newUploadImageDatabaseID,newCropX,newCropY,newCropWidth,newCropHeight,newAltText,onSuccess,onFailed,userContext); }
NeighborhoodPreviews.Services.EditService.EditWebContent= function(loginToken,webContentDatabaseID,newValue,onSuccess,onFailed,userContext) {NeighborhoodPreviews.Services.EditService._staticInstance.EditWebContent(loginToken,webContentDatabaseID,newValue,onSuccess,onFailed,userContext); }
