Class ContactListRoleRemovalListener
java.lang.Object
fr.paris.lutece.plugins.contact.business.ContactListRoleRemovalListener
- All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener
public class ContactListRoleRemovalListener
extends Object
implements fr.paris.lutece.portal.service.util.RemovalListener
ContactList Removal Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeRemoved(String strId) Check if the object can be safely removedgetRemovalRefusedMessage(String strId, Locale locale) Gives a message explaining why the object can't be removed
-
Constructor Details
-
ContactListRoleRemovalListener
public ContactListRoleRemovalListener()
-
-
Method Details
-
canBeRemoved
Check if the object can be safely removed- Specified by:
canBeRemovedin interfacefr.paris.lutece.portal.service.util.RemovalListener- Parameters:
strId- The object id- Returns:
- true if the object can be removed otherwise false
-
getRemovalRefusedMessage
Gives a message explaining why the object can't be removed- Specified by:
getRemovalRefusedMessagein interfacefr.paris.lutece.portal.service.util.RemovalListener- Parameters:
strId- The object idlocale- The current locale- Returns:
- The message
-