blackboard.platform.filesystem.manager
Class SessionFileManager
java.lang.Object
blackboard.platform.filesystem.AbstractFileManager
blackboard.platform.filesystem.manager.SessionFileManager
- All Implemented Interfaces:
- FileManager
public class SessionFileManager
- extends blackboard.platform.filesystem.AbstractFileManager
A service that returns File objects representing the path to content files
for Blackboard's assessment web application.
- Since:
- Bb 6.0
|
Method Summary |
java.io.File |
getRootDirectory()
Returns the root of the session directory registered for the application. |
java.io.File |
getRootDirectory(Id session)
Returns the root of the session directory registered for the application. |
java.lang.String |
getWebRootDirectory()
Returns the web based root of the session directory registered for the
application. |
java.lang.String |
getWebRootDirectory(Id session)
Returns the web based root directory relative to the session. |
boolean |
isSessionDirExist(Id session)
|
| Methods inherited from class blackboard.platform.filesystem.AbstractFileManager |
buildMessage, getCourseFileManager, getCourseObject, getUnprotectedRootDirectory, getUnprotectedWebRootDirectory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionFileManager
public SessionFileManager()
getRootDirectory
public java.io.File getRootDirectory(Id session)
throws blackboard.platform.filesystem.FileSystemException
- Returns the root of the session directory registered for the application.
- Specified by:
getRootDirectory in interface FileManager- Overrides:
getRootDirectory in class blackboard.platform.filesystem.AbstractFileManager
- Parameters:
session - The ID of the entity desired
- Throws:
blackboard.platform.filesystem.FileSystemException
getWebRootDirectory
public java.lang.String getWebRootDirectory(Id session)
throws blackboard.platform.filesystem.FileSystemException
- Returns the web based root directory relative to the session.
- Specified by:
getWebRootDirectory in interface FileManager- Overrides:
getWebRootDirectory in class blackboard.platform.filesystem.AbstractFileManager
- Parameters:
session - Id
- Throws:
blackboard.platform.filesystem.FileSystemException
getRootDirectory
public java.io.File getRootDirectory()
throws blackboard.platform.filesystem.FileSystemException
- Returns the root of the session directory registered for the application.
- Throws:
blackboard.platform.filesystem.FileSystemException
getWebRootDirectory
public java.lang.String getWebRootDirectory()
- Returns the web based root of the session directory registered for the
application.
isSessionDirExist
public boolean isSessionDirExist(Id session)
throws blackboard.platform.filesystem.FileSystemException
- Throws:
blackboard.platform.filesystem.FileSystemException
Copyright © 2012 Blackboard, Inc. All Rights Reserved.