Type.registerNamespace('Hamster.WebServices');
Hamster.WebServices.ShortListSvc=function() {
Hamster.WebServices.ShortListSvc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Hamster.WebServices.ShortListSvc.prototype={
AddToShortList:function(PropRef,succeededCallback, failedCallback, userContext) {
return this._invoke(Hamster.WebServices.ShortListSvc.get_path(), 'AddToShortList',false,{PropRef:PropRef},succeededCallback,failedCallback,userContext); },
RemoveFromShortList:function(PropRef,succeededCallback, failedCallback, userContext) {
return this._invoke(Hamster.WebServices.ShortListSvc.get_path(), 'RemoveFromShortList',false,{PropRef:PropRef},succeededCallback,failedCallback,userContext); }}
Hamster.WebServices.ShortListSvc.registerClass('Hamster.WebServices.ShortListSvc',Sys.Net.WebServiceProxy);
Hamster.WebServices.ShortListSvc._staticInstance = new Hamster.WebServices.ShortListSvc();
Hamster.WebServices.ShortListSvc.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Hamster.WebServices.ShortListSvc._staticInstance._path = value; }
Hamster.WebServices.ShortListSvc.get_path = function() { return Hamster.WebServices.ShortListSvc._staticInstance._path; }
Hamster.WebServices.ShortListSvc.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Hamster.WebServices.ShortListSvc._staticInstance._timeout = value; }
Hamster.WebServices.ShortListSvc.get_timeout = function() { 
return Hamster.WebServices.ShortListSvc._staticInstance._timeout; }
Hamster.WebServices.ShortListSvc.set_defaultUserContext = function(value) { 
Hamster.WebServices.ShortListSvc._staticInstance._userContext = value; }
Hamster.WebServices.ShortListSvc.get_defaultUserContext = function() { 
return Hamster.WebServices.ShortListSvc._staticInstance._userContext; }
Hamster.WebServices.ShortListSvc.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Hamster.WebServices.ShortListSvc._staticInstance._succeeded = value; }
Hamster.WebServices.ShortListSvc.get_defaultSucceededCallback = function() { 
return Hamster.WebServices.ShortListSvc._staticInstance._succeeded; }
Hamster.WebServices.ShortListSvc.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Hamster.WebServices.ShortListSvc._staticInstance._failed = value; }
Hamster.WebServices.ShortListSvc.get_defaultFailedCallback = function() { 
return Hamster.WebServices.ShortListSvc._staticInstance._failed; }
Hamster.WebServices.ShortListSvc.set_path("/WebServices/ShortListSvc.asmx");
Hamster.WebServices.ShortListSvc.AddToShortList= function(PropRef,onSuccess,onFailed,userContext) {Hamster.WebServices.ShortListSvc._staticInstance.AddToShortList(PropRef,onSuccess,onFailed,userContext); }
Hamster.WebServices.ShortListSvc.RemoveFromShortList= function(PropRef,onSuccess,onFailed,userContext) {Hamster.WebServices.ShortListSvc._staticInstance.RemoveFromShortList(PropRef,onSuccess,onFailed,userContext); }
