Telligent Community
Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Telligent Community 8.x
  • Verint Community
  • More
Telligent Community 8.x
API Documentation ILikeableContentType Plugin Type
  • Ask the Community
  • User Documentation
  • API Documentation
  • Tags
  • More
  • Cancel
  • New
  • Telligent Community 8.5 Developer Documentation
  • -API Reference
    • +Email Template API Documentation
    • +In-Process API Documentation
    • +JavaScript API Documentation
    • Maintaining upgrade safety
    • -Plugin API Documentation
      • +Plugin Associated Types
      • -Plugin Types
        • IAbuseCheckingContentType Plugin Type
        • IActivityStoryContentType Plugin Type
        • IActivityStoryEmbeddableContentFragmentType Plugin Type
        • IActivityStoryType Plugin Type
        • IApiDefinition Plugin Type
        • IApplicationNavigable Plugin Type
        • IApplicationType Plugin Type
        • IAuthenticationPlugin Plugin Type
        • IBookmarkableContentType Plugin Type
        • ICategorizedPlugin Plugin Type
        • ICentralizedFileStorageProvider Provider Type
        • ICentralizedFileStore Plugin Type
        • ICommentableContentType Plugin Type
        • IConfigurableContentConverter Plugin Type
        • IConfigurablePlugin Plugin Type
        • IConfigurableRuleAction Plugin Type
        • IConfigurableRuleComponent Plugin Type
        • IConfigurableRuleCondition Plugin Type
        • IContainerType Plugin Type
        • IContentConverter Plugin Type
        • IContentEmbeddableContentType Plugin Type
        • IContentFragmentImportAdjustment Plugin Type
        • IContentType Plugin Type
        • IContentTypeLimitedScore Plugin Type
        • ICustomCalculatedScore Plugin Type
        • IEmailAttachmentNotificationType Plugin Type
        • IEmailFromNotificationType Plugin Type
        • IEmailHeaderNotificationType Plugin Type
        • IEmailNotificationType Plugin Type
        • IEmailTemplateExtension Plugin Type
        • IEmailTemplatePreviewPlugin Plugin Type
        • IEmbeddableContentFragmentType Plugin Type
        • IEmbeddedThemeableApplicationType Plugin Type
        • IEventEnabledCentralizedFileStorageProvider Provider Type
        • IExtension Plugin Type
        • IExternalAuthenticationPlugin Plugin Type
        • IFileEmbeddableContentType Plugin Type
        • IFileViewer Plugin Type
        • IFindableCentralizedFileStore Plugin Type
        • IGloballySecuredCentralizedFileStore Plugin Type
        • IGroupCustomNavigationPlugin Plugin Type
        • IGroupDefaultCustomNavigationPlugin Plugin Type
        • IGroupNewPostLinkPlugin Plugin Type
        • IHashTaggableContentType Plugin Type
        • IHtmlHeaderExtension Plugin Type
        • IHttpAsyncCallback Plugin Type
        • IHttpAsyncRenderableCentralizedFileStorageProvider Provider Type
        • IHttpCallback Plugin Type
        • IHttpRenderableCentralizedFileStorageProvider Provider Type
        • IInstallablePlugin Plugin Type
        • IIntegratedAuthenticationPlugin Plugin Type
        • IInternalAuthenticationPlugin Plugin Type
        • ILikeableContentType Plugin Type
        • ILocalOnlyScriptedContentFragmentExtension Plugin Type
        • IMentionableContentType Plugin Type
        • IMentionContainingContentType Plugin Type
        • IMetric Plugin Type
        • INavigable Plugin Type
        • INavigableApplicationType Plugin Type
        • INestableContainerType Plugin Type
        • INotificationDistributionType Plugin Type
        • INotificationType Plugin Type
        • IOAuthClient Plugin Type
        • IPermissionRegistrar Plugin Type
        • IPersistentUrlGeneratingFileStorageProvider Provider Type
        • IPlugin Plugin Type
        • IPluginGroup Plugin Type
        • IRateableContentType Plugin Type
        • IRecurringEvolutionJobPlugin Plugin Type
        • IRemoteEntityIdentifier Plugin Type
        • IRequireCleanupAbuseCheckingContentType Plugin Type
        • IRequiredConfigurationPlugin Plugin Type
        • IRestEndpoints Plugin Type
        • IRuleAction Plugin Type
        • IRuleComponent Plugin Type
        • IRuleCondition Plugin Type
        • IRuleTrigger Plugin Type
        • IScore Plugin Type
        • IScriptedContentFragmentContextProvider Plugin Type
        • IScriptedContentFragmentExtension Plugin Type
        • IScriptedContentFragmentFactoryDefaultProvider Plugin Type
        • ISearchableContentType Plugin Type
        • ISearchCategories Plugin Type
        • ISearchProvider Plugin Type
        • ISecuredBookmarkViewContentType Plugin Type
        • ISecuredCentralizedFileStore Plugin Type
        • ISecuredCommentViewContentType Plugin Type
        • ISecuredContentConverter Plugin Type
        • ISecuredContentType Plugin Type
        • ISecuredLikeViewContentType Plugin Type
        • ISecuredMentionViewContentType Plugin Type
        • ISecuredRatingViewContentType Plugin Type
        • ISecuredViewActivityStoryType Plugin Type
        • ISingletonPlugin Plugin Type
        • ISiteCustomNavigationPlugin Plugin Type
        • ISocket Plugin Type
        • ISocketMessageBus Plugin Type
        • ITagBrowseableApplicationType Plugin Type
        • ITagBrowseableContainerType Plugin Type
        • ITaggableContentType Plugin Type
        • ITagModeratingApplicationType Plugin Type
        • ITemplatablePlugin Plugin Type
        • IThemeableApplicationType Plugin Type
        • ITokenRegistrar Plugin Type
        • ITranslatablePlugin Plugin Type
        • IUserActionLinkPlugin Plugin Type
        • IUserCustomNavigationPlugin Plugin Type
        • IUserDefaultCustomNavigationPlugin Plugin Type
        • IValidatableContentConverter Plugin Type
        • IViewableContentType Plugin Type
        • IWebContextualApplicationType Plugin Type
        • IWebContextualContainerType Plugin Type
        • IWebContextualContentType Plugin Type
    • +REST API Documentation
    • +Widget API Documentation
  • Getting started - development environment for 8.x
  • +Platform Topics/Features
  • Sample Applications and Extensions

ILikeableContentType Plugin Type


This interface provides support for liking content and defines the methods needed to secure likes.

ILikeableContentType is defined in the Telligent.Evolution.Extensibility.Content.Version1 namespace of Telligent.Evolution.Core.dll

Definition

interface ILikeableContentType : IContentType, IPlugin
{
	bool SupportsLikes { get;  }
	bool CanLike(Guid contentId, int userId);
	bool CanUnlike(Guid contentId, int userId);
}

Properties

NameTypeDescriptionDefaultOptions
SupportsLikesboolReturns whether any content of this content type can be liked

Methods

bool CanLike(Guid contentId, int userId);

Returns whether the user can like the given content.

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
userIdintUser IdRequired

Return Type

bool

bool CanUnlike(Guid contentId, int userId);

Returns whether the user can unlike the given content.

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
userIdintUser IdRequired

Return Type

bool


  • Share
  • History
  • More
  • Cancel
Related
Recommended
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2019 Verint, Inc.
Powered by Telligent Community