Class DemandTypeRoleRemovalListener
java.lang.Object
fr.paris.lutece.plugins.crm.business.demand.DemandTypeRoleRemovalListener
- All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener
public class DemandTypeRoleRemovalListener
extends Object
implements fr.paris.lutece.portal.service.util.RemovalListener
DemandTypeRoleRemovalListener
-
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 cannot be removed
-
Constructor Details
-
DemandTypeRoleRemovalListener
public DemandTypeRoleRemovalListener()
-
-
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 cannot be removed- Specified by:
getRemovalRefusedMessagein interfacefr.paris.lutece.portal.service.util.RemovalListener- Parameters:
strId- The object idlocale- The current locale- Returns:
- The message
-