aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/search/SearchService.java
blob: 21deb0b1761b9bc7d55e3f704951aa17c2402fff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.juick.service.search;

import java.util.List;

/**
 * Created by aalexeev on 11/18/16.
 */
public interface SearchService {
    void setMaxResult(int maxResult);

    List<Integer> searchInAllMessages(String searchString, int messageIdBefore);

    List<Integer> searchByStringAndUser(String searchString, final int userId, int messageIdBefore);
}