Type.registerNamespace('Graphico.STPv2.WebServices');
Graphico.STPv2.WebServices.User=function() {
Graphico.STPv2.WebServices.User.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Graphico.STPv2.WebServices.User.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Graphico.STPv2.WebServices.User._staticInstance.get_path();},
AddTrackToWatchlistAndGetUserWatchlist:function(trackId,scoutRoomId,comment,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddTrackToWatchlistAndGetUserWatchlist',false,{trackId:trackId,scoutRoomId:scoutRoomId,comment:comment,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
AddTrackToWatchlist:function(trackId,scoutRoomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddTrackToWatchlist',false,{trackId:trackId,scoutRoomId:scoutRoomId},succeededCallback,failedCallback,userContext); },
GetAdjustedInvestmentRewards:function(amount,userArtistShowcaseInvestmentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAdjustedInvestmentRewards',false,{amount:amount,userArtistShowcaseInvestmentId:userArtistShowcaseInvestmentId},succeededCallback,failedCallback,userContext); },
GetInvestmentRewards:function(amount,investInArtistId,investInShowcaseId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInvestmentRewards',false,{amount:amount,investInArtistId:investInArtistId,investInShowcaseId:investInShowcaseId},succeededCallback,failedCallback,userContext); },
GetPrePurchaseOffers:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPrePurchaseOffers',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetMyOffers:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMyOffers',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserAlerts:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserAlerts',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserInvestments:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserInvestments',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserReviews:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserReviews',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserSearchResults:function(keywords,countryId,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserSearchResults',false,{keywords:keywords,countryId:countryId,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserTips:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserTips',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserWatchlist:function(pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserWatchlist',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetUserWatchlistSummary:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserWatchlistSummary',false,{},succeededCallback,failedCallback,userContext); },
DeleteAlert:function(alertId,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteAlert',false,{alertId:alertId,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
RemoveTrackFromWatchlist:function(trackId,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveTrackFromWatchlist',false,{trackId:trackId,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
TipArtistAndGetUserWatchlist:function(artistId,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TipArtistAndGetUserWatchlist',false,{artistId:artistId,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
TipArtist:function(artistId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TipArtist',false,{artistId:artistId},succeededCallback,failedCallback,userContext); },
TipTrack:function(trackId,scoutRoomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TipTrack',false,{trackId:trackId,scoutRoomId:scoutRoomId},succeededCallback,failedCallback,userContext); }}
Graphico.STPv2.WebServices.User.registerClass('Graphico.STPv2.WebServices.User',Sys.Net.WebServiceProxy);
Graphico.STPv2.WebServices.User._staticInstance = new Graphico.STPv2.WebServices.User();
Graphico.STPv2.WebServices.User.set_path = function(value) { Graphico.STPv2.WebServices.User._staticInstance.set_path(value); }
Graphico.STPv2.WebServices.User.get_path = function() { return Graphico.STPv2.WebServices.User._staticInstance.get_path(); }
Graphico.STPv2.WebServices.User.set_timeout = function(value) { Graphico.STPv2.WebServices.User._staticInstance.set_timeout(value); }
Graphico.STPv2.WebServices.User.get_timeout = function() { return Graphico.STPv2.WebServices.User._staticInstance.get_timeout(); }
Graphico.STPv2.WebServices.User.set_defaultUserContext = function(value) { Graphico.STPv2.WebServices.User._staticInstance.set_defaultUserContext(value); }
Graphico.STPv2.WebServices.User.get_defaultUserContext = function() { return Graphico.STPv2.WebServices.User._staticInstance.get_defaultUserContext(); }
Graphico.STPv2.WebServices.User.set_defaultSucceededCallback = function(value) { Graphico.STPv2.WebServices.User._staticInstance.set_defaultSucceededCallback(value); }
Graphico.STPv2.WebServices.User.get_defaultSucceededCallback = function() { return Graphico.STPv2.WebServices.User._staticInstance.get_defaultSucceededCallback(); }
Graphico.STPv2.WebServices.User.set_defaultFailedCallback = function(value) { Graphico.STPv2.WebServices.User._staticInstance.set_defaultFailedCallback(value); }
Graphico.STPv2.WebServices.User.get_defaultFailedCallback = function() { return Graphico.STPv2.WebServices.User._staticInstance.get_defaultFailedCallback(); }
Graphico.STPv2.WebServices.User.set_path("/_WebServices/User.asmx");
Graphico.STPv2.WebServices.User.AddTrackToWatchlistAndGetUserWatchlist= function(trackId,scoutRoomId,comment,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.AddTrackToWatchlistAndGetUserWatchlist(trackId,scoutRoomId,comment,pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.AddTrackToWatchlist= function(trackId,scoutRoomId,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.AddTrackToWatchlist(trackId,scoutRoomId,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetAdjustedInvestmentRewards= function(amount,userArtistShowcaseInvestmentId,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetAdjustedInvestmentRewards(amount,userArtistShowcaseInvestmentId,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetInvestmentRewards= function(amount,investInArtistId,investInShowcaseId,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetInvestmentRewards(amount,investInArtistId,investInShowcaseId,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetPrePurchaseOffers= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetPrePurchaseOffers(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetMyOffers= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetMyOffers(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserAlerts= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserAlerts(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserInvestments= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserInvestments(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserReviews= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserReviews(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserSearchResults= function(keywords,countryId,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserSearchResults(keywords,countryId,pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserTips= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserTips(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserWatchlist= function(pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserWatchlist(pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.GetUserWatchlistSummary= function(onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.GetUserWatchlistSummary(onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.DeleteAlert= function(alertId,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.DeleteAlert(alertId,pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.RemoveTrackFromWatchlist= function(trackId,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.RemoveTrackFromWatchlist(trackId,pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.TipArtistAndGetUserWatchlist= function(artistId,pageIndex,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.TipArtistAndGetUserWatchlist(artistId,pageIndex,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.TipArtist= function(artistId,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.TipArtist(artistId,onSuccess,onFailed,userContext); }
Graphico.STPv2.WebServices.User.TipTrack= function(trackId,scoutRoomId,onSuccess,onFailed,userContext) {Graphico.STPv2.WebServices.User._staticInstance.TipTrack(trackId,scoutRoomId,onSuccess,onFailed,userContext); }
