From 80c58327faaa4873369f6bb949e62792c2f708e0 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.
---
opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java b/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
index 1bc94be..b331d2c 100644
--- a/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
+++ b/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
@@ -25,6 +25,7 @@
* Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
package org.opends.server.api;
+import org.opends.messages.Message;
@@ -103,7 +104,7 @@
public boolean isConfigurationAcceptable(
AccountStatusNotificationHandlerCfg
configuration,
- List<String> unacceptableReasons)
+ List<Message> unacceptableReasons)
{
// This default implementation does not perform any special
// validation. It should be overridden by account status
@@ -133,14 +134,13 @@
* notification.
* @param userDN The DN of the user entry to which this
* notification applies.
- * @param messageID The unique ID for this notification.
* @param message The human-readable message for this
* notification.
*/
public abstract void
handleStatusNotification(
- AccountStatusNotificationType notificationType,
- DN userDN, int messageID, String message);
+ AccountStatusNotificationType notificationType,
+ DN userDN, Message message);
@@ -156,7 +156,6 @@
{
handleStatusNotification(notification.getNotificationType(),
notification.getUserDN(),
- notification.getMessageID(),
notification.getMessage());
}
}
--
Gitblit v1.10.0