From: Gunnar Wrobel Date: Mon, 3 Jan 2011 16:13:01 +0000 (+0100) Subject: Add the synchronize() method to queries. Add the cached list query. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=73ea4bf3de3ead8ebf411851eac0a66a43481cd1;p=horde.git Add the synchronize() method to queries. Add the cached list query. --- diff --git a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/Base.php b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/Base.php index f7b44eece..86093d56f 100644 --- a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/Base.php +++ b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/Base.php @@ -26,7 +26,7 @@ * @link http://pear.horde.org/index.php?package=Kolab_Storage */ class Horde_Kolab_Storage_List_Query_Base -implements Horde_Kolab_Storage_Query +implements Horde_Kolab_Storage_List_Query { /** * The queriable list. @@ -113,4 +113,13 @@ implements Horde_Kolab_Storage_Query } return $result; } + + /** + * Synchronize the query data with the information from the backend. + * + * @return NULL + */ + public function synchronize() + { + } } \ No newline at end of file diff --git a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Query.php b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Query.php index c353350de..2b32b0316 100644 --- a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Query.php +++ b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Query.php @@ -33,5 +33,12 @@ interface Horde_Kolab_Storage_Query * @param Horde_Kolab_Storage_Queriable $queriable The queriable object. */ public function __construct(Horde_Kolab_Storage_Queriable $queriable); + + /** + * Synchronize the query data with the information from the backend. + * + * @return NULL + */ + public function synchronize(); } diff --git a/framework/Kolab_Storage/package.xml b/framework/Kolab_Storage/package.xml index f449f61de..8d639ac97 100644 --- a/framework/Kolab_Storage/package.xml +++ b/framework/Kolab_Storage/package.xml @@ -31,8 +31,8 @@ jan@horde.org yes - 2011-01-02 - + 2011-01-03 + 0.4.0 0.1.0 @@ -142,9 +142,13 @@ + + + + @@ -433,6 +437,9 @@ + + + @@ -454,6 +461,7 @@ + @@ -462,13 +470,13 @@ + - @@ -617,9 +625,11 @@ + + @@ -711,7 +721,6 @@ - @@ -722,7 +731,9 @@ + + @@ -735,6 +746,7 @@ + @@ -808,7 +820,7 @@ alpha alpha - 2011-01-02 + 2011-01-03 LGPL * Added namespace support (Bug #6691). diff --git a/framework/Kolab_Storage/test/Horde/Kolab/Storage/Stub/FactoryQuery.php b/framework/Kolab_Storage/test/Horde/Kolab/Storage/Stub/FactoryQuery.php index 8c3d829bf..17a93ca8f 100644 --- a/framework/Kolab_Storage/test/Horde/Kolab/Storage/Stub/FactoryQuery.php +++ b/framework/Kolab_Storage/test/Horde/Kolab/Storage/Stub/FactoryQuery.php @@ -24,4 +24,13 @@ implements Horde_Kolab_Storage_Query { $this->called = true; } + + /** + * Synchronize the query data with the information from the backend. + * + * @return NULL + */ + public function synchronize() + { + } } \ No newline at end of file