| Interface | osid.profile.ProfileSearchSession | ||
|---|---|---|---|
| Implements | osid.profile.ProfileQuerySession | ||
| Description | 
                 This session provides methods for searching among     Profiles may have a profile query record indicated by 
                their respective record types. The profile query record is 
                accessed via the   | ||
| Method | getProfileSearch | ||
| Description | 
                     Gets a profile search.  | ||
| Return | osid.profile.ProfileSearch | a profile search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileSearchOrder | ||
| Description | 
                     Gets a profile search order. The   | ||
| Return | osid.profile.ProfileSearchOrder | the profile search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfilesBySearch | ||
| Description | 
                     Gets the search results matching the given search query using the given search.  | ||
| Parameters | osid.profile.ProfileQuery | profileQuery | the profile query | 
osid.profile.ProfileSearch | profileSearch | the profile search | |
| Return | osid.profile.ProfileSearchResults | the search results | |
| Errors | NULL_ARGUMENT |  profileQuery  or  profileSearch  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  profileQuery  or  profileSearch  is not of this 
service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileQueryFromInspector | ||
| Description | 
                     Gets a profile query from an inspector. The inspector 
                    is available from an   | ||
| Parameters | osid.profile.ProfileQueryInspector | profileQueryInspector | a profile query inspector | 
| Return | osid.profile.ProfileQuery | the profile query | |
| Errors | NULL_ARGUMENT |  profileQueryInspector  is  null   |                 |
| UNSUPPORTED |  profileQueryInspector  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |