| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | 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 |
| | |
| | | * 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); |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | handleStatusNotification(notification.getNotificationType(), |
| | | notification.getUserDN(), |
| | | notification.getMessageID(), |
| | | notification.getMessage()); |
| | | } |
| | | } |