ISearchableContentType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.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); }
Methods
IList<SearchIndexDocument> GetContentToIndex();
Return Type
IList<SearchIndexDocument>
string GetViewHtml(IContent content, Target target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
content | IContent | Content | Required | ||
target | Target | Target | Required |
Return Type
string
int[] GetViewSecurityRoles(Guid contentId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required |
Return Type
int[]
void SetIndexStatus(Guid[] contentIds, bool isIndexed);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentIds | Guid[] | Content Ids | Required | ||
isIndexed | bool | Is Indexed | Required |