OSID Logo
OSID Specifications
filing package
Version 3.1.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.Proxyproxy a proxy
Returnosid.filing.FileSystemSession a FileSystemSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSystem() is false
Complianceoptional This method must be implemented if supportsFileSystem() is true.
MethodgetFileSystemSessionForPath
Description

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

Parametersstringpath the path to a directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSystemSession a FileSystemSession
ErrorsNOT_FOUND path is not found or is not a directory
NULL_ARGUMENT path or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSystem() is false
Complianceoptional This 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.IddirectoryId the Id of a directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSystemSession a FileSystemSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSystem() is false
Complianceoptional This method must be implemented if supportsFileSystem() and supportsVisibleFederation() are true.
MethodgetFileSystemManagementSession
Description

Gets the session for manipulating file systems.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSystemManagementSession a FileSystemManagementSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSystemManagement() is false
Complianceoptional This method must be implemented if supportsFileSystemManagement() is true.
MethodgetFileSystemManagementSessionForPath
Description

Gets the session for manipulating files for the given path.

Parametersstringpath the path to a directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSystemManagementSession a FileSystemManagementSession
ErrorsNOT_FOUND path is not found or is not a directory
NULL_ARGUMENT path or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSystemManagement() is false
Complianceoptional This method must be implemented if supportsFileSystemManagement() and supportsVisibleFederation() are true.
MethodgetFileSystemManagementSessionForDirectory
Description

Gets the session for manipulating files for the given path.

Parametersosid.id.IddirectoryId the Id of a directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSystemManagementSession a FileSystemManagementSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSystemManagement() is false
Complianceoptional This method must be implemented if supportsFileSystemManagement() and supportsVisibleFederation() are true.
MethodgetFileContentSession
Description

Gets the session for reading and writing files.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.FileContentSession a FileContentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileContent() is false
Complianceoptional This method must be implemented if supportsFileContent() is true.
MethodgetFileContentSessionForPath
Description

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

Parametersstringpath the path to a directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileContentSession a FileContentSession
ErrorsNOT_FOUND path is not found or is not a directory
NULL_ARGUMENT path or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileContent() is false
Complianceoptional This 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.IddirectoryId the Id of a directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileContentSession a FileContentSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileContent() is false
Complianceoptional This method must be implemented if supportsFileContent() and supportsVisibleFederation() are true.
MethodgetFileLookupSession
Description

Gets the session for looking up files.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.FileLookupSession the FileLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileLookup() is false
Complianceoptional This method must be implemented if supportsFileLookup() is true.
MethodgetFileLookupSessionForDirectory
Description

Gets a file lookup session for the specified directory.

Parametersosid.id.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileLookupSession a FileLookupSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileLookup() is false
Complianceoptional This method must be implemented if supportsFileLookup() and supportsVisibleFederation() are true.
MethodgetFileQuerySession
Description

Gets the session for querying files.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.FileQuerySession the FileQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileQuery() is false
Complianceoptional This method must be implemented if supportsFileQuery() is true.
MethodgetFileQuerySessionForDirectory
Description

Gets a file query session for the specified directory.

Parametersosid.id.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileQuerySession a FileQuerySession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileQuery() is false
Complianceoptional This method must be implemented if supportsFileQuery() and supportsVisibleFederation() are true.
MethodgetFileSearchSession
Description

Gets the session for searching for files.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSearchSession the FileSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSearch() is false
Complianceoptional This method must be implemented if supportsFileSearch() is true.
MethodgetFileSearchSessionForDirectory
Description

Gets a file search session for the specified directory.

Parametersosid.id.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSearchSession a FileSearchSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSearch() is false
Complianceoptional This method must be implemented if supportsFileSearch() and supportsVisibleFederation() are true.
MethodgetFileNotificationSession
Description

Gets the session for receiving messages about changes to files.

Parametersosid.filing.FileReceiverfileReceiver the notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileNotificationSession a FileNotificationSession
ErrorsNULL_ARGUMENT fileReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileNotification() is false
Complianceoptional This method must be implemented if supportsFileNotification() is true.
MethodgetFileNotificationSessionForDirectory
Description

Gets a file notification session for the specified directory.

Parametersosid.filing.FileReceiverfileReceiver the notification callback
osid.id.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileNotificationSession a FileNotificationSession
ErrorsNOT_FOUND directoryPath is not found
NULL_ARGUMENT fileReceiver, directoryId, or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileNotification() is false
Complianceoptional This method must be implemented if supportsFileNotification() and supportsVisibleFederation() are true.
MethodgetFileSmartDirectorySession
Description

Gets the session for managing dynamic diectories.

Parametersosid.id.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.FileSmartDirectorySession a FileSmartDirectorySession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFileSmartDirectory() is false
Complianceoptional This method must be implemented if supportsFileSmartDirectory() and supportsVisibleFederation() are true.
MethodgetDirectoryLookupSession
Description

Gets the session for examining directories.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryLookupSession a DirectoryLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryLookup() is false
Complianceoptional This 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.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryLookupSession a DirectoryLookupSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryLookup() is false
Complianceoptional This method must be implemented if supportsDirectoryLookup() and supportsVisibleFederation() are true.
MethodgetDirectoryQuerySession
Description

Gets the session for querying directories.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryQuerySession a DirectoryQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryQuery() is false
Complianceoptional This 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.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryQuerySession a DirectoryQuerySession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryQuery() is false
Complianceoptional This method must be implemented if supportsDirectoryQuery() and supportsVisibleFederation() are true.
MethodgetDirectorySearchSession
Description

Gets the session for searching for directories.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectorySearchSession a DirectorySearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectorySearch() is false
Complianceoptional This 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.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectorySearchSession a DirectorySearchSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectorySearch() is false
Complianceoptional This method must be implemented if supportsDirectorySearch() and supportsVisibleFederation() are true.
MethodgetDirectoryAdminSession
Description

Gets the session for creating and removing files.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryAdminSession a DirectoryAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryAdmin() is false
Complianceoptional This 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.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryAdminSession a DirectoryAdminSession
ErrorsNOT_FOUND directoryId is not found
NULL_ARGUMENT directoryId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryAdmin() is false
Complianceoptional This method must be implemented if supportsDirectoryAdmin() and supportsVisibleFederation() are true.
MethodgetDirectoryNotificationSession
Description

Gets the session for receiving messages about changes to directories.

Parametersosid.filing.DirectoryReceiverdirectoryReceiver the notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryNotificationSession a DirectoryNotificationSession
ErrorsNULL_ARGUMENT directoryReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryNotification() is false
Complianceoptional This 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.DirectoryReceiverdirectoryReceiver the notification callback
osid.id.IddirectoryId the Id to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.DirectoryNotificationSession a DirectoryNotificationSession
ErrorsNOT_FOUND directoryPath is not found
NULL_ARGUMENT directoryReceiver, directoryId, or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDirectoryNotification() is false
Complianceoptional This method must be implemented if supportsDirectoryNotification() and supportsVisibleFederation() are true.
MethodgetFilingAllocationProxyManager
Description

Gets the FilingAllocationProxyManager.

Returnosid.filing.allocation.FilingAllocationProxyManager a FilingAllocationProxyManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsFilingAllocation() is false
Complianceoptional This method must be implemented if supportsFilingAllocation() is true.