Package org.sakaiproject.importer.api
Interface ImportDataSource
-
public interface ImportDataSourceAn ImportDataSource is an object that acts as a container for the Importable objects in an archive. You can think of it as the abstract representation of some archive. When an archive has been parsed an ImportDataSource is returned that allows the handlers to the be called passing Importable items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanup()This should be called when the content has been imported and is no longer needed.List<ImportMetadata>getItemCategories()Collection<Importable>getItemsForCategories(List<ImportMetadata> categories)voidsetItemCategories(List<ImportMetadata> categories)voidsetItems(Collection<Importable> items)
-
-
-
Method Detail
-
getItemCategories
List<ImportMetadata> getItemCategories()
-
getItemsForCategories
Collection<Importable> getItemsForCategories(List<ImportMetadata> categories)
-
setItemCategories
void setItemCategories(List<ImportMetadata> categories)
-
setItems
void setItems(Collection<Importable> items)
-
cleanup
void cleanup()
This should be called when the content has been imported and is no longer needed.
-
-