From 3a5a3a30ba7eda7c06b7de092554b280f985d218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 17 Aug 2012 20:14:40 +0000 Subject: [PATCH] Used more generic interface 'Handleable' --- application/hub/interfaces/wrapper/class_NodeListWrapper.php | 4 ++-- .../database/wrapper/node/class_NodeListDatabaseWrapper.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/hub/interfaces/wrapper/class_NodeListWrapper.php b/application/hub/interfaces/wrapper/class_NodeListWrapper.php index 3bfc020c8..c04669289 100644 --- a/application/hub/interfaces/wrapper/class_NodeListWrapper.php +++ b/application/hub/interfaces/wrapper/class_NodeListWrapper.php @@ -47,7 +47,7 @@ interface NodeListWrapper extends FrameworkInterface { * @param $handlerInstance An instance of a HandleableMessage class * @return void */ - function registerNodeByMessageData (array $messageData, HandleableMessage $handlerInstance); + function registerNodeByMessageData (array $messageData, Handleable $handlerInstance); /** * Updates an existing entry in node list @@ -57,7 +57,7 @@ interface NodeListWrapper extends FrameworkInterface { * @param $searchInstance An instance of LocalSearchCriteria class * @return void */ - function updateNodeByMessageData (array $messageData, HandleableMessage $handlerInstance, LocalSearchCriteria $searchInstance); + function updateNodeByMessageData (array $messageData, Handleable $handlerInstance, LocalSearchCriteria $searchInstance); } // [EOF] diff --git a/application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php b/application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php index 4d0dfe0f9..f5f860ab8 100644 --- a/application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php +++ b/application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php @@ -170,7 +170,7 @@ class NodeListDatabaseWrapper extends BaseDatabaseWrapper implements NodeListWra * @param $handlerInstance An instance of a HandleableMessage class * @return void */ - public function registerNodeByMessageData (array $messageData, HandleableMessage $handlerInstance) { + public function registerNodeByMessageData (array $messageData, Handleable $handlerInstance) { // Get a data set instance $dataSetInstance = ObjectFactory::createObjectByConfiguredName('dataset_criteria_class', array(self::DB_TABLE_NODE_LIST)); @@ -192,7 +192,7 @@ class NodeListDatabaseWrapper extends BaseDatabaseWrapper implements NodeListWra * @param $searchInstance An instance of LocalSearchCriteria class * @return void */ - public function updateNodeByMessageData (array $messageData, HandleableMessage $handlerInstance, LocalSearchCriteria $searchInstance) { + public function updateNodeByMessageData (array $messageData, Handleable $handlerInstance, LocalSearchCriteria $searchInstance) { // Get a data set instance $dataSetInstance = ObjectFactory::createObjectByConfiguredName('dataset_criteria_class', array(self::DB_TABLE_NODE_LIST)); -- 2.39.5