You are here

interface RestfulDataProviderEFQInterface in RESTful 7

@file Contains \RestfulDataProviderEFQInterface

Hierarchy

Expanded class hierarchy of RestfulDataProviderEFQInterface

All classes that implement RestfulDataProviderEFQInterface

File

plugins/restful/RestfulDataProviderEFQInterface.php, line 8
Contains \RestfulDataProviderEFQInterface

View source
interface RestfulDataProviderEFQInterface {

  /**
   * Prepare a query for RestfulEntityBase::getList().
   *
   * @return EntityFieldQuery
   *   The EntityFieldQuery object.
   */
  public function getQueryForList();

  /**
   * Prepare a query for RestfulEntityBase::getTotalCount().
   *
   * @return EntityFieldQuery
   *   The EntityFieldQuery object.
   *
   * @throws RestfulBadRequestException
   */
  public function getQueryCount();

  /**
   * Get the total count of entities that match certain request.
   *
   * @return int
   *   The total number of results without including pagination.
   */
  public function getTotalCount();

}

Members

Namesort descending Modifiers Type Description Overrides
RestfulDataProviderEFQInterface::getQueryCount public function Prepare a query for RestfulEntityBase::getTotalCount(). 1
RestfulDataProviderEFQInterface::getQueryForList public function Prepare a query for RestfulEntityBase::getList(). 1
RestfulDataProviderEFQInterface::getTotalCount public function Get the total count of entities that match certain request. 1