Interface ItemVersionProvider

All Known Implementing Classes:
DefaultItemVersionProvider

public interface ItemVersionProvider
Author:
Fabio Bolognesi (fabio at atmire dot com), Mark Diggory (markd at atmire dot com), Ben Bosman (ben at atmire dot com)
  • Method Details

    • createNewItemAndAddItInWorkspace

      Item createNewItemAndAddItInWorkspace(Context c, Item item)
    • deleteVersionedItem

      void deleteVersionedItem(Context c, Version versionToDelete, VersionHistory history) throws SQLException
      Throws:
      SQLException
    • updateItemState

      Item updateItemState(Context c, Item itemNew, Item previousItem)
      Copy all data (minus a few exceptions) from the old item to the new item.
      Parameters:
      c - the DSpace context.
      itemNew - the new version of the item.
      previousItem - the old version of the item.
      Returns:
      the new version of the item, with data from the old item.