Interface HandlesImportable


  • public interface HandlesImportable
    A 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 Detail

      • canHandleType

        boolean canHandleType​(String typeName)
        Can this handler deal with this importable type.
        Parameters:
        typeName - The type of the importable.
        Returns:
        true if 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