@Test(expected = InvlidSearchOperatorException.class) public void testNewSearchableWithErrorOperator() { Map<String, Object> searchParams1 = Maps.newHashMap(); searchParams1.put("name_lik", "123"); Searchable.newSearchable(searchParams1); }
public static Searchable newSearchable() { return new SearchRequest(); }
Searchable { public static Searchable newSearchable() { return new SearchRequest(); } }
Searchable { public static Searchable newSearchable() { return new SearchRequest(); }  }
Searchable { public static Searchable newSearchable() { return new SearchRequest(); }  static Searchable newSearchable(); static Searchable newSearchable(final Map<String, Object> searchParams); static Searchable newSearchable(final Map<String, Object> searchParams, final Pageable page); static Searchable newSearchable(final Map<String, Object> searchParams, final Sort sort); static Searchable newSearchable(final Map<String, Object> searchParams, final Pageable page, final Sort sort); abstract Searchable addSearchParam(final String key, final Object value); abstract Searchable addSearchParams(final Map<String, Object> searchParams); abstract Searchable addSearchFilter(
            final String searchProperty, final SearchOperator operator, final Object value); abstract Searchable addSearchFilter(final SearchFilter searchFilter); abstract Searchable addSearchFilters(final Collection<? extends SearchFilter> searchFilters); abstract Searchable or(final SearchFilter first, final SearchFilter... others); abstract Searchable and(final SearchFilter first, final SearchFilter... others); abstract Searchable removeSearchFilter(final String key); abstract Searchable removeSearchFilter(String searchProperty, SearchOperator operator); abstract Searchable convert(final Class<T> entityClass); abstract Searchable markConverted(); abstract Searchable setPage(final Pageable page); abstract Searchable setPage(final int pageNumber, final int pageSize); abstract Searchable addSort(final Sort sort); abstract Searchable addSort(final Sort.Direction direction, String property); abstract Collection<SearchFilter> getSearchFilters(); abstract boolean isConverted(); abstract boolean hasSearchFilter(); abstract boolean hashSort(); abstract void removeSort(); abstract boolean hasPageable(); abstract void removePageable(); abstract Pageable getPage(); abstract Sort getSort(); abstract boolean containsSearchKey(final String key); abstract T getValue(final String key); }
Searchable { public static Searchable newSearchable() { return new SearchRequest(); }  static Searchable newSearchable(); static Searchable newSearchable(final Map<String, Object> searchParams); static Searchable newSearchable(final Map<String, Object> searchParams, final Pageable page); static Searchable newSearchable(final Map<String, Object> searchParams, final Sort sort); static Searchable newSearchable(final Map<String, Object> searchParams, final Pageable page, final Sort sort); abstract Searchable addSearchParam(final String key, final Object value); abstract Searchable addSearchParams(final Map<String, Object> searchParams); abstract Searchable addSearchFilter(
            final String searchProperty, final SearchOperator operator, final Object value); abstract Searchable addSearchFilter(final SearchFilter searchFilter); abstract Searchable addSearchFilters(final Collection<? extends SearchFilter> searchFilters); abstract Searchable or(final SearchFilter first, final SearchFilter... others); abstract Searchable and(final SearchFilter first, final SearchFilter... others); abstract Searchable removeSearchFilter(final String key); abstract Searchable removeSearchFilter(String searchProperty, SearchOperator operator); abstract Searchable convert(final Class<T> entityClass); abstract Searchable markConverted(); abstract Searchable setPage(final Pageable page); abstract Searchable setPage(final int pageNumber, final int pageSize); abstract Searchable addSort(final Sort sort); abstract Searchable addSort(final Sort.Direction direction, String property); abstract Collection<SearchFilter> getSearchFilters(); abstract boolean isConverted(); abstract boolean hasSearchFilter(); abstract boolean hashSort(); abstract void removeSort(); abstract boolean hasPageable(); abstract void removePageable(); abstract Pageable getPage(); abstract Sort getSort(); abstract boolean containsSearchKey(final String key); abstract T getValue(final String key);  }