Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Telligent Community 9.x
  • Verint Community
Telligent Community 9.x
API Documentation IActivityStoryType Plugin Type
  • Ask the Community
  • User Documentation
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • Telligent Community 9.0 API Documentation
  • +In-Process API Documentation
  • -Plugin API Documentation
    • +Plugin Associated Types
    • -Plugin Types
      • IAbuseCheckingContentType Plugin Type
      • IAbuseDetector Plugin Type
      • IActivityStoryContentType Plugin Type
      • IActivityStoryEmbeddableContentFragmentType Plugin Type
      • IActivityStoryType Plugin Type
      • IAdministrationExplicitPanel Plugin Type
      • IAdministrationPanel Plugin Type
      • IAdministrationPanelCategory Plugin Type
      • IApi Provider Type
      • IApiDefinition Plugin Type
      • IApplicationNavigable Plugin Type
      • IApplicationPanel Plugin Type
      • IApplicationType Plugin Type
      • IAuthenticationPlugin Plugin Type
      • IAuthenticationPlugin V2 Plugin Type
      • IBookmarkableContentType Plugin Type
      • ICategorizedPlugin Plugin Type
      • ICentralizedFileStorageProvider Provider Type
      • ICentralizedFileStore Plugin Type
      • IChildSecuredContentType Plugin Type
      • ICommentableContentType Plugin Type
      • IConfigurableContentConverter Plugin Type
      • IConfigurablePlugin Plugin Type
      • IConfigurableRuleAction Plugin Type
      • IConfigurableRuleComponent Plugin Type
      • IConfigurableRuleCondition Plugin Type
      • IConfigurableThemeableApplicationType Plugin Type
      • IContainerPanel Plugin Type
      • IContainerType Plugin Type
      • IContentConverter Plugin Type
      • IContentConverter V2 Plugin Type
      • IContentEmbeddableContentType Plugin Type
      • IContentFragmentImportAdjustment Plugin Type
      • IContentType Plugin Type
      • IContentTypeLimitedScore Plugin Type
      • ICustomCalculatedScore Plugin Type
      • ICustomPageSupportingThemeableApplicationType Plugin Type
      • IDisabledContentNotificationType 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
      • IEvolutionJob Provider Type
      • IExplicitPanel Plugin Type
      • IExtension Plugin Type
      • IExternalAuthenticationPlugin Plugin Type
      • IExternalAuthenticationPlugin V2 Plugin Type
      • IFeaturableContentType Plugin Type
      • IFileEmbeddableContentType Plugin Type
      • IFileViewer Plugin Type
      • IFilteredPluginTypesAdministrationPanel 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
      • IHttpRequestFilter Plugin Type
      • IInstallablePlugin Plugin Type
      • IIntegratedAuthenticationPlugin Plugin Type
      • IInternalAuthenticationPlugin Plugin Type
      • ILikeableContentType Plugin Type
      • ILocalOnlyScriptedContentFragmentExtension Plugin Type
      • ILoggableException Provider Type
      • IManageableApplicationType Plugin Type
      • IManageableCommentableContentType 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
      • IPluginTypesAdministrationPanel Plugin Type
      • IPreviewableContentType Plugin Type
      • IQueryableApplicationType Plugin Type
      • IRateableContentType Plugin Type
      • IRecurringEvolutionJobPlugin Plugin Type
      • IRemoteEntityIdentifier Plugin Type
      • IRenderableConfigurablePlugin Plugin Type
      • IRequireCleanupAbuseCheckingContentType Plugin Type
      • IRequiredConfigurationPlugin Plugin Type
      • IRestEndpoints V2 Plugin Type
      • IRuleAction Plugin Type
      • IRuleComponent Plugin Type
      • IRuleCondition Plugin Type
      • IRuleTrigger Plugin Type
      • IScore Plugin Type
      • IScriptablePlugin Plugin Type
      • IScriptedContentFragmentContextProvider Plugin Type
      • IScriptedContentFragmentExtension Plugin Type
      • IScriptedContentFragmentFactoryDefaultProvider Plugin Type
      • ISearchableContentType Plugin Type
      • ISearchCategories Plugin Type
      • ISearchProvider Plugin Type
      • ISecuredAbuseReviewContentType Plugin Type
      • ISecuredBookmarkViewContentType Plugin Type
      • ISecuredCentralizedFileStore Plugin Type
      • ISecuredCommentViewContentType Plugin Type
      • ISecuredContentConverter Plugin Type
      • ISecuredContentConverter V2 Plugin Type
      • ISecuredContentType Plugin Type
      • ISecuredLikeViewContentType Plugin Type
      • ISecuredMentionViewContentType Plugin Type
      • ISecuredRatingViewContentType Plugin Type
      • ISecuredSubscriptionViewContentType Plugin Type
      • ISecuredViewActivityStoryType Plugin Type
      • ISingletonPlugin Plugin Type
      • ISiteCustomNavigationPlugin Plugin Type
      • ISocket Plugin Type
      • ISocketMessageBus Plugin Type
      • ISubscribableContentType Plugin Type
      • ITagBrowseableApplicationType Plugin Type
      • ITagBrowseableContainerType Plugin Type
      • ITaggableContentType Plugin Type
      • ITagModeratingApplicationType Plugin Type
      • ITemplatablePlugin Plugin Type
      • IThemeableApplicationType Plugin Type
      • IThemePanel Plugin Type
      • ITokenRegistrar Plugin Type
      • ITranslatablePlugin Plugin Type
      • IUserActionLinkPlugin Plugin Type
      • IUserCustomNavigationPlugin Plugin Type
      • IUserDefaultCustomNavigationPlugin Plugin Type
      • IUserRenderableException Provider Type
      • IValidatableContentConverter Plugin Type
      • IViewableContentType Plugin Type
      • IWebContextualApplicationType Plugin Type
      • IWebContextualContainerType Plugin Type
      • IWebContextualContentType Plugin Type
      • IWebhookRegistrar Plugin Type
  • +REST API Documentation
  • +Widget API Documentation

IActivityStoryType Plugin Type


The base interface allowing content, applications, and containers to interact with activity stories. Each type has a sub interface that also defines how to get the item.

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

Definition

interface IActivityStoryType : IPlugin
{
	Guid[] ContentTypeIds { get;  }
	bool IsCacheable { get;  }
	string StoryTypeDescription { get;  }
	Guid StoryTypeId { get;  }
	string StoryTypeName { get;  }
	bool VaryCacheByUser { get;  }
	bool CanDeleteStory(Guid storyId, int userId);
	string GetPreviewHtml(IActivityStory story, Target target);
	int? GetPrimaryUser(IActivityStory story);
	string GetViewHtml(IActivityStory story, Target target);
	void SetController(IActivityStoryController controller);
}

Properties

NameTypeDescriptionDefaultOptions
ContentTypeIdsGuid[]An array of the content types supported by the activity story type. This will usually only be the type implementing the interface.
IsCacheableboolA flag to allow caching of the output of GetPreviewHtml() and GetViewHtml().
StoryTypeDescriptionstringA description of the activity story type.
StoryTypeIdGuidA Guid uniquely identifying the activity story type.
StoryTypeNamestringA readable name for the type of activity story created for this item. For example, blog posts use “Blog Post Activity”.
VaryCacheByUserboolA flag to cache on a per user basis, particularly useful for security reasons.

Methods

bool CanDeleteStory(Guid storyId, int userId);

Used to check whether a user can delete an activity story.

Parameters

NameTypeDescriptionRequiredDefaultOptions
storyIdGuidStory IdRequired
userIdintUser IdRequired

Return Type

bool

string GetPreviewHtml(IActivityStory story, Target target);

This should return a short summary of the activity story, usually a single sentence.

Parameters

NameTypeDescriptionRequiredDefaultOptions
storyIActivityStoryStoryRequired
targetTargetTargetRequired

Return Type

string

int? GetPrimaryUser(IActivityStory story);

Returns the primary actor’s UserId for the given activity story. This is usually the creator of the item or originator of the event.

Parameters

NameTypeDescriptionRequiredDefaultOptions
storyIActivityStoryStoryRequired

Return Type

int?

string GetViewHtml(IActivityStory story, Target target);

This returns the full view of the activity story that will primarily be shown in the activity stream.

Parameters

NameTypeDescriptionRequiredDefaultOptions
storyIActivityStoryStoryRequired
targetTargetTargetRequired

Return Type

string

void SetController(IActivityStoryController controller);

This method is called each time the plugin is loaded. The controller gives privileged access to the plugin not available via the API. Whenever content is created, updated, or deleted, the controller should be used to notify Telligent Evolution of the event so the activity service can run any necessary updates.

Parameters

NameTypeDescriptionRequiredDefaultOptions
controllerIActivityStoryControllerControllerRequired

Extensions

  • IActivityStoryContentType
  • ISecuredViewActivityStoryType

  • 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 2022 Verint, Inc.
Powered by Verint Community