[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "configuration" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Jan 24 18:36:24 CST 2011


branch "configuration" has been updated
       via  68112c50d98f49c43cf9700080699ccaec70ffbc (commit)
      from  889e75d22cbfdb0136bd3224efcc241fd2c9462f (commit)

Summary of changes:
 System/Component/ConfigurationIf.ice |   37 +++++++++++++++++++--------------
 1 files changed, 21 insertions(+), 16 deletions(-)


- Log -----------------------------------------------------------------
commit 68112c50d98f49c43cf9700080699ccaec70ffbc
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Jan 24 20:35:45 2011 -0400

    Remove a special class and add two methods that take its place. One to retrieve all configuration items for groups and one to remove groups.

diff --git a/System/Component/ConfigurationIf.ice b/System/Component/ConfigurationIf.ice
index 851b644..da2e76d 100644
--- a/System/Component/ConfigurationIf.ice
+++ b/System/Component/ConfigurationIf.ice
@@ -51,20 +51,6 @@ module V1
     };
 
     /**
-     * A special configuration item class that is used with the getConfiguration and removeConfiguration
-     * methods.
-     *
-     * Using this item with the getConfiguration method causes all configuration items to be returned for
-     * a group instead of a subset.
-     *
-     * Using this item with the removeConfiguration method causes all configuration items to be removed
-     * along with the configuration group itself.
-     */
-    class ConfigurationItemAll extends ConfigurationItem
-    {
-    };
-
-    /**
      * A dictionary of configuration items. The key is a string to encourage only having a single
      * instance of each configuratiom item, and to also provide a value for logging information.
      */
@@ -129,6 +115,17 @@ module V1
        idempotent ConfigurationGroupSeq getConfiguration(ConfigurationGroupSeq groups);
 
        /**
+	* Retrieves a sequence of configuration groups containing all the configuration items and 
+        * their current values.
+	*
+	* @param groups A sequence of group classes to be retrieved.
+	*
+	* @return A sequence of group classes containing the current values of the configuration items requested.
+	* 
+	*/
+       idempotent ConfigurationGroupSeq getConfigurationAll(ConfigurationGroupSeq groups);
+
+       /**
 	* Retrieves a sequence of current configuration groups. This does not return all the configuration items.
 	* If the configuration items are needed the getConfiguration method must be called afterwards.
 	*
@@ -148,12 +145,20 @@ module V1
        idempotent void setConfiguration(ConfigurationGroupSeq groups) throws SerialConflict;
 
        /**
-	* Remove a configuration group or specific configuration items.
+	* Remove specific configuration items from a configuration group.
+	*
+	* @param groups The groups or configuration items to remove.
+	*
+	*/
+       void removeConfigurationItems(ConfigurationGroupSeq groups);
+
+       /**
+	* Remove a configuration group and all configuration items.
 	*
 	* @param groups The groups or configuration items to remove.
 	*
 	*/
-       void removeConfiguration(ConfigurationGroupSeq groups);
+       void removeConfigurationGroups(ConfigurationGroupSeq groups);
     };
 
 }; /* End of namespace V1 */

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list