| Interface | osid.profile.rules.ProfileEntryEnablerProfileSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupProfileEntryEnablerProfileMappings | ||
| Description | 
                     Tests if this user can perform lookups of profile entry 
                    enabler/profile mappings. A return of true does not 
                    guarantee successful authorization. A return of false 
                    indicates that it is known lookup methods in this session 
                    will result in a   | ||
| Return | boolean |  false  if looking up mappings is not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeProfileEntryEnablerProfileView | ||
| Description | 
                     The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryProfileEntryEnablerProfileView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getProfileEntryEnablerIdsByProfile | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | profileId |  Id  of the  Profile   | 
| Return | osid.id.IdList | list of related profile entry enabler  Ids   | |
| Errors | NOT_FOUND |  profileId  is not found  |                 |
| NULL_ARGUMENT |  profileId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersByProfile | ||
| Description | 
                     Gets the list of profile entry enablers associated with 
                    a   | ||
| Parameters | osid.id.Id | profileId |  Id  of the  Profile   | 
| Return | osid.profile.rules.ProfileEntryEnablerList | list of related profile entry enablers | |
| Errors | NOT_FOUND |  profileId  is not found  |                 |
| NULL_ARGUMENT |  profileId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablerIdsByProfiles | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | profileIds | list of profile  Ids   | 
| Return | osid.id.IdList | list of profile entry enabler  Ids   | |
| Errors | NULL_ARGUMENT |  profileIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersByProfiles | ||
| Description | 
                     Gets the list of profile entry enablers corresponding 
                    to a list of   | ||
| Parameters | osid.id.IdList | profileIds | list of profile  Ids   | 
| Return | osid.profile.rules.ProfileEntryEnablerList | list of profile entry enablers | |
| Errors | NULL_ARGUMENT |  profileIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileIdsByProfileEntryEnabler | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | profileEntryEnablerId |  Id  of a  ProfileEntryEnabler   | 
| Return | osid.id.IdList | list of profiles | |
| Errors | NOT_FOUND |  profileEntryEnablerId  is not found  |                 |
| NULL_ARGUMENT |  profileEntryEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfilesByProfileEntryEnabler | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | profileEntryEnablerId |  Id  of a  ProfileEntryEnabler   | 
| Return | osid.profile.ProfileList | list of profiles | |
| Errors | NOT_FOUND |  profileEntryEnablerId  is not found  |                 |
| NULL_ARGUMENT |  profileEntryEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |