1 40 41 package org.dspace.content.packager; 42 43 import java.io.IOException ; 44 import java.io.InputStream ; 45 import java.sql.SQLException ; 46 47 import org.dspace.authorize.AuthorizeException; 48 import org.dspace.content.Collection; 49 import org.dspace.content.Item; 50 import org.dspace.content.WorkspaceItem; 51 import org.dspace.content.crosswalk.CrosswalkException; 52 import org.dspace.core.Context; 53 54 55 76 public interface PackageIngester 77 { 78 99 WorkspaceItem ingest(Context context, Collection collection, InputStream in, 100 PackageParameters params, String license) 101 throws PackageException, CrosswalkException, 102 AuthorizeException, SQLException , IOException ; 103 104 121 Item replace(Context context, Item item, InputStream in, 122 PackageParameters params) 123 throws PackageException, UnsupportedOperationException , 124 CrosswalkException, AuthorizeException, 125 SQLException , IOException ; 126 127 } 128 | Popular Tags |