(Alexey Maslov) OAI-PMH + OAI-ORE Harvesting Patch

http://jira.dspace.org/jira/browse/DS-289

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4228 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Phillips
2009-08-24 21:18:09 +00:00
parent 57ea973114
commit 3dacc68256
35 changed files with 5686 additions and 60 deletions

View File

@@ -258,9 +258,9 @@ public class Item extends DSpaceObject
// Call update to give the item a last modified date. OK this isn't
// amazingly efficient but creates don't happen that often.
context.setIgnoreAuthorization(true);
context.turnOffAuthorisationSystem();
i.update();
context.setIgnoreAuthorization(false);
context.restoreAuthSystemState();
context.addEvent(new Event(Event.CREATE, Constants.ITEM, i.getID(), null));