protected ViewEntryCollection getEntries() {
    final Map<String, Object> requestScope = getRequestScope();
    final String key = "viewentries-" + this.toString();
    if (!requestScope.containsKey(key)) {
      View view = getView();
      if (StringUtil.isNotEmpty(searchQuery_)) {
        if (getResortColumn() != null) {
          view.FTSearchSorted(
              searchQuery_, 0, getResortColumn(), isAscending(), false, false, false);
        } else {
          view.FTSearch(searchQuery_);
        }
      }

      if (category_ != null) {
        requestScope.put(key, view.getAllEntriesByKey(category_));
      } else {
        requestScope.put(key, view.getAllEntries());
      }
    }
    return (ViewEntryCollection) requestScope.get(key);
  }