I suggest to move this class in dspace-api as it will be useful to port this feature to JSP UI as well and also some batch script could benefit of that utility