OSID Logo
OSID Specifications
filing package
Version 3.0.0
Interfaceosid.filing.FilingProxyManager
Implementsosid.OsidProxyManager
osid.filing.FilingProfile
Used Byosid.orchestration.OrchestrationManager
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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSystem() 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_FOUNDpath is not found or is not a directory
NULL_ARGUMENTpath or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSystem() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSystem() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSystemManagement() 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_FOUNDpath is not found or is not a directory
NULL_ARGUMENTpath or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSystemManagement() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSystemManagement() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileContent() 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_FOUNDpath is not found or is not a directory
NULL_ARGUMENTpath or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileContent() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileContent() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileLookup() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileLookup() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileQuery() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileQuery() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSearch() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSearch() 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.FileNotificationSessiona FileNotificationSession
ErrorsNULL_ARGUMENTfileReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileNotification() 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_FOUNDdirectoryPath is not found
NULL_ARGUMENTfileReceiver, directoryId , or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileNotification() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsFileSmartDirectory() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryLookup() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryLookup() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryQuery() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryQuery() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectorySearch() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectorySearch() 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_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryAdmin() 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_FOUNDdirectoryId is not found
NULL_ARGUMENTdirectoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryAdmin() 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_ARGUMENTdirectoryReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryNotification() 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_FOUNDdirectoryPath is not found
NULL_ARGUMENTdirectoryReceiver, directoryId , or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsDirectoryNotification() 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
UNIMPLEMENTEDsupportsFilingAllocation() is false
ComplianceoptionalThis method must be implemented if supportsFilingAllocation() is true .