UnionQueryProvider.php
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2020 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of the MIT License.
7  *
8  * See the LICENSE file distributed with this work for
9  * additional information.
10  */
11 namespace wcmf\lib\persistence;
12 
13 /**
14  * UnionQueryProvider is used to provide queries to a union query.
15  *
16  * @author ingo herwig <ingo@wemove.com>
17  */
18 interface UnionQueryProvider {
19 
20  /**
21  * Get identifiers for the contained queries
22  * @return Array of string
23  */
24  public function getIds();
25 
26  /**
27  * Execute a single query
28  * @param $queryId
29  * @param $buildDepth
30  * @param $orderby
31  * @param $pagingInfo
32  * @return Array of PersistentObject instances
33  */
34  public function execute($queryId, $buildDepth, $orderby, $pagingInfo);
35 }
36 ?>
execute($queryId, $buildDepth, $orderby, $pagingInfo)
Execute a single query.
getIds()
Get identifiers for the contained queries.
Persistence layer related interfaces and classes.
Definition: namespaces.php:42
UnionQueryProvider is used to provide queries to a union query.