Class ProfileWorkgroupRemovalListener
java.lang.Object
fr.paris.lutece.plugins.profiles.business.ProfileWorkgroupRemovalListener
- All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener
public class ProfileWorkgroupRemovalListener
extends Object
implements fr.paris.lutece.portal.service.util.RemovalListener
ProfileWorkgroupRemovalListener
-
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
-
ProfileWorkgroupRemovalListener
public ProfileWorkgroupRemovalListener()
-
-
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
-