Interface | osid.profile.ProfileItemQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching This session defines views that offer differing behaviors for searching.
Profile items may have a profile item query record
indicated by their respective record types. The profile item
query record is accessed via the | ||
Method | getProfileId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Profile Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getProfile | ||
Description |
Gets the | ||
Return | osid.profile.Profile | the Profile associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSearchProfileItems | ||
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 | useFederatedProfileView | ||
Description |
Federates the view for methods in this session. A federated view will include profile items in profiles which are children of this profile in the profile hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedProfileView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts searches to this profile only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getProfileItemQuery | ||
Description |
Gets a profile item query. | ||
Return | osid.profile.ProfileItemQuery | the profile item query | |
Compliance | mandatory | This method must be implemented. | |
Method | getProfileItemsByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.profile.ProfileItemQuery | profileItemQuery | the profile item query |
Return | osid.profile.ProfileItemList | the returned ProfileItemList | |
Errors | NULL_ARGUMENT | profileItemQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | profileItemQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |