Table of Contents |
---|
Warning |
---|
These patches are now out-of-date, but are left here temporarily for reference. The latest AIP code is now available on DSpace Trunk: http://scm.dspace.org/svn/repo/dspace/trunk/ |
API Changes in the current AipBackupRestorePrototype
- See SVN Sandbox for actual source code: http://scm.dspace.org/svn/repo/sandbox/aip-external-1_6-prototype/
- See JIRA issue: http://jira.dspace.org/jira/browse/DS-466
Change Summary (work in progress)
...
org.dspace.content.BitstreamFormat
– HARDCODED Support level text (Used to restore proper support level values to bitstreams)org.dspace.content.Site
– new getURL() method, used to store Site URL info in Site-level AIPorg.dspace.content.WorkspaceItem
– add ability to create a WorkSpaceItem with a specified Handleorg.dspace.content.Community
– add ability to create a Community with a specified Handle, also create a SubCommunity or Collection with specified Handleorg.dspace.content.InstallItem
– now supports installing an item with a specified Handle, new restoreItem() method (to restore a pre-existing item).org.dspace.content.Collection
– add ability to create a Collection with a specified Handle. Unbind a handle when a Collection is removed.org.dspace.content.Item
– now calls HandleManager.unbindHandle() to unbind a handle when an Item is removed.
...
org.dspace.content.crosswalk.XSLTIngestionCrosswalk
– several methods are now static, new ingestDIM method, which applies any DIM metadata to an existing object. Now supports ingest of Community/Collection objects (in addition to Items)org.dspace.content.crosswalk.XSLTDisseminationCrosswalk
– now supports dissemination of Community or Collection objects (in addition to Items)org.dspace.content.crosswalk.MODSDisseminationCrosswalk
– now supports MODS dissemination of Community or Collection or Site metadata (in addition to Items)org.dspace.content.crosswalk.XSLTCrosswalk
– HARDCODED mapping of Community/Collection DB columns to DC fields (Are these changes NEEDED?? – Tim) Moved these DB column to DC field mappings to PackageUtils utility class. They are necessary for Crosswalks when crosswalking Community or Collection info (as normally crosswalks will actually translate the metadata to DC, and then this mapping can ensure that DC metadata gets into the correct Community or Collection DB column).org.dspace.content.crosswalk.METSDisseminationCrosswalk
– small modifications to work with new PackageDisseminator interface (which deals with File rather than OutputStream)
...
org.dspace.handle.HandleManager
– unbindHandle() method (to officially unbind handles when objects are deleted), lookup Site Object by Handle suffix "0", getHandleInternal now retuns TableRow
org.dspace.workflow.*
org.dspace.workflow.WorkflowItem
– added a new findByItem(Context, Item) method. This allows you to check if an Item is currently under workflow approval.
dspace-lni-api
Full patch : dspace-lni.patch
...