|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.platform.filesystem.AbstractFileManager
blackboard.platform.filesystem.manager.GradebookFileManager
public class GradebookFileManager
| Field Summary |
|---|
| Fields inherited from interface blackboard.platform.filesystem.FileManager |
|---|
WEB_DELIMITER |
| Constructor Summary | |
|---|---|
GradebookFileManager()
|
|
| Method Summary | |
|---|---|
java.io.File |
getAttemptDirectory(Course crs,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
Returns the root directory relative to the course. |
java.io.File |
getAttemptDirectory(Id courseId,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
Returns the root directory relative to the course. |
java.io.File |
getAttemptDirectory(Id courseId,
Id attemptId,
blackboard.platform.gradebook2.AttemptFileType fileType)
Returns the root directory relative to the course and attempt id. |
java.io.File |
getAttemptDirectory(java.lang.String courseId,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
Returns the root directory relative to the course. |
java.io.File |
getCacheDirectory(Id courseId)
The cache directory is the location used to store temporary cache data used to display the grade center. |
java.io.File |
getGradebookDirectory(Id courseId)
Returns the directory that stores content for a gradebook for a given Course in the system. |
java.io.File |
getGradebookDirectory(Id courseId,
Id attemptId)
Returns the directory that stores all content for a given Attempt in a given Course. |
java.io.File |
getGradebookInstructorDirectory(Id courseId,
Id attemptId,
java.lang.String fileGuid)
Returns the directory that stores a comment file for a given Attempt in a given Course. |
java.io.File |
getGradebookStudentDirectory(Id 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 |
getWebAttemptDirectory(Id courseId,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
Returns the web based root directory relative to the course and attempt id. |
java.lang.String |
getWebAttemptDirectory(Id courseId,
Id attemptId,
blackboard.platform.gradebook2.AttemptFileType fileType)
Returns the web based root directory relative to the course and attempt id. |
java.lang.String |
getWebAttemptDirectory(Id crsId,
java.lang.String attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
Returns the web based root directory relative to the course and attempt id. |
java.lang.String |
getWebAttemptDirectory(java.lang.String courseId,
java.lang.String attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
Returns the web based root directory relative to the course and attempt id. |
java.lang.String |
getWebContentDirectory(Id crsId)
Returns the web based directory where content and course document items are stored. |
java.lang.String |
getWebContentDirectory(Id crsId,
Id contentId)
Returns the web based directory where content and course document items are stored. |
| Methods inherited from class blackboard.platform.filesystem.AbstractFileManager |
|---|
buildMessage, getCourseFileManager, getCourseObject, getRootDirectory, getUnprotectedRootDirectory, getUnprotectedWebRootDirectory, getWebRootDirectory |
| 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(Id crsId)
throws blackboard.platform.filesystem.FileSystemException
crsId - string course id (name)
blackboard.platform.filesystem.FileSystemException
public java.lang.String getWebContentDirectory(Id crsId,
Id contentId)
throws blackboard.platform.filesystem.FileSystemException
crsId - user-defined string course id (name)contentId - Id for the content item in the course
blackboard.platform.filesystem.FileSystemException
public java.io.File getGradebookDirectory(Id courseId)
throws blackboard.platform.filesystem.FileSystemException
courseId - The requested course's courseId
blackboard.platform.filesystem.FileSystemException
public java.io.File getGradebookDirectory(Id courseId,
Id attemptId)
throws blackboard.platform.filesystem.FileSystemException
courseId - The Id for the CourseattemptId - The Id for the given Attempt.
blackboard.platform.filesystem.FileSystemException
public java.io.File getGradebookInstructorDirectory(Id courseId,
Id attemptId,
java.lang.String fileGuid)
throws blackboard.platform.filesystem.FileSystemException
courseId - The Id for the CourseattemptId - The Id for the given Attempt.fileGuid - A generated unique identifier for this file.
blackboard.platform.filesystem.FileSystemException
public java.io.File getGradebookStudentDirectory(Id courseId,
Id attemptId,
java.lang.String fileGuid)
throws blackboard.platform.filesystem.FileSystemException
courseId - The Id for the CourseattemptId - The Id for the given Attempt.fileGuid - A generated unique identifier for this file.
blackboard.platform.filesystem.FileSystemException
public java.lang.String getWebAttemptDirectory(Id courseId,
Id attemptId,
blackboard.platform.gradebook2.AttemptFileType fileType)
throws blackboard.platform.filesystem.FileSystemException
courseId - IdattemptId - Id
blackboard.platform.filesystem.FileSystemException
public java.lang.String getWebAttemptDirectory(Id courseId,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
throws blackboard.platform.filesystem.FileSystemException
courseId - CourseId external stringattemptId - Id Id
blackboard.platform.filesystem.FileSystemException
public java.lang.String getWebAttemptDirectory(Id crsId,
java.lang.String attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
throws blackboard.platform.filesystem.FileSystemException
crsId - CourseId stringattemptId - Can be either Attempt external string, or for GroupAttempt ids,
a string in the format "grp" + groupAttemptId.toExternalString()
blackboard.platform.filesystem.FileSystemException
public java.lang.String getWebAttemptDirectory(java.lang.String courseId,
java.lang.String attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
throws blackboard.platform.filesystem.FileSystemException
courseId - CourseId stringattemptId - Can be either Attempt external string, or for GroupAttempt ids,
a string in the format "grp" + groupAttemptId.toExternalString()
blackboard.platform.filesystem.FileSystemException
public java.io.File getAttemptDirectory(Id courseId,
Id attemptId,
blackboard.platform.gradebook2.AttemptFileType fileType)
throws blackboard.platform.filesystem.FileSystemException
courseId - Id IdattemptId - Id Id
blackboard.platform.filesystem.FileSystemException
public java.io.File getAttemptDirectory(Id courseId,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
throws blackboard.platform.filesystem.FileSystemException
courseId - String Course idattemptId - Id Id
blackboard.platform.filesystem.FileSystemException
public java.io.File getAttemptDirectory(Course crs,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
throws blackboard.platform.filesystem.FileSystemException
crs - String Course idattemptId - Id Id
blackboard.platform.filesystem.FileSystemException
public java.io.File getAttemptDirectory(java.lang.String courseId,
Id attemptId,
blackboard.data.gradebook.impl.AttemptFile.FileType fileType)
throws blackboard.platform.filesystem.FileSystemException
courseId - String Course idattemptId - Id Id
blackboard.platform.filesystem.FileSystemExceptionpublic java.io.File getCacheDirectory(Id courseId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||