| Interface | osid.relationship.RelationshipQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among   Relationships may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getFamilyId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Family Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFamily | ||
| Description | 
                     Gets the   | ||
| Return | osid.relationship.Family | the family | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedFamilyView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include relationships in families which are children of this family in the family hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedFamilyView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts retrievals to this family only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | canSearchRelationships | ||
| 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 | getRelationshipQuery | ||
| Description | 
                     Gets a relationship query.  | ||
| Return | osid.relationship.RelationshipQuery | the relationship query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRelationshipsByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.relationship.RelationshipQuery | relationshipQuery | the relationship query | 
| Return | osid.relationship.RelationshipList | the returned  RelationshipList   | |
| Errors | NULL_ARGUMENT |  relationshipQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  relationshipQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |