DS-3651: several improvements

This commit is contained in:
frederic
2017-10-09 15:26:45 +02:00
committed by Tom Desair
parent eb65a3fc73
commit db54bc12f2
11 changed files with 229 additions and 125 deletions

View File

@@ -27,9 +27,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;
import java.util.*;
/**
* Service implementation for the Bitstream object.
@@ -453,4 +451,8 @@ public class BitstreamServiceImpl extends DSpaceObjectServiceImpl<Bitstream> imp
public List<Bitstream> getNotReferencedBitstreams(Context context) throws SQLException {
return bitstreamDAO.getNotReferencedBitstreams(context);
}
public String getLastModified(Bitstream bitstream) {
return bitstreamStorageService.getLastModified(bitstream);
}
}