Class DatabaseUserRoleRemovalListener

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.util.RemovalListener

    public class DatabaseUserRoleRemovalListener
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.util.RemovalListener
    DatabaseUser Removal Listener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canBeRemoved​(java.lang.String strId)
      Check if the object can be safely removed
      java.lang.String getRemovalRefusedMessage​(java.lang.String strId, java.util.Locale locale)
      Gives a message explaining why the object can't be removed
      • Methods inherited from class java.lang.Object

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

      • DatabaseUserRoleRemovalListener

        public DatabaseUserRoleRemovalListener()
    • Method Detail

      • canBeRemoved

        public boolean canBeRemoved​(java.lang.String strId)
        Check if the object can be safely removed
        Specified by:
        canBeRemoved in interface fr.paris.lutece.portal.service.util.RemovalListener
        Parameters:
        strId - The object id
        Returns:
        true if the object can be removed otherwise false
      • getRemovalRefusedMessage

        public java.lang.String getRemovalRefusedMessage​(java.lang.String strId,
                                                         java.util.Locale locale)
        Gives a message explaining why the object can't be removed
        Specified by:
        getRemovalRefusedMessage in interface fr.paris.lutece.portal.service.util.RemovalListener
        Parameters:
        strId - The object id
        locale - The current locale
        Returns:
        The message