Type.registerNamespace('Clozone.Web.WebService'); Clozone.Web.WebService.User = { path: "/WebService/User.asmx", Login:function(userName,password,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Login",{userName:userName,password:password}, onMethodComplete, onMethodTimeout); }, Logout:function(onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Logout",{}, onMethodComplete, onMethodTimeout); }, GetPassword:function(username,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetPassword",{username:username}, onMethodComplete, onMethodTimeout); }, ValidateUserName:function(userName,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "ValidateUserName",{userName:userName}, onMethodComplete, onMethodTimeout); }, GetUserByUserName:function(userName,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetUserByUserName",{userName:userName}, onMethodComplete, onMethodTimeout); }, GetUserByNickName:function(nickName,pageSize,pageIndex,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetUserByNickName",{nickName:nickName,pageSize:pageSize,pageIndex:pageIndex}, onMethodComplete, onMethodTimeout); }, GetUserByHobby:function(hobby,pageSize,pageIndex,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetUserByHobby",{hobby:hobby,pageSize:pageSize,pageIndex:pageIndex}, onMethodComplete, onMethodTimeout); }, GetUserByCity:function(cityName,pageSize,pageIndex,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetUserByCity",{cityName:cityName,pageSize:pageSize,pageIndex:pageIndex}, onMethodComplete, onMethodTimeout); }, GetUserByMultiCondition:function(gender,age,constellation,vocation,occupation,provinceHometown,cityHometown,otherCityHometown,provinceLocus,cityLocus,otherCityLocus,hobby,school,pageSize,pageIndex,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetUserByMultiCondition",{gender:gender,age:age,constellation:constellation,vocation:vocation,occupation:occupation,provinceHometown:provinceHometown,cityHometown:cityHometown,otherCityHometown:otherCityHometown,provinceLocus:provinceLocus,cityLocus:cityLocus,otherCityLocus:otherCityLocus,hobby:hobby,school:school,pageSize:pageSize,pageIndex:pageIndex}, onMethodComplete, onMethodTimeout); }, CheckEmailValidated:function(onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "CheckEmailValidated",{}, onMethodComplete, onMethodTimeout); }, UpdatePortalVisit:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdatePortalVisit",{prefix:prefix}, onMethodComplete, onMethodTimeout); } }