This commit is contained in:
16
server/biz/ISearchAbleObject.cs
Normal file
16
server/biz/ISearchAbleObject.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user