using System.Threading.Tasks;
namespace Sockeye.Biz
{
    /// <summary>
    /// Interface for biz objects that support searching
    /// </summary>
    internal interface ISearchAbleObject
    {

       //get all text for the object that would have been indexed for search
        //called by search::GetInfoAsync as a result of a user requesting a search result sumary
        Task<Search.SearchIndexProcessObjectParameters> GetSearchResultSummary(long id, SockType specificType);

    }

}