Interface RemovalListener

    • Method Detail

      • canBeRemoved

        boolean canBeRemoved​(String id)
        Check if the object can be safely removed
        Parameters:
        id - The object id
        Returns:
        true if the pbject can be removed otherwise false
      • getRemovalRefusedMessage

        String getRemovalRefusedMessage​(String id,
                                        Locale locale)
        Gives a message explaining why the object can't be removed
        Parameters:
        id - The object id
        locale - The current locale
        Returns:
        The message