class StageResourceProvider extends AbstractControllerResourceProvider implements ExtendedResourceProvider {

  @Override
  public QueryResponse queryForResources(Request request, Predicate predicate)
      throws SystemException, UnsupportedPropertyException,
      NoSuchResourceException, NoSuchParentResourceException {

    Set<Resource> results = getResources(request, predicate);

    return new QueryResponseImpl(results, request.getSortRequest() != null, false, results.size());
  }

    StageResourceProvider(AmbariManagementController managementController);

}