question: protected boolean beforeDelete ( ) { if ( isStoreAttachmentsOnFileSystem ) { for ( int i = 0 ; i < m_items . size ( ) ; i ++ ) { final MAttachmentEntry entry = m_items . get ( i ) ; final File file = entry . getFile ( ) ; if ( file != null && file . exists ( ) ) { if ( ! file . delete ( ) ) { log . warning ( "unable to delete " + file . getAbsolutePath ( ) ) ; } } } final File folder = new File ( m_attachmentPathRoot + getAttachmentPathSnippet ( ) ) ; if ( folder . exists ( ) ) { if ( ! folder . delete ( ) ) { log . warning ( "unable to delete " + folder . getAbsolutePath ( ) ) ; } } } return true ; }
target:  Executed before Delete operation.