|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blackboard.platform.filesystem.GradebookFileManager
public class GradebookFileManager
A service that returns File objects representing the path to content files for Blackboard's gradebook web application.
Constructor Summary | |
---|---|
GradebookFileManager()
|
Method Summary | |
---|---|
static java.io.File |
getGradebookDirectory(java.lang.String courseId)
Returns the directory that stores content for a gradebook for a given Course in the system. |
static java.io.File |
getGradebookDirectory(java.lang.String courseId,
Id attemptId)
Returns the directory that stores all content for a given Attempt in a given Course. |
static java.io.File |
getGradebookInstructorDirectory(java.lang.String courseId,
Id attemptId,
java.lang.String fileGuid)
Returns the directory that stores a comment file for a given Attempt in a given Course. |
static java.io.File |
getGradebookStudentDirectory(java.lang.String courseId,
Id attemptId,
java.lang.String fileGuid)
Returns the directory that stores a comment file for a given Attempt in a given Course. |
java.lang.String |
getWebContentDirectory(Course crs)
Returns the web based directory where content and course document items are stored. |
java.lang.String |
getWebContentDirectory(Course crs,
Id contentId)
Returns the web based directory where content and course document items are stored. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradebookFileManager()
Method Detail |
---|
public java.lang.String getWebContentDirectory(Course crs) throws FileSystemException
user-defined
- string course id (name)course
- Course
FileSystemException
public java.lang.String getWebContentDirectory(Course crs, Id contentId) throws FileSystemException
user-defined
- string course id (name)course
- Course
content
- Id
for the content item in the course
FileSystemException
public static java.io.File getGradebookDirectory(java.lang.String courseId) throws FileSystemException
courseId
- The requested course's courseId
FileSystemException
public static java.io.File getGradebookDirectory(java.lang.String courseId, Id attemptId) throws FileSystemException
courseId
- The Id for the CourseattemptId
- The Id for the given Attempt.
FileSystemException
public static java.io.File getGradebookInstructorDirectory(java.lang.String courseId, Id attemptId, java.lang.String fileGuid) throws FileSystemException
courseId
- The Id for the CourseattemptId
- The Id for the given Attempt.fileGuid
- A generated unique identifier for this file.
FileSystemException
public static java.io.File getGradebookStudentDirectory(java.lang.String courseId, Id attemptId, java.lang.String fileGuid) throws FileSystemException
courseId
- The Id for the CourseattemptId
- The Id for the given Attempt.fileGuid
- A generated unique identifier for this file.
FileSystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |