mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 20:43:18 +00:00
Atmire dspace 3.0 versioning contribution
Versioning : Add Spring WebMVC Control Versioning : AIP Prototype Test Improvements.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* The contents of this file are subject to the license and copyright
|
||||
* detailed in the LICENSE and NOTICE files at the root of the source
|
||||
* tree and available online at
|
||||
*
|
||||
* http://www.dspace.org/license/
|
||||
*/
|
||||
package org.dspace.versioning;
|
||||
|
||||
import org.dspace.content.Item;
|
||||
import org.dspace.core.Context;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author Fabio Bolognesi (fabio at atmire dot com)
|
||||
* @author Mark Diggory (markd at atmire dot com)
|
||||
* @author Ben Bosman (ben at atmire dot com)
|
||||
*/
|
||||
public interface ItemVersionProvider {
|
||||
public Item createNewItemAndAddItInWorkspace(Context c, Item item);
|
||||
public void deleteVersionedItem(Context c, Version versionToDelete, VersionHistory history);
|
||||
public Item updateItemState(Context c, Item itemNew, Item previousItem);
|
||||
}
|
Reference in New Issue
Block a user