if(typeof TTWU == "undefined") TTWU={};
if(typeof TTWU.Components == "undefined") TTWU.Components={};
if(typeof TTWU.Components.HouseManager == "undefined") TTWU.Components.HouseManager={};
TTWU.Components.HouseManager_class = function() {};
Object.extend(TTWU.Components.HouseManager_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	UpdateRoomPicDescription: function(id, desc) {
		return this.invoke("UpdateRoomPicDescription", {"id":id, "desc":desc}, this.UpdateRoomPicDescription.getArguments().slice(2));
	},
	CreateUpdateDeleteReview: function(id, parentid, roomid, content, action, ownerid, clientName, validatecode) {
		return this.invoke("CreateUpdateDeleteReview", {"id":id, "parentid":parentid, "roomid":roomid, "content":content, "action":action, "ownerid":ownerid, "clientName":clientName, "validatecode":validatecode}, this.CreateUpdateDeleteReview.getArguments().slice(8));
	},
	CreateUpdateDeleteRoomReview: function(id, parentid, roomid, content, action, ownerid, validatecode) {
		return this.invoke("CreateUpdateDeleteRoomReview", {"id":id, "parentid":parentid, "roomid":roomid, "content":content, "action":action, "ownerid":ownerid, "validatecode":validatecode}, this.CreateUpdateDeleteRoomReview.getArguments().slice(7));
	},
	CreateUpdateDeleteRoomReview_: function(id, parentid, roomid, content, action, ownerid, username) {
		return this.invoke("CreateUpdateDeleteRoomReview_", {"id":id, "parentid":parentid, "roomid":roomid, "content":content, "action":action, "ownerid":ownerid, "username":username}, this.CreateUpdateDeleteRoomReview_.getArguments().slice(7));
	},
	CreateUpdateDeleteReview: function(id, parentid, roomid, content, action, ownerid, name) {
		return this.invoke("CreateUpdateDeleteReview", {"id":id, "parentid":parentid, "roomid":roomid, "content":content, "action":action, "ownerid":ownerid, "name":name}, this.CreateUpdateDeleteReview.getArguments().slice(7));
	},
	GetOwnerMemberOnPage: function(username, realname, ownerid) {
		return this.invoke("GetOwnerMemberOnPage", {"username":username, "realname":realname, "ownerid":ownerid}, this.GetOwnerMemberOnPage.getArguments().slice(3));
	},
	GetStoreList_: function(userid, isapproved) {
		return this.invoke("GetStoreList_", {"userid":userid, "isapproved":isapproved}, this.GetStoreList_.getArguments().slice(2));
	},
	GetRoomList: function(storeid) {
		return this.invoke("GetRoomList", {"storeid":storeid}, this.GetRoomList.getArguments().slice(1));
	},
	CheckRentDate: function(roomid, orderid, startdate, enddate) {
		return this.invoke("CheckRentDate", {"roomid":roomid, "orderid":orderid, "startdate":startdate, "enddate":enddate}, this.CheckRentDate.getArguments().slice(4));
	},
	CreateOwnerOrder: function(roomid, username, startdate, enddate, idcard, note, usermobile, userphone, earnestmoney, deposit) {
		return this.invoke("CreateOwnerOrder", {"roomid":roomid, "username":username, "startdate":startdate, "enddate":enddate, "idcard":idcard, "note":note, "usermobile":usermobile, "userphone":userphone, "earnestmoney":earnestmoney, "deposit":deposit}, this.CreateOwnerOrder.getArguments().slice(10));
	},
	CreateCustomerOrder: function(roomid, username, startdate, enddate, note, usermobile, userphone, idcard) {
		return this.invoke("CreateCustomerOrder", {"roomid":roomid, "username":username, "startdate":startdate, "enddate":enddate, "note":note, "usermobile":usermobile, "userphone":userphone, "idcard":idcard}, this.CreateCustomerOrder.getArguments().slice(8));
	},
	ChangeOrderStatus: function(ids, status) {
		return this.invoke("ChangeOrderStatus", {"ids":ids, "status":status}, this.ChangeOrderStatus.getArguments().slice(2));
	},
	RoomRecommend: function(id, value, userid) {
		return this.invoke("RoomRecommend", {"id":id, "value":value, "userid":userid}, this.RoomRecommend.getArguments().slice(3));
	},
	SearchRoom: function(province, city, circle, renttype, bedroom, hall, washroom, kitchen, lowprice, highprice, propertytype, fitment, lowarea, higharea, userid, username, hasmap, hasvideo, isapproved, pageindex, pagesize, orderby, sort, comtype, roomtype, VenusesName, roomName) {
		return this.invoke("SearchRoom", {"province":province, "city":city, "circle":circle, "renttype":renttype, "bedroom":bedroom, "hall":hall, "washroom":washroom, "kitchen":kitchen, "lowprice":lowprice, "highprice":highprice, "propertytype":propertytype, "fitment":fitment, "lowarea":lowarea, "higharea":higharea, "userid":userid, "username":username, "hasmap":hasmap, "hasvideo":hasvideo, "isapproved":isapproved, "pageindex":pageindex, "pagesize":pagesize, "orderby":orderby, "sort":sort, "comtype":comtype, "roomtype":roomtype, "VenusesName":VenusesName, "roomName":roomName}, this.SearchRoom.getArguments().slice(27));
	},
	GetRoomCountsByProvince: function(province) {
		return this.invoke("GetRoomCountsByProvince", {"province":province}, this.GetRoomCountsByProvince.getArguments().slice(1));
	},
	SetRoomDefaultPic: function(roomid, pic) {
		return this.invoke("SetRoomDefaultPic", {"roomid":roomid, "pic":pic}, this.SetRoomDefaultPic.getArguments().slice(2));
	},
	ChangeRoomRecommendStatus: function(id, status) {
		return this.invoke("ChangeRoomRecommendStatus", {"id":id, "status":status}, this.ChangeRoomRecommendStatus.getArguments().slice(2));
	},
	url: '/ajaxpro/TTWU.Components.HouseManager,TTWU.Components.ashx'
}));
TTWU.Components.HouseManager = new TTWU.Components.HouseManager_class();

