| Interface | osid.profile.ProfileItemSmartProfileSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. A This | ||
| 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 | canManageSmartProfiles | ||
| Description |
Tests if this user can manage smart profile. A return
of true does not guarantee successful authorization. A
return of false indicates that it is known methods in this
session will result in a | ||
| Return | boolean | false if smart profile management is not authorized,
true otherwise | |
| Compliance | mandatory | This method 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 | getProfileItemSearchOrder | ||
| Description |
Gets a profile item search order. | ||
| Return | osid.profile.ProfileItemSearchOrder | the profile item search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyProfileItemQuery | ||
| Description |
Applies a profile item query to this profile. | ||
| Parameters | osid.profile.ProfileItemQuery | profileItemQuery | the profile item query |
| Errors | NULL_ARGUMENT | profileItemQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | profileItemQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectProfileItemQuery | ||
| Description |
Gets a profile item query inspector for this profile. | ||
| Return | osid.profile.ProfileItemQueryInspector | the profile item query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyProfileItemSequencing | ||
| Description |
Applies a profile item search order to this profile. | ||
| Parameters | osid.profile.ProfileItemSearchOrder | profileItemSearchOrder | the profile item search order |
| Errors | NULL_ARGUMENT | profileItemSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | profileItemSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileItemQueryFromInspector | ||
| Description |
Gets a profile item query from an inspector. | ||
| Parameters | osid.profile.ProfileItemQueryInspector | profileItemQueryInspector | a profile item query inspector |
| Return | osid.profile.ProfileItemQuery | the profile item query | |
| Errors | NULL_ARGUMENT | profileItemQueryInspector is null | |
| UNSUPPORTED | profileItemQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |