Type.registerNamespace('Kleenex.Services');
Kleenex.Services.CardService=function() {
Kleenex.Services.CardService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Kleenex.Services.CardService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Kleenex.Services.CardService._staticInstance.get_path();},
GiveATissue:function(cardId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GiveATissue',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
ToggleCardFavorite:function(cardId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ToggleCardFavorite',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
RemoveCardFavorite:function(cardId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveCardFavorite',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
IsFavoriteCard:function(cardId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsFavoriteCard',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
FlagInappropriate:function(cardId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FlagInappropriate',false,{cardId:cardId},succeededCallback,failedCallback,userContext); }}
Kleenex.Services.CardService.registerClass('Kleenex.Services.CardService',Sys.Net.WebServiceProxy);
Kleenex.Services.CardService._staticInstance = new Kleenex.Services.CardService();
Kleenex.Services.CardService.set_path = function(value) { Kleenex.Services.CardService._staticInstance.set_path(value); }
Kleenex.Services.CardService.get_path = function() { return Kleenex.Services.CardService._staticInstance.get_path(); }
Kleenex.Services.CardService.set_timeout = function(value) { Kleenex.Services.CardService._staticInstance.set_timeout(value); }
Kleenex.Services.CardService.get_timeout = function() { return Kleenex.Services.CardService._staticInstance.get_timeout(); }
Kleenex.Services.CardService.set_defaultUserContext = function(value) { Kleenex.Services.CardService._staticInstance.set_defaultUserContext(value); }
Kleenex.Services.CardService.get_defaultUserContext = function() { return Kleenex.Services.CardService._staticInstance.get_defaultUserContext(); }
Kleenex.Services.CardService.set_defaultSucceededCallback = function(value) { Kleenex.Services.CardService._staticInstance.set_defaultSucceededCallback(value); }
Kleenex.Services.CardService.get_defaultSucceededCallback = function() { return Kleenex.Services.CardService._staticInstance.get_defaultSucceededCallback(); }
Kleenex.Services.CardService.set_defaultFailedCallback = function(value) { Kleenex.Services.CardService._staticInstance.set_defaultFailedCallback(value); }
Kleenex.Services.CardService.get_defaultFailedCallback = function() { return Kleenex.Services.CardService._staticInstance.get_defaultFailedCallback(); }
Kleenex.Services.CardService.set_path("/Services/CardService.asmx");
Kleenex.Services.CardService.GiveATissue= function(cardId,onSuccess,onFailed,userContext) {Kleenex.Services.CardService._staticInstance.GiveATissue(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.CardService.ToggleCardFavorite= function(cardId,onSuccess,onFailed,userContext) {Kleenex.Services.CardService._staticInstance.ToggleCardFavorite(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.CardService.RemoveCardFavorite= function(cardId,onSuccess,onFailed,userContext) {Kleenex.Services.CardService._staticInstance.RemoveCardFavorite(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.CardService.IsFavoriteCard= function(cardId,onSuccess,onFailed,userContext) {Kleenex.Services.CardService._staticInstance.IsFavoriteCard(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.CardService.FlagInappropriate= function(cardId,onSuccess,onFailed,userContext) {Kleenex.Services.CardService._staticInstance.FlagInappropriate(cardId,onSuccess,onFailed,userContext); }
