fr.paris.lutece.plugins.document.modules.rulenotifyusers.business
Class NotifyUsersMailingListRemovalListener

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersMailingListRemovalListener
All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener

public class NotifyUsersMailingListRemovalListener
extends Object
implements fr.paris.lutece.portal.service.util.RemovalListener

MailingList Removal Listener


Constructor Summary
NotifyUsersMailingListRemovalListener()
           
 
Method Summary
 boolean canBeRemoved(String strId)
          Check if the object can be safely removed
 String getRemovalRefusedMessage(String id, Locale locale)
          Gives a message explaining why the object can't be removed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifyUsersMailingListRemovalListener

public NotifyUsersMailingListRemovalListener()
Method Detail

canBeRemoved

public boolean canBeRemoved(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 pbject can be removed otherwise false

getRemovalRefusedMessage

public String getRemovalRefusedMessage(String id,
                                       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:
id - The object id
locale - The current locale
Returns:
The message


Copyright © 2014 Mairie de Paris. All Rights Reserved.