if (searchableQuery != null) {
String countAllQL = searchableQuery.countAllQuery();
if (!StringUtils.isEmpty(countAllQL)) {
repository.setCountAllQL(countAllQL);
}
String findAllQL = searchableQuery.findAllQuery();
if (!StringUtils.isEmpty(findAllQL)) {
repository.setFindAllQL(findAllQL);
}
Class<? extends SearchCallback> callbackClass = searchableQuery.callbackClass();
if (callbackClass != null && callbackClass != SearchCallback.class) {