mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 04:23:13 +00:00
Migrating current AIP Backup/Restore code (DS-466) from 'aip-external-1_6-prototype' Branch into Trunk! See https://wiki.duraspace.org/display/DSPACE/AipBackupRestorePrototype for much more details on this work, and how to export/import AIPs. WARNING -- This changes the PackageIngester and PackageDisseminator interfaces. Any of your local, custom Packagers will require refactoring to support the updated interfaces (obviously all DSpace out-of-the-box Packagers have already been refactored).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5265 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1972,13 +1972,7 @@ public class Item extends DSpaceObject
|
||||
AuthorizeManager.removeAllPolicies(ourContext, this);
|
||||
|
||||
// Remove any Handle
|
||||
// FIXME: HandleManager should provide a way of doing this.
|
||||
// Plus, deleting a Handle may have ramifications
|
||||
// that need considering.
|
||||
DatabaseManager.updateQuery(ourContext,
|
||||
"DELETE FROM handle WHERE resource_type_id= ? " +
|
||||
"AND resource_id= ? ",
|
||||
Constants.ITEM,getID());
|
||||
HandleManager.unbindHandle(ourContext, this);
|
||||
|
||||
// Finally remove item row
|
||||
DatabaseManager.delete(ourContext, itemRow);
|
||||
|
Reference in New Issue
Block a user