Interface RemovalListener

    • Method Detail

      • canBeRemoved

        boolean canBeRemoved​(java.lang.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

        java.lang.String getRemovalRefusedMessage​(java.lang.String id,
                                                  java.util.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