OSID Logo
OSID Specifications
filing allocation package
Version 3.1.0
Interfaceosid.filing.allocation.FilingAllocationProxyManager
Implementsosid.OsidProxyManager
osid.filing.allocation.FilingAllocationProfile
Used Byosid.filing.FilingProxyManager
Description

The filing allocation manager provides access sessions to allocations. Methods in this manager support the passing of a Proxy to pass information from server environments. The sessions included in this manager are:

  • AllocationSession: a session for accessing usage information and quotas for the current user
  • AllocationLookupSession: a session for accessing usage information and quotas
  • AllocationAdminSession a session for assigning quotas
  • AllocationNotificationSession: a session for subscribing to usage warnings and quota changes
MethodgetAllocationSession
Description

Gets the session for accessing usage and quotas.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationSession an AllocationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocation() is false
Complianceoptional This method must be implemented if supportsAllocation() is true.
MethodgetAllocationSessionForDirectory
Description

Gets the session for accessing usage and quotas for 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.

ParametersstringdirectoryPath the pathname to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationSession an AllocationSession
ErrorsINVALID_ARGUMENT directoryPath is not a directory or an alias to a directory
NOT_FOUND directoryPath is not found
NULL_ARGUMENT directoryPath or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocation() is false
Complianceoptional This method must be implemented if supportsAllocation() and supportsVisibleFederation() are true.
MethodgetAllocationLookupSession
Description

Gets the session for accessing usage and quotas.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationLookupSession an AllocationLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocationLookup() is false
Complianceoptional This method must be implemented if supportsAllocationLookup() is true.
MethodgetAllocationLookupSessionForDirectory
Description

Gets the session for accessing usage and quotas for 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.

ParametersstringdirectoryPath the pathname to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationLookupSession an AllocationLookupSession
ErrorsINVALID_ARGUMENT directoryPath is not a directory or an alias to a directory
NOT_FOUND directoryPath is not found
NULL_ARGUMENT directoryPath or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocationLookup() is false
Complianceoptional This method must be implemented if supportsAllocationLookup() and supportsVisibleFederation() are true.
MethodgetAllocationAdminSession
Description

Gets the session for assigning quotas.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationAdminSession an AllocationAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocationAdmin() is false
Complianceoptional This method must be implemented if supportsAllocationAdmin() is true.
MethodgetAllocationAdminSessionForDirectory
Description

Gets the session for assigning quotas for 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.

ParametersstringdirectoryPath the pathname to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationAdminSession an AllocationAdminSession
ErrorsINVALID_ARGUMENT directoryPath is not a directory or an alias to a directory
NOT_FOUND directoryPath is not found
NULL_ARGUMENT directoryPath or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocationAdmin() is false
Complianceoptional This method must be implemented if supportsAllocationAdmin() and supportsVisibleFederation() are true.
MethodgetAllocationNotificationSession
Description

Gets the session for receiving messages about changes to directories.

Parametersosid.filing.allocation.AllocationReceiverallocationReceiver the notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationNotificationSession an AllocationNotificationSession
ErrorsNULL_ARGUMENT allocationReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocationNotification() is false
Complianceoptional This method must be implemented if supportsDirectoryNotification() is true.
MethodgetAllocationNotificationSessionForDirectory
Description

Gets the session for receiving messages about usage warnings and quota changes for 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.allocation.AllocationReceiverallocationReceiver the notification callback
stringdirectoryPath the pathname to the directory
osid.proxy.Proxyproxy a proxy
Returnosid.filing.allocation.AllocationNotificationSession an AllocationNotificationSession
ErrorsINVALID_ARGUMENT directoryPath is not a directory or an alias to a directory
NOT_FOUND directoryPath is not found
NULL_ARGUMENT allocationReceiver, directoryPath or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAllocationNotification() is false
Complianceoptional This method must be implemented if supportsAllocationNotification() and supportsVisibleFederation() are true.