var UserProfileService=function() {
UserProfileService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UserProfileService.prototype={
GetArticleCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'GetArticleCount',false,{},succeededCallback,failedCallback,userContext); },
GetStarCounts:function(CompIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'GetStarCounts',false,{CompIDs:CompIDs},succeededCallback,failedCallback,userContext); },
GetCompetitionText:function(CompID,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'GetCompetitionText',false,{CompID:CompID},succeededCallback,failedCallback,userContext); },
SetStarToCompetionID:function(CompID,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'SetStarToCompetionID',false,{CompID:CompID},succeededCallback,failedCallback,userContext); },
ResetStar:function(CompID,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'ResetStar',false,{CompID:CompID},succeededCallback,failedCallback,userContext); },
StoreArticle:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'StoreArticle',false,{ID:ID},succeededCallback,failedCallback,userContext); },
DeleteStoredArticle:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'DeleteStoredArticle',false,{ID:ID},succeededCallback,failedCallback,userContext); },
SaveStar:function(GUID,succeededCallback, failedCallback, userContext) {
return this._invoke(UserProfileService.get_path(), 'SaveStar',false,{GUID:GUID},succeededCallback,failedCallback,userContext); }}
UserProfileService.registerClass('UserProfileService',Sys.Net.WebServiceProxy);
UserProfileService._staticInstance = new UserProfileService();
UserProfileService.set_path = function(value) { UserProfileService._staticInstance._path = value; }
UserProfileService.get_path = function() { return UserProfileService._staticInstance._path; }
UserProfileService.set_timeout = function(value) { UserProfileService._staticInstance._timeout = value; }
UserProfileService.get_timeout = function() { return UserProfileService._staticInstance._timeout; }
UserProfileService.set_defaultUserContext = function(value) { UserProfileService._staticInstance._userContext = value; }
UserProfileService.get_defaultUserContext = function() { return UserProfileService._staticInstance._userContext; }
UserProfileService.set_defaultSucceededCallback = function(value) { UserProfileService._staticInstance._succeeded = value; }
UserProfileService.get_defaultSucceededCallback = function() { return UserProfileService._staticInstance._succeeded; }
UserProfileService.set_defaultFailedCallback = function(value) { UserProfileService._staticInstance._failed = value; }
UserProfileService.get_defaultFailedCallback = function() { return UserProfileService._staticInstance._failed; }
UserProfileService.set_path("/UserProfileService.asmx");
UserProfileService.GetArticleCount= function(onSuccess,onFailed,userContext) {UserProfileService._staticInstance.GetArticleCount(onSuccess,onFailed,userContext); }
UserProfileService.GetStarCounts= function(CompIDs,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.GetStarCounts(CompIDs,onSuccess,onFailed,userContext); }
UserProfileService.GetCompetitionText= function(CompID,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.GetCompetitionText(CompID,onSuccess,onFailed,userContext); }
UserProfileService.SetStarToCompetionID= function(CompID,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.SetStarToCompetionID(CompID,onSuccess,onFailed,userContext); }
UserProfileService.ResetStar= function(CompID,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.ResetStar(CompID,onSuccess,onFailed,userContext); }
UserProfileService.StoreArticle= function(ID,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.StoreArticle(ID,onSuccess,onFailed,userContext); }
UserProfileService.DeleteStoredArticle= function(ID,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.DeleteStoredArticle(ID,onSuccess,onFailed,userContext); }
UserProfileService.SaveStar= function(GUID,onSuccess,onFailed,userContext) {UserProfileService._staticInstance.SaveStar(GUID,onSuccess,onFailed,userContext); }
