public interface AllocationLookupSession extends AllocationSession
This session defines methods for accessing space allocation and quotas.
Modifier and Type | Method and Description |
---|---|
AllocationList |
getUserAllocations()
Gets the user quota allocation of the data store for each user.
|
AllocationList |
getUserAllocationsByUtilization(long percentage)
Gets the quota allocations of the data store for all users matching or
exceeding the given utilization.
|
AllocationList |
getUserAllocationsForUser(Id agentId)
Gets the user quota allocations of the data store for the given user
including any subdirectories.
|
canAccessFilingAllocations, getDirectory, getDirectoryAllocation, getDirectoryAllocations, getDirectoryPath, getUserAllocation
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
AllocationList getUserAllocationsForUser(Id agentId) throws OperationFailedException, PermissionDeniedException
agentId
- the agent Id
of the userNullArgumentException
- agentId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. AllocationList getUserAllocations() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. AllocationList getUserAllocationsByUtilization(long percentage) throws OperationFailedException, PermissionDeniedException
percentage
- the utilization percentage (0-100)OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.