| Interface | osid.resource.ResourceRelationshipQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods for searching This session defines views that offer differing behaviors for searching.
Relationships may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getBinId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Bin Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBin | ||
| Description |
Gets the | ||
| Return | osid.resource.Bin | the bin | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchResourceRelationships | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedBinView | ||
| Description |
Federates the view for methods in this session. A federated view will include relationships in bin which are children of this bin in the bin hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedBinView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts searches to this bin only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getResourceRelationshipQuery | ||
| Description |
Gets a relationship query. | ||
| Return | osid.resource.ResourceRelationshipQuery | the relationship query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceRelationshipsByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.resource.ResourceRelationshipQuery | resourceRelationshipQuery | the resource relationship query |
| Return | osid.resource.ResourceRelationshipList | the returned ResourceRelationshipList | |
| Errors | NULL_ARGUMENT | resourceRelationshipQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | resourceRelationshipQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |