Class SubscriptionController
Inheritance
SubscriptionController
Assembly: DotNetNuke.dll
Syntax
public class SubscriptionController : ServiceLocator<ISubscriptionController, SubscriptionController>, ISubscriptionController
Constructors
SubscriptionController()
Declaration
public SubscriptionController()
Methods
AddSubscription(Subscription)
Declaration
public void AddSubscription(Subscription subscription)
Parameters
DeleteSubscription(Subscription)
Declaration
public void DeleteSubscription(Subscription subscription)
Parameters
DeleteSubscriptionsByObjectKey(int, string)
Declaration
public void DeleteSubscriptionsByObjectKey(int portalId, string objectKey)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
objectKey |
|
GetContentSubscriptions(int, int, string)
Declaration
public IEnumerable<Subscription> GetContentSubscriptions(int portalId, int subscriptionTypeId, string objectKey)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
subscriptionTypeId |
|
string |
objectKey |
|
Returns
GetFactory()
Declaration
protected override Func<ISubscriptionController> GetFactory()
Returns
Overrides
GetUserSubscriptions(UserInfo, int, int)
Declaration
public IEnumerable<Subscription> GetUserSubscriptions(UserInfo user, int portalId, int subscriptionTypeId = -1)
Parameters
Type |
Name |
Description |
UserInfo |
user |
|
int |
portalId |
|
int |
subscriptionTypeId |
|
Returns
IsSubscribed(Subscription)
Declaration
public bool IsSubscribed(Subscription subscription)
Parameters
Returns
UpdateSubscriptionDescription(string, int, string)
Declaration
public int UpdateSubscriptionDescription(string objectKey, int portalId, string newDescription)
Parameters
Returns
Implements
Extension Methods