This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IContentSubscriptions>()
and is defined in Telligent.Evolution.Platform.dll
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
DataTypeId | Guid |
Methods
bool CanCreate(Guid contentId, Guid contentTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
Return Type
bool
bool CanDelete(Guid contentId, Guid? typeId, int subscribedUserId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
typeId | Guid? | Type Id | Required | ||
subscribedUserId | int | Subscribed User Id | Required |
Return Type
bool
ContentSubscription Create(Guid contentId, Guid contentTypeId, ContentSubscriptionOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
options | ContentSubscriptionOptions | Options | Optional |
Return Type
ContentSubscription Delete(Guid contentId, Guid contentTypeId, ContentSubscriptionOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
options | ContentSubscriptionOptions | Options | Optional |
Return Type
ContentSubscription Get(Guid contentId, ContentSubscriptionGetOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
options | ContentSubscriptionGetOptions | Options | Optional |
Return Type
PagedList<ContentSubscription> List(ContentSubscriptionListOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | ContentSubscriptionListOptions | Options | Optional |
Return Type
PagedList<ContentSubscription>
PagedList<ContentSubscription> List(Guid contentId, Guid contentTypeId, ContentSubscriberListOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
options | ContentSubscriberListOptions | Options | Optional |
Return Type
PagedList<ContentSubscription>
void MuteSubscription(Guid contentId, Guid contentTypeId, bool isMuted, ContentSubscriptionMuteOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
isMuted | bool | Is Muted | Required | ||
options | ContentSubscriptionMuteOptions | Options | Optional |
PagedList<User> SubscribedUsers(Guid contentId, ContentSubscriberListOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
options | ContentSubscriberListOptions | Options | Optional |
Return Type
bool Supports(Guid contentTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentTypeId | Guid | Content Type Id | Required |
Return Type
bool