OSID Logo
OSID Specifications
filing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.filing.FilingProxyManager
Implementsosid.OsidProxyManager
osid.filing.FilingProfile
Description

The filing manager provides access sessions to retrieve and manage files and directories. A manager may support federation in that files and directories can be accessed by a specified path. Methods in this manager support the passing of a Proxy to pass information from server environments. The sessions included in this manager are:

  • FileSystemSession: a session for traversing file systems
  • FileSystemManagementSession: a session for performing operations across directories
  • FileContentSession: a basic session for reading and writing a file
  • FileLookupSession: a session for looking up files
  • FileQuerySession: a session for searching for files
  • FileSearchSession: a session for searching for files
  • FileNotificationSession: a session for subscribing to changes in files
  • FileSmartDirectorySession: a session for managing smart directories of files
  • DirectoryLookupSession: a session for looking up a directories
  • DirectorQuerySession: a session for searching for directories
  • DirectorySearchSession: a session for searching for directories
  • DirectoryNotificationSession: a session for subscribing to changes in directories
MethodgetFileSystemSession
Description

Gets the session for examining file systems.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.FileSystemSessiona FileSystemSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSystem() is false
ComplianceoptionalThis method must be implemented if supportsFileSystem() is true.
MethodgetFileSystemSessionForPath
Description

Gets the session for exmaning file systems for the given path.

Parametersstringpaththe path to a directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileSystemSessiona FileSystemSession
ErrorsNOT_FOUND path is not found or is not a directory
NULL_ARGUMENT path or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSystem() is false
ComplianceoptionalThis method must be implemented if supportsFileSystem() and supportsVisibleFederation() are true.
MethodgetFileSystemSessionForDirectory
Description

Gets the session for exmaning file systems for the given directory.

Parametersosid.id.IddirectoryIdthe Id of a directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileSystemSessiona FileSystemSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSystem() is false
ComplianceoptionalThis method must be implemented if supportsFileSystem() and supportsVisibleFederation() are true.
MethodgetFileSystemManagementSession
Description

Gets the session for manipulating file systems.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.FileSystemManagementSessiona FileSystemManagementSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSystemManagement() is false
ComplianceoptionalThis method must be implemented if supportsFileSystemManagement() is true.
MethodgetFileSystemManagementSessionForPath
Description

Gets the session for manipulating files for the given path.

Parametersstringpaththe path to a directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileSystemManagementSessiona FileSystemManagementSession
ErrorsNOT_FOUND path is not found or is not a directory
NULL_ARGUMENT path or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSystemManagement() is false
ComplianceoptionalThis method must be implemented if supportsFileSystemManagement() and supportsVisibleFederation() are true.
MethodgetFileSystemManagementSessionForDirectory
Description

Gets the session for manipulating files for the given path.

Parametersosid.id.IddirectoryIdthe Id of a directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileSystemManagementSessiona FileSystemManagementSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSystemManagement() is false
ComplianceoptionalThis method must be implemented if supportsFileSystemManagement() and supportsVisibleFederation() are true.
MethodgetFileContentSession
Description

Gets the session for reading and writing files.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.FileContentSessiona FileContentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileContent() is false
ComplianceoptionalThis method must be implemented if supportsFileContent() is true.
MethodgetFileContentSessionForPath
Description

Gets the session for reading and writing files for the given path.

Parametersstringpaththe path to a directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileContentSessiona FileContentSession
ErrorsNOT_FOUND path is not found or is not a directory
NULL_ARGUMENT path or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileContent() is false
ComplianceoptionalThis method must be implemented if supportsFileContent() and supportsVisibleFederation() are true.
MethodgetFileContentSessionForDirectory
Description

Gets the session for reading and writing files for the given path.

Parametersosid.id.IddirectoryIdthe Id of a directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileContentSessiona FileContentSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileContent() is false
ComplianceoptionalThis method must be implemented if supportsFileContent() and supportsVisibleFederation() are true.
MethodgetFileLookupSession
Description

Gets the session for looking up files.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.FileLookupSessionthe FileLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileLookup() is false
ComplianceoptionalThis method must be implemented if supportsFileLookup() is true.
MethodgetFileLookupSessionForDirectory
Description

Gets a file lookup session for the specified directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileLookupSessiona FileLookupSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileLookup() is false
ComplianceoptionalThis method must be implemented if supportsFileLookup() and supportsVisibleFederation() are true.
MethodgetFileQuerySession
Description

Gets the session for querying files.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.FileQuerySessionthe FileQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileQuery() is false
ComplianceoptionalThis method must be implemented if supportsFileQuery() is true.
MethodgetFileQuerySessionForDirectory
Description

Gets a file query session for the specified directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileQuerySessiona FileQuerySession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileQuery() is false
ComplianceoptionalThis method must be implemented if supportsFileQuery() and supportsVisibleFederation() are true.
MethodgetFileSearchSession
Description

Gets the session for searching for files.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.FileSearchSessionthe FileSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSearch() is false
ComplianceoptionalThis method must be implemented if supportsFileSearch() is true.
MethodgetFileSearchSessionForDirectory
Description

Gets a file search session for the specified directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileSearchSessiona FileSearchSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSearch() is false
ComplianceoptionalThis method must be implemented if supportsFileSearch() and supportsVisibleFederation() are true.
MethodgetFileNotificationSession
Description

Gets the session for receiving messages about changes to files.

Parametersosid.filing.FileReceiverfileReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileNotificationSession a FileNotificationSession
ErrorsNULL_ARGUMENT fileReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileNotification() is false
ComplianceoptionalThis method must be implemented if supportsFileNotification() is true.
MethodgetFileNotificationSessionForDirectory
Description

Gets a file notification session for the specified directory.

Parametersosid.filing.FileReceiverfileReceiverthe notification callback
osid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileNotificationSessiona FileNotificationSession
ErrorsNOT_FOUND directoryPath is not found
NULL_ARGUMENT fileReceiver, directoryId, or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileNotification() is false
ComplianceoptionalThis method must be implemented if supportsFileNotification() and supportsVisibleFederation() are true.
MethodgetFileSmartDirectorySession
Description

Gets the session for managing dynamic diectories.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.FileSmartDirectorySessiona FileSmartDirectorySession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFileSmartDirectory() is false
ComplianceoptionalThis method must be implemented if supportsFileSmartDirectory() and supportsVisibleFederation() are true.
MethodgetDirectoryLookupSession
Description

Gets the session for examining directories.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryLookupSessiona DirectoryLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryLookup() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryLookup() is true.
MethodgetDirectoryLookupSessionForDirectory
Description

Gets the session for examining a given directory. If the path is an alias, the target directory is used. The path indicates the file alias and the real path indicates the target directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryLookupSessiona DirectoryLookupSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryLookup() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryLookup() and supportsVisibleFederation() are true.
MethodgetDirectoryQuerySession
Description

Gets the session for querying directories.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryQuerySessiona DirectoryQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryQuery() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryQuery() is true.
MethodgetDirectoryQuerySessionForDirectory
Description

Gets the session for querying directories within a given directory. If the path is an alias, the target directory is used. The path indicates the file alias and the real path indicates the target directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryQuerySessiona DirectoryQuerySession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryQuery() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryQuery() and supportsVisibleFederation() are true.
MethodgetDirectorySearchSession
Description

Gets the session for searching for directories.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.DirectorySearchSessiona DirectorySearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectorySearch() is false
ComplianceoptionalThis method must be implemented if supportsDirectorySearch() is true.
MethodgetDirectorySearchSessionForDirectory
Description

Gets the session for searching for directories within a given directory. If the path is an alias, the target directory is used. The path indicates the file alias and the real path indicates the target directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.DirectorySearchSessiona DirectorySearchSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectorySearch() is false
ComplianceoptionalThis method must be implemented if supportsDirectorySearch() and supportsVisibleFederation() are true.
MethodgetDirectoryAdminSession
Description

Gets the session for creating and removing files.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryAdminSessiona DirectoryAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryAdmin() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryAdmin() is true.
MethodgetDirectoryAdminSessionForDirectory
Description

Gets the session for searching for creating and removing files in the given directory. If the path is an alias, the target directory is used. The path indicates the file alias and the real path indicates the target directory.

Parametersosid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryAdminSessiona DirectoryAdminSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryAdmin() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryAdmin() and supportsVisibleFederation() are true.
MethodgetDirectoryNotificationSession
Description

Gets the session for receiving messages about changes to directories.

Parametersosid.filing.DirectoryReceiverdirectoryReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryNotificationSessiona DirectoryNotificationSession
ErrorsNULL_ARGUMENT directoryReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryNotification() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryNotification() is true.
MethodgetDirectoryNotificationSessionForDirectory
Description

Gets the session for receiving messages about changes to directories in the given directory. If the path is an alias, the target directory is used. The path indicates the file alias and the real path indicates the target directory.

Parametersosid.filing.DirectoryReceiverdirectoryReceiverthe notification callback
osid.id.IddirectoryIdthe Id to the directory
osid.proxy.Proxyproxya proxy
Returnosid.filing.DirectoryNotificationSessiona DirectoryNotificationSession
ErrorsNOT_FOUND directoryPath is not found
NULL_ARGUMENT directoryReceiver, directoryId, or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsDirectoryNotification() is false
ComplianceoptionalThis method must be implemented if supportsDirectoryNotification() and supportsVisibleFederation() are true.
MethodgetFilingAllocationProxyManager
Description

Gets the FilingAllocationProxyManager.

Returnosid.filing.allocation.FilingAllocationProxyManagera FilingAllocationProxyManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsFilingAllocation() is false
ComplianceoptionalThis method must be implemented if supportsFilingAllocation() is true.