Interface ServerManagedObjectDeleteListener<T extends Configuration>

  • Type Parameters:
    T - The type of server managed object that this listener should be notified about.

    public interface ServerManagedObjectDeleteListener<T extends Configuration>
    This interface defines the methods that a Directory Server configurable component should implement if it wishes to be able to receive notifications when an existing server managed object is deleted.
    • Method Detail

      • isConfigurationDeleteAcceptable

        boolean isConfigurationDeleteAcceptable​(ServerManagedObject<? extends T> mo,
                                                List<LocalizableMessage> unacceptableReasons)
        Indicates whether the proposed deletion of an existing server managed object is acceptable to this delete listener.
        Parameters:
        mo - The server managed object that will be deleted.
        unacceptableReasons - A list that can be used to hold messages about why the provided server managed object is not acceptable.
        Returns:
        Returns true if the proposed deletion is acceptable, or false if it is not.
      • applyConfigurationDelete

        ConfigChangeResult applyConfigurationDelete​(ServerManagedObject<? extends T> mo)
        Deletes an existing server managed object from this delete listener.
        Parameters:
        mo - The existing server managed object that will be deleted.
        Returns:
        Returns information about the result of deleting the server managed object.