Type.registerNamespace('Kleenex.Services');
Kleenex.Services.FeelCardService=function() {
Kleenex.Services.FeelCardService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Kleenex.Services.FeelCardService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Kleenex.Services.FeelCardService._staticInstance.get_path();},
GiveATissue:function(cardId,succeededCallback, failedCallback, userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GiveATissue',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
ToggleCardFavorite:function(cardId,succeededCallback, failedCallback, userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ToggleCardFavorite',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
RemoveCardFavorite:function(cardId,succeededCallback, failedCallback, userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RemoveCardFavorite',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
IsFavoriteCard:function(cardId,succeededCallback, failedCallback, userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'IsFavoriteCard',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
FlagInappropriate:function(cardId,succeededCallback, failedCallback, userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'FlagInappropriate',false,{cardId:cardId},succeededCallback,failedCallback,userContext); }}
Kleenex.Services.FeelCardService.registerClass('Kleenex.Services.FeelCardService',Sys.Net.WebServiceProxy);
Kleenex.Services.FeelCardService._staticInstance = new Kleenex.Services.FeelCardService();
Kleenex.Services.FeelCardService.set_path = function(value) {
Kleenex.Services.FeelCardService._staticInstance.set_path(value); }
Kleenex.Services.FeelCardService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Kleenex.Services.FeelCardService._staticInstance.get_path();}
Kleenex.Services.FeelCardService.set_timeout = function(value) {
Kleenex.Services.FeelCardService._staticInstance.set_timeout(value); }
Kleenex.Services.FeelCardService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Kleenex.Services.FeelCardService._staticInstance.get_timeout(); }
Kleenex.Services.FeelCardService.set_defaultUserContext = function(value) { 
Kleenex.Services.FeelCardService._staticInstance.set_defaultUserContext(value); }
Kleenex.Services.FeelCardService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Kleenex.Services.FeelCardService._staticInstance.get_defaultUserContext(); }
Kleenex.Services.FeelCardService.set_defaultSucceededCallback = function(value) { 
 Kleenex.Services.FeelCardService._staticInstance.set_defaultSucceededCallback(value); }
Kleenex.Services.FeelCardService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Kleenex.Services.FeelCardService._staticInstance.get_defaultSucceededCallback(); }
Kleenex.Services.FeelCardService.set_defaultFailedCallback = function(value) { 
Kleenex.Services.FeelCardService._staticInstance.set_defaultFailedCallback(value); }
Kleenex.Services.FeelCardService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Kleenex.Services.FeelCardService._staticInstance.get_defaultFailedCallback(); }
Kleenex.Services.FeelCardService.set_path("/Services/Feel/FeelCardService.asmx");
Kleenex.Services.FeelCardService.GiveATissue= function(cardId,onSuccess,onFailed,userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Kleenex.Services.FeelCardService._staticInstance.GiveATissue(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.FeelCardService.ToggleCardFavorite= function(cardId,onSuccess,onFailed,userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Kleenex.Services.FeelCardService._staticInstance.ToggleCardFavorite(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.FeelCardService.RemoveCardFavorite= function(cardId,onSuccess,onFailed,userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Kleenex.Services.FeelCardService._staticInstance.RemoveCardFavorite(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.FeelCardService.IsFavoriteCard= function(cardId,onSuccess,onFailed,userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Kleenex.Services.FeelCardService._staticInstance.IsFavoriteCard(cardId,onSuccess,onFailed,userContext); }
Kleenex.Services.FeelCardService.FlagInappropriate= function(cardId,onSuccess,onFailed,userContext) {
/// <param name="cardId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Kleenex.Services.FeelCardService._staticInstance.FlagInappropriate(cardId,onSuccess,onFailed,userContext); }
