Class EmailPatternRegularExpressionRemovalListener
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.parameter.EmailPatternRegularExpressionRemovalListener
-
- All Implemented Interfaces:
RemovalListener
public class EmailPatternRegularExpressionRemovalListener extends java.lang.Object implements RemovalListener
UserRegularExpressionRemovalListener
-
-
Constructor Summary
Constructors Constructor Description EmailPatternRegularExpressionRemovalListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBeRemoved(java.lang.String strId)Check if the object can be safely removedjava.lang.StringgetRemovalRefusedMessage(java.lang.String strId, java.util.Locale locale)Gives a message explaining why the object can't be removed
-
-
-
Method Detail
-
canBeRemoved
public boolean canBeRemoved(java.lang.String strId)
Check if the object can be safely removed- Specified by:
canBeRemovedin interfaceRemovalListener- Parameters:
strId- The object id- Returns:
- true if the object can be removed otherwise false
-
getRemovalRefusedMessage
public java.lang.String getRemovalRefusedMessage(java.lang.String strId, java.util.Locale locale)Gives a message explaining why the object can't be removed- Specified by:
getRemovalRefusedMessagein interfaceRemovalListener- Parameters:
strId- The object idlocale- The current locale- Returns:
- The message
-
-