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

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

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

import edu.ksu.canvas.model.Role;
import edu.ksu.canvas.requestOptions.ListRolesOptions;

import java.io.IOException;
import java.util.List;

public interface RoleReader extends CanvasReader {
    /**
     * Return a list of roles for an account.
     * @param options Object encapsulating parameters to the list accounts API call
     * @return List of roles
     * @throws IOException When there is an error communicating with Canvas
     */
    public List listRoles(ListRolesOptions options) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy