| Interface | osid.hold.BlockSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This is the basic session for checking blocks.
The methods | ||
| Method | getOublietteId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Oubliette Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOubliette | ||
| Description |
Gets the | ||
| Return | osid.hold.Oubliette | the oubliette | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canAccessBlocks | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if block methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedOublietteView | ||
| Description |
Federates the view for methods in this session. A federated view will include availabilities in foundries which are children of this oubliette in the oubliette hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedOublietteView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this oubliette only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | isBlocked | ||
| Description |
Determines if the given resource is blocked. A resource
is blocked if an active | ||
| Parameters | osid.id.Id | agentId | the Id of an Agent |
osid.id.Id | blockId | the Id of a Block | |
| Return | boolean | true if the user is blocked, false othersise | |
| Errors | NOT_FOUND | blockId is not found | |
| NULL_ARGUMENT | agentId or blockId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure making request | ||
| Compliance | mandatory | This method must be implemented. | |