Interface RemovalListener
- All Known Implementing Classes:
EmailPatternRegularExpressionRemovalListener,MailingListWorkgroupRemovalListener,PageRoleRemovalListener,PortletRoleRemovalListener
public interface RemovalListener
RemovalListener
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeRemoved(String id) Check if the object can be safely removedgetRemovalRefusedMessage(String id, Locale locale) Gives a message explaining why the object can't be removed
-
Method Details
-
canBeRemoved
Check if the object can be safely removed- Parameters:
id- The object id- Returns:
- true if the pbject can be removed otherwise false
-
getRemovalRefusedMessage
Gives a message explaining why the object can't be removed- Parameters:
id- The object idlocale- The current locale- Returns:
- The message
-