2018-12-03 22:10:56 +11:00
|
|
|
|
using Examine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Examine
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// An extended <see cref="IValueSetValidator"/> for content indexes
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface IContentValueSetValidator : IValueSetValidator
|
|
|
|
|
|
{
|
2018-12-05 16:53:25 +11:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// When set to true the index will only retain published values
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// Any non-published values will not be put or kept in the index:
|
|
|
|
|
|
/// * Deleted, Trashed, non-published Content items
|
|
|
|
|
|
/// * non-published Variants
|
|
|
|
|
|
/// </remarks>
|
|
|
|
|
|
bool PublishedValuesOnly { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// If true, protected content will be indexed otherwise it will not be put or kept in the index
|
|
|
|
|
|
/// </summary>
|
2018-12-03 22:10:56 +11:00
|
|
|
|
bool SupportProtectedContent { get; }
|
2018-12-05 16:53:25 +11:00
|
|
|
|
|
2018-12-03 22:10:56 +11:00
|
|
|
|
int? ParentId { get; }
|
|
|
|
|
|
|
|
|
|
|
|
bool ValidatePath(string path, string category);
|
|
|
|
|
|
bool ValidateRecycleBin(string path, string category);
|
|
|
|
|
|
bool ValidateProtectedContent(string path, string category);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|