From 58a50508676500a29b29075f66e454b113a08791 Mon Sep 17 00:00:00 2001
From: jdemendi <jdemendi@localhost>
Date: Wed, 08 Aug 2007 09:57:42 +0000
Subject: [PATCH] This set of changes add ID to identify network groups, workflows and workflow elements. These identifiers pave the way for the network group and workflow configuration.

---
 opends/src/server/org/opends/server/messages/CoreMessages.java |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index 4fd0e24..3bb47e3 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -6352,6 +6352,37 @@
 
 
   /**
+   * The message ID for the message that will be used if an attempt is made to
+   * register a workflow with an ID that is already registered with the server.
+   * This takes a single argument, which is the conflicting workflow ID.
+   */
+  public static final int MSGID_REGISTER_WORKFLOW_ALREADY_EXISTS =
+       CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_ERROR | 635;
+
+
+
+  /**
+   * The message ID for the message that will be used if an attempt is made to
+   * register a workflow node with an ID that is already registered with a
+   * network group.  This takes two arguments, which are the conflicting
+   * workflow ID and the network group ID.
+   */
+  public static final int MSGID_REGISTER_WORKFLOW_NODE_ALREADY_EXISTS =
+       CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_ERROR | 636;
+
+
+
+  /**
+   * The message ID for the message that will be used if an attempt is made to
+   * register a network group with an ID that is already registered.  This
+   * takes a single argument, which is the conflicting network group ID.
+   */
+  public static final int MSGID_REGISTER_NETWORK_GROUP_ALREADY_EXISTS =
+       CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_ERROR | 637;
+
+
+
+  /**
    * Associates a set of generic messages with the message IDs defined
    * in this class.
    */
@@ -8655,6 +8686,18 @@
     registerMessage(MSGID_IDLETIME_UNEXPECTED_ERROR,
                     "An unexpected error occurred in the idle time limit " +
                     "thread:  %s");
+    registerMessage(MSGID_REGISTER_WORKFLOW_ALREADY_EXISTS,
+                    "Unable to register workflow %s with the Directory " +
+                    "Server because another workflow with the same " +
+                    "workflow ID is already registered");
+    registerMessage(MSGID_REGISTER_WORKFLOW_NODE_ALREADY_EXISTS,
+                    "Unable to register workflow node %s with the network " +
+                    "group %s because another workflow node with the same " +
+                    "workflow node ID is already registered");
+    registerMessage(MSGID_REGISTER_NETWORK_GROUP_ALREADY_EXISTS,
+                    "Unable to register network group %s with the Directory " +
+                    "Server because another network group with the same " +
+                    "network group ID is already registered");
   }
 }
 

--
Gitblit v1.10.0