var IamaSubscriptionService=function() {
IamaSubscriptionService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IamaSubscriptionService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IamaSubscriptionService._staticInstance.get_path();},
ContentSubscribe:function(contentType,contentId,userId,notificationType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ContentSubscribe',false,{contentType:contentType,contentId:contentId,userId:userId,notificationType:notificationType},succeededCallback,failedCallback,userContext); },
Subscribe:function(contentType,contentId,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Subscribe',false,{contentType:contentType,contentId:contentId,userId:userId},succeededCallback,failedCallback,userContext); },
UnSubscribe:function(contentType,contentId,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UnSubscribe',false,{contentType:contentType,contentId:contentId,userId:userId},succeededCallback,failedCallback,userContext); },
ContentUnSubscribe:function(contentType,contentId,userId,notificationType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ContentUnSubscribe',false,{contentType:contentType,contentId:contentId,userId:userId,notificationType:notificationType},succeededCallback,failedCallback,userContext); },
SendNotifications:function(contentType,contentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendNotifications',false,{contentType:contentType,contentId:contentId},succeededCallback,failedCallback,userContext); },
SendNotificationsWithOption:function(contentType,contentId,optionalContentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendNotificationsWithOption',false,{contentType:contentType,contentId:contentId,optionalContentId:optionalContentId},succeededCallback,failedCallback,userContext); }}
IamaSubscriptionService.registerClass('IamaSubscriptionService',Sys.Net.WebServiceProxy);
IamaSubscriptionService._staticInstance = new IamaSubscriptionService();
IamaSubscriptionService.set_path = function(value) { IamaSubscriptionService._staticInstance.set_path(value); }
IamaSubscriptionService.get_path = function() { return IamaSubscriptionService._staticInstance.get_path(); }
IamaSubscriptionService.set_timeout = function(value) { IamaSubscriptionService._staticInstance.set_timeout(value); }
IamaSubscriptionService.get_timeout = function() { return IamaSubscriptionService._staticInstance.get_timeout(); }
IamaSubscriptionService.set_defaultUserContext = function(value) { IamaSubscriptionService._staticInstance.set_defaultUserContext(value); }
IamaSubscriptionService.get_defaultUserContext = function() { return IamaSubscriptionService._staticInstance.get_defaultUserContext(); }
IamaSubscriptionService.set_defaultSucceededCallback = function(value) { IamaSubscriptionService._staticInstance.set_defaultSucceededCallback(value); }
IamaSubscriptionService.get_defaultSucceededCallback = function() { return IamaSubscriptionService._staticInstance.get_defaultSucceededCallback(); }
IamaSubscriptionService.set_defaultFailedCallback = function(value) { IamaSubscriptionService._staticInstance.set_defaultFailedCallback(value); }
IamaSubscriptionService.get_defaultFailedCallback = function() { return IamaSubscriptionService._staticInstance.get_defaultFailedCallback(); }
IamaSubscriptionService.set_enableJsonp = function(value) { IamaSubscriptionService._staticInstance.set_enableJsonp(value); }
IamaSubscriptionService.get_enableJsonp = function() { return IamaSubscriptionService._staticInstance.get_enableJsonp(); }
IamaSubscriptionService.set_jsonpCallbackParameter = function(value) { IamaSubscriptionService._staticInstance.set_jsonpCallbackParameter(value); }
IamaSubscriptionService.get_jsonpCallbackParameter = function() { return IamaSubscriptionService._staticInstance.get_jsonpCallbackParameter(); }
IamaSubscriptionService.set_path("/controls/IamaSubscriptionService.asmx");
IamaSubscriptionService.ContentSubscribe= function(contentType,contentId,userId,notificationType,onSuccess,onFailed,userContext) {IamaSubscriptionService._staticInstance.ContentSubscribe(contentType,contentId,userId,notificationType,onSuccess,onFailed,userContext); }
IamaSubscriptionService.Subscribe= function(contentType,contentId,userId,onSuccess,onFailed,userContext) {IamaSubscriptionService._staticInstance.Subscribe(contentType,contentId,userId,onSuccess,onFailed,userContext); }
IamaSubscriptionService.UnSubscribe= function(contentType,contentId,userId,onSuccess,onFailed,userContext) {IamaSubscriptionService._staticInstance.UnSubscribe(contentType,contentId,userId,onSuccess,onFailed,userContext); }
IamaSubscriptionService.ContentUnSubscribe= function(contentType,contentId,userId,notificationType,onSuccess,onFailed,userContext) {IamaSubscriptionService._staticInstance.ContentUnSubscribe(contentType,contentId,userId,notificationType,onSuccess,onFailed,userContext); }
IamaSubscriptionService.SendNotifications= function(contentType,contentId,onSuccess,onFailed,userContext) {IamaSubscriptionService._staticInstance.SendNotifications(contentType,contentId,onSuccess,onFailed,userContext); }
IamaSubscriptionService.SendNotificationsWithOption= function(contentType,contentId,optionalContentId,onSuccess,onFailed,userContext) {IamaSubscriptionService._staticInstance.SendNotificationsWithOption(contentType,contentId,optionalContentId,onSuccess,onFailed,userContext); }

