Class RemovalListenerService


  • public class RemovalListenerService
    extends java.lang.Object
    RemovalListenerService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkForRemoval​(java.lang.String strIdToRemove, java.util.List<java.lang.String> listMessages, java.util.Locale locale)
      Check if an object can be remove
      void registerListener​(RemovalListener listener)
      Register a new Removal listener
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemovalListenerService

        public RemovalListenerService()
    • Method Detail

      • registerListener

        public void registerListener​(RemovalListener listener)
        Register a new Removal listener
        Parameters:
        listener - The listener to register
      • checkForRemoval

        public boolean checkForRemoval​(java.lang.String strIdToRemove,
                                       java.util.List<java.lang.String> listMessages,
                                       java.util.Locale locale)
        Check if an object can be remove
        Parameters:
        strIdToRemove - The object ID
        listMessages - Messages if some listeners have refused the removal
        locale - The current locale
        Returns:
        true if the object can be removed otherwise false