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