ISearchableContentType is defined in the Telligent.Evolution.Extensibility.Content.Version1 namespace.
Definition
interface ISearchableContentType : IContentType { bool IsCacheable { get; } bool VaryCacheByUser { get; } IList<SearchIndexDocument> GetContentToIndex(); string GetViewHtml(IContent content, Target target); int[] GetViewSecurityRoles(Guid contentId); void ReindexAll(); void SetIndexStatus(Guid[] contentIds, bool isIndexed); }
Methods
IList<SearchIndexDocument> GetContentToIndex();
Return Type
string GetViewHtml(IContent content, Target target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| content | IContent | Content | Required | ||
| target | Target | Target | Required |
Return Type
int[] GetViewSecurityRoles(Guid contentId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| contentId | Guid | Content Id | Required |
Return Type
int[]
void ReindexAll();
void SetIndexStatus(Guid[] contentIds, bool isIndexed);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| contentIds | Guid[] | Content Ids | Required | ||
| isIndexed | bool | Is Indexed | Required |