Class HtmlPageWorkgroupRemovalListener
java.lang.Object
fr.paris.lutece.plugins.htmlpage.service.HtmlPageWorkgroupRemovalListener
- All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener
public class HtmlPageWorkgroupRemovalListener
extends Object
implements fr.paris.lutece.portal.service.util.RemovalListener
- Author:
- lenaini
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of HtmlPageWorkgroupRemovalListener -
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
-
HtmlPageWorkgroupRemovalListener
public HtmlPageWorkgroupRemovalListener()Creates a new instance of HtmlPageWorkgroupRemovalListener
-
-
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
-