The removeDocument methods in the interfaces IDBasedFileAccess and FileStorageFileAccess have been overloaded with an aditional parameter to allow passing of a hardDelete flag. The new method signatures look like:

List<String> com.openexchange.file.storage.composition.IDBasedF ileAccess.removeDocument(List<String> ids, long sequenceNumber, boolean hardDelete) throws OXException
List<IDTuple> com.openexchange.file.storage.FileStorageFileAcces s.removeDocument(List<IDTuple> ids, long sequenceNumber, boolean hardDelete) throws OXException

Further details are avilable in the corresponding Javadoc.