Class DocumentAutoPublicationDocumentSpaceRemovalListener
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.autopublication.DocumentAutoPublicationDocumentSpaceRemovalListener
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.util.RemovalListener
public class DocumentAutoPublicationDocumentSpaceRemovalListener extends Object implements fr.paris.lutece.portal.service.util.RemovalListener
DocumentAutoPublicationDocumentSpaceRemovalListener
-
-
Constructor Summary
Constructors Constructor Description DocumentAutoPublicationDocumentSpaceRemovalListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBeRemoved(String strId)Check if the object can be safely removedStringgetRemovalRefusedMessage(String strId, Locale locale)Gives a message explaining why the object can't be removed
-
-
-
Method Detail
-
canBeRemoved
public boolean canBeRemoved(String strId)
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
public String getRemovalRefusedMessage(String strId, Locale locale)
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
-
-