fr.paris.lutece.portal.service.util
Interface RemovalListener

All Known Implementing Classes:
EmailPatternRegularExpressionRemovalListener, MailingListWorkgroupRemovalListener, PageRoleRemovalListener, PortletRoleRemovalListener

public interface RemovalListener

RemovalListener


Method Summary
 boolean canBeRemoved(String id)
          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
 

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.