edu.ksu.canvas.interfaces.ContentMigrationWriter Maven / Gradle / Ivy
package edu.ksu.canvas.interfaces;
import edu.ksu.canvas.model.ContentMigration;
import edu.ksu.canvas.requestOptions.CreateContentMigrationOptions;
import edu.ksu.canvas.requestOptions.CreateCourseContentMigrationOptions;
import java.io.IOException;
import java.util.Optional;
public interface ContentMigrationWriter extends CanvasWriter{
Optional createCourseContentMigration(CreateCourseContentMigrationOptions options) throws IOException;
Optional updateCourseContentMigration(Integer id, CreateCourseContentMigrationOptions options) throws IOException;
Optional createUserContentMigration(String userId, CreateContentMigrationOptions options) throws IOException;
Optional updateUserContentMigration(String userId, Integer id, CreateContentMigrationOptions options) throws IOException;
Optional createGroupContentMigration(String groupId, CreateContentMigrationOptions options) throws IOException;
Optional updateGroupContentMigration(String groupId, Integer id, CreateContentMigrationOptions options) throws IOException;
Optional createAccountContentMigration(String accountId, CreateContentMigrationOptions options) throws IOException;
Optional updateAccountContentMigration(String accountId, Integer id, CreateContentMigrationOptions options) throws IOException;
}