Class PortletRoleRemovalListener
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletRoleRemovalListener
- All Implemented Interfaces:
RemovalListener
Page 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
-
PortletRoleRemovalListener
public PortletRoleRemovalListener()
-
-
Method Details
-
canBeRemoved
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
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
-