* @return
*/
@DefaultHandler
public Resolution saveThesisFulltext() {
if (id == null || documentPath == null) {
return new CustomErrorResolution(404);
}
final String file = thesesService.getDipstoreResourceAbsolutePath(documentPath);
final String text = thesesService.parseDocument(file);
String relativeThesisPath = thesesDao.getThesis(id, null).getRelativeThesisPath();