Package org.sakaiproject.importer.api
Interface HandlesImportable
-
public interface HandlesImportableA handler takes a vendor-neutral content object and stuffs it into a particular Sakai tool. A handler belongs to one and only one Sakai tool. A handler may be called upon many times in the process of importing a single archive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandleType(String typeName)Can this handler deal with this importable type.voidhandle(Importable thing, String siteId)Import the supplied importable into the site.
-
-
-
Method Detail
-
canHandleType
boolean canHandleType(String typeName)
Can this handler deal with this importable type.- Parameters:
typeName- The type of the importable.- Returns:
trueif this handler can handle this type.
-
handle
void handle(Importable thing, String siteId)
Import the supplied importable into the site.- Parameters:
thing- The Importable to be imported.siteId- The site ID into which
-
-