OSID Logo
OSID Specifications
filing allocation package
Version 3.1.0
Interfaceosid.filing.allocation.AllocationLookupSession
Implementsosid.filing.allocation.AllocationSession
Used Byosid.filing.allocation.FilingAllocationManager
osid.filing.allocation.FilingAllocationProxyManager
Description

This session defines methods for accessing space allocation and quotas.

MethodgetUserAllocationsForUser
Description

Gets the user quota allocations of the data store for the given user including any subdirectories. The directory available by the allocation may indicate a higher level directory than the one requested if the one requested is a sub-directory inside the qoutad data store.

Parametersosid.id.IdagentId the agent Id of the user
Returnosid.filing.allocation.AllocationList the allocation
ErrorsNULL_ARGUMENT agentId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetUserAllocations
Description

Gets the user quota allocation of the data store for each user. The directory available by the allocation may indicate a higher level directory than the one requested if the one requested is a sub-directory inside the qoutad data store.

Returnosid.filing.allocation.AllocationList the allocation
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetUserAllocationsByUtilization
Description

Gets the quota allocations of the data store for all users matching or exceeding the given utilization. The directory available by the allocation may indicate a higher level directory than the one requested if the one requested is a sub-directory inside the qoutad data store.

Parameterscardinalpercentage the utilization percentage (0-100)
Returnosid.filing.allocation.AllocationList the allocation
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.