Type.registerNamespace('MIHomes.Web.WebSite.AjaxServices');
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService=function() {
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.prototype={
GetImagesByPlanId:function(planId,succeededCallback, failedCallback, userContext) {
return this._invoke(MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_path(), 'GetImagesByPlanId',false,{planId:planId},succeededCallback,failedCallback,userContext); },
GetImagesByListingId:function(listingId,succeededCallback, failedCallback, userContext) {
return this._invoke(MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_path(), 'GetImagesByListingId',false,{listingId:listingId},succeededCallback,failedCallback,userContext); },
GetImagesByCommunityId:function(communityId,succeededCallback, failedCallback, userContext) {
return this._invoke(MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_path(), 'GetImagesByCommunityId',false,{communityId:communityId},succeededCallback,failedCallback,userContext); },
GetFloorPlanImagesByPlanId:function(planId,succeededCallback, failedCallback, userContext) {
return this._invoke(MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_path(), 'GetFloorPlanImagesByPlanId',false,{planId:planId},succeededCallback,failedCallback,userContext); },
GetImagesByProductId:function(productId,productType,succeededCallback, failedCallback, userContext) {
return this._invoke(MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_path(), 'GetImagesByProductId',false,{productId:productId,productType:productType},succeededCallback,failedCallback,userContext); }}
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.registerClass('MIHomes.Web.WebSite.AjaxServices.ImageGalleryService',Sys.Net.WebServiceProxy);
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance = new MIHomes.Web.WebSite.AjaxServices.ImageGalleryService();
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.set_path = function(value) { MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._path = value; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_path = function() { return MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._path; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.set_timeout = function(value) { MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._timeout = value; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_timeout = function() { return MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._timeout; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.set_defaultUserContext = function(value) { MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._userContext = value; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_defaultUserContext = function() { return MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._userContext; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.set_defaultSucceededCallback = function(value) { MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._succeeded = value; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_defaultSucceededCallback = function() { return MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._succeeded; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.set_defaultFailedCallback = function(value) { MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._failed = value; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.get_defaultFailedCallback = function() { return MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance._failed; }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.set_path("/AjaxServices/ImageGalleryService.asmx");
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.GetImagesByPlanId= function(planId,onSuccess,onFailed,userContext) {MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance.GetImagesByPlanId(planId,onSuccess,onFailed,userContext); }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.GetImagesByListingId= function(listingId,onSuccess,onFailed,userContext) {MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance.GetImagesByListingId(listingId,onSuccess,onFailed,userContext); }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.GetImagesByCommunityId= function(communityId,onSuccess,onFailed,userContext) {MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance.GetImagesByCommunityId(communityId,onSuccess,onFailed,userContext); }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.GetFloorPlanImagesByPlanId= function(planId,onSuccess,onFailed,userContext) {MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance.GetFloorPlanImagesByPlanId(planId,onSuccess,onFailed,userContext); }
MIHomes.Web.WebSite.AjaxServices.ImageGalleryService.GetImagesByProductId= function(productId,productType,onSuccess,onFailed,userContext) {MIHomes.Web.WebSite.AjaxServices.ImageGalleryService._staticInstance.GetImagesByProductId(productId,productType,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MIHomes.Web.BusinessEntities');
if (typeof(MIHomes.Web.BusinessEntities.ImageInfo) === 'undefined') {
MIHomes.Web.BusinessEntities.ImageInfo=gtc("MIHomes.Web.BusinessEntities.ImageInfo");
MIHomes.Web.BusinessEntities.ImageInfo.registerClass('MIHomes.Web.BusinessEntities.ImageInfo');
}
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
