fr.paris.lutece.plugins.document.modules.rulemovespace.business
Class MoveSpaceSpaceRemovalListener

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceSpaceRemovalListener
All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener

public class MoveSpaceSpaceRemovalListener
extends java.lang.Object
implements fr.paris.lutece.portal.service.util.RemovalListener

Space Removal Listener


Constructor Summary
MoveSpaceSpaceRemovalListener()
           
 
Method Summary
 boolean canBeRemoved(java.lang.String id)
          Check if the object can be safely removed
 java.lang.String getRemovalRefusedMessage(java.lang.String id, java.util.Locale locale)
          Gives a message explaining why the object can't be removed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveSpaceSpaceRemovalListener

public MoveSpaceSpaceRemovalListener()
Method Detail

canBeRemoved

public boolean canBeRemoved(java.lang.String id)
Check if the object can be safely removed

Specified by:
canBeRemoved in interface fr.paris.lutece.portal.service.util.RemovalListener
Parameters:
id - The object id
Returns:
true if the pbject can be removed otherwise false

getRemovalRefusedMessage

public java.lang.String getRemovalRefusedMessage(java.lang.String id,
                                                 java.util.Locale locale)
Gives a message explaining why the object can't be removed

Specified by:
getRemovalRefusedMessage in interface fr.paris.lutece.portal.service.util.RemovalListener
Parameters:
id - The object id
locale - The current locale
Returns:
The message


Copyright © 2009 Mairie de Paris. All Rights Reserved.