Merge Queryable into QueryInterface

A *Query*Interface describes an object as being queryable, now.

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-04 11:07:50 +02:00
parent d09ea2845d
commit ca5ef2da2b
2 changed files with 4 additions and 5 deletions

View File

@ -5,4 +5,4 @@ namespace Icinga\Data;
use Countable; use Countable;
interface QueryInterface extends Browsable, Fetchable, Filterable, Limitable, Sortable, Countable {}; interface QueryInterface extends Queryable, Browsable, Fetchable, Filterable, Limitable, Sortable, Countable {};

View File

@ -3,14 +3,13 @@
namespace Icinga\Data; namespace Icinga\Data;
use Zend_Paginator;
use Icinga\Application\Icinga; use Icinga\Application\Icinga;
use Icinga\Data\Filter\Filter; use Icinga\Data\Filter\Filter;
use Icinga\Web\Paginator\Adapter\QueryAdapter;
use Zend_Paginator;
use Exception;
use Icinga\Exception\IcingaException; use Icinga\Exception\IcingaException;
use Icinga\Web\Paginator\Adapter\QueryAdapter;
class SimpleQuery implements QueryInterface, Queryable class SimpleQuery implements QueryInterface
{ {
/** /**
* Query data source * Query data source