| Interface | osid.profile.rules.ProfileEntryEnablerLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  Generally, the comparative view should be used for most 
                applications as it permits operation even if there is data 
                that cannot be accessed. The methods   | ||
| 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 | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupProfileEntryEnablers | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if lookup methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeProfileEntryEnablerView | ||
| 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 | usePlenaryProfileEntryEnablerView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedProfileView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include profile entry enablers 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 lookups to this profile only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useActiveProfileEntryEnablerView | ||
| Description | 
                     Only active profile entry enablers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusProfileEntryEnablerView | ||
| Description | 
                     All active and inactive profile entry enablers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getProfileEntryEnabler | ||
| Description | 
                     Gets the    In active mode, profile entry enablers are returned that are currently active. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.id.Id | profileEntryEnablerId |  Id  of the  ProfileEntryEnabler   | 
| Return | osid.profile.rules.ProfileEntryEnabler | the profile entry enabler | |
| Errors | NOT_FOUND |  profileEntryEnablerId  not found  |                 |
| NULL_ARGUMENT |  profileEntryEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getProfileEntryEnablersByIds | ||
| Description | 
                     Gets a    In active mode, profile entry enablers are returned that are currently active. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.id.IdList | profileEntryEnablerIds | the list of  Ids  to retrieve  | 
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  profileEntryEnablerIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersByGenusType | ||
| Description | 
                     Gets a    In active mode, profile entry enablers are returned that are currently active. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.type.Type | profileEntryEnablerGenusType | a profile entry enabler genus type | 
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | NULL_ARGUMENT |  profileEntryEnablerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersByParentGenusType | ||
| Description | 
                     Gets a    In active mode, profile entry enablers are returned that are currently active. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.type.Type | profileEntryEnablerGenusType | a profile entry enabler genus type | 
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | NULL_ARGUMENT |  profileEntryEnablerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersByRecordType | ||
| Description | 
                     Gets a    In active mode, profile entry enablers are returned that are currently active. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.type.Type | profileEntryEnablerRecordType | a profile entry enabler record type | 
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | NULL_ARGUMENT |  profileEntryEnablerRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersOnDate | ||
| Description | 
                     Gets a  In plenary mode, the returned list contains all known profile entry enablers or an error results. Otherwise, the returned list may contain only those profile entry enablers that are accessible through this session. In active mode, profile entry enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.calendaring.DateTime | from | a start date | 
osid.calendaring.DateTime | to | an end date | |
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  from  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablersOnDateWithAgent | ||
| Description | 
                     Gets a  In plenary mode, the returned list contains all known profile entry enablers or an error results. Otherwise, the returned list may contain only those profile entry enablers that are accessible through this session. In active mode, profile entry enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Parameters | osid.id.Id | agentId | an agent  Id   | 
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  agentId, from,  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProfileEntryEnablers | ||
| Description | 
                     Gets all    In active mode, profile entry enablers are returned that are currently active. In any status mode, active and inactive profile entry enablers are returned.  | ||
| Return | osid.profile.rules.ProfileEntryEnablerList | the returned  ProfileEntryEnabler  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |