All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.ksu.canvas.interfaces.PageWriter Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package edu.ksu.canvas.interfaces;

import java.io.IOException;
import java.util.Optional;

import edu.ksu.canvas.model.Page;

public interface PageWriter extends CanvasWriter {

    /**
     * Save a course page to Canvas
     * @param page The page object to save
     * @param courseId The Canvas course ID that this page is to be saved to
     * @return The update page after saving
     * @throws IOException When there is an error communicating with Canvas
     */
    Optional updateCoursePage(Page page, String courseId) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy