[DS-2701-service-api-fix-legacy-id-support] Fix legacy identifier support for the community & removed some obsolete "getLegacyID()" methods

This commit is contained in:
KevinVdV
2015-09-18 12:05:35 +02:00
parent 562b1defc8
commit 0e33f71403
5 changed files with 2 additions and 39 deletions

View File

@@ -664,6 +664,6 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
@Override
public Community findByLegacyId(Context context, int id) throws SQLException {
return communityDAO.findByID(context, Community.class, id);
return communityDAO.findByLegacyId(context, id, Community.class);
}
}