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

Definition

interface ISearchableContentType : IContentType, IPlugin
{
	bool IsCacheable { get;  }
	bool VaryCacheByUser { get;  }
	IList<SearchIndexDocument> GetContentToIndex();
	string GetViewHtml(IContent content, Target target);
	int[] GetViewSecurityRoles(Guid contentId);
	void SetIndexStatus(Guid[] contentIds, bool isIndexed);
}

Properties

NameTypeDescriptionDefaultOptions
IsCacheablebool
VaryCacheByUserbool

Methods

IList<SearchIndexDocument> GetContentToIndex();

Return Type

IList<SearchIndexDocument>

string GetViewHtml(IContent content, Target target);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIContentContentRequired
targetTargetTargetRequired

Return Type

string

Int32[] GetViewSecurityRoles(Guid contentId);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired

Return Type

int[]

void SetIndexStatus(Guid[] contentIds, bool isIndexed);

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdsGuid[]Content IdsRequired
isIndexedboolIs IndexedRequired