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 Detail

      • createNewItemAndAddItInWorkspace

        Item createNewItemAndAddItInWorkspace​(Context c,
                                              Item item)
      • 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.