| Interface | osid.hold.rules.HoldEnablerLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  | ||
| Method | getOublietteId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Oubliette Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOubliette | ||
| Description | 
                     Gets the   | ||
| Return | osid.hold.Oubliette | the oubliette | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupHoldEnablers | ||
| 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 | useComparativeHoldEnablerView | ||
| 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 | usePlenaryHoldEnablerView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedOublietteView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include hold enablers in oubliettes which are children of this oubliette in the oubliette hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedOublietteView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this oubliette only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useActiveHoldEnablerView | ||
| Description | 
                     Only active hold enablers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusHoldEnablerView | ||
| Description | 
                     All active and inactive hold enablers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getHoldEnabler | ||
| Description | 
                     Gets the    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Parameters | osid.id.Id | holdEnablerId |  Id  of the  HoldEnabler   | 
| Return | osid.hold.rules.HoldEnabler | the hold enabler | |
| Errors | NOT_FOUND |  holdEnablerId  not found  |                 |
| NULL_ARGUMENT |  holdEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getHoldEnablersByIds | ||
| Description | 
                     Gets a    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Parameters | osid.id.IdList | holdEnablerIds | the list of  Ids  to retrieve  | 
| Return | osid.hold.rules.HoldEnablerList | the returned  HoldEnabler  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  holdEnablerIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldEnablersByGenusType | ||
| Description | 
                     Gets a    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Parameters | osid.type.Type | holdEnablerGenusType | a hold enabler genus type | 
| Return | osid.hold.rules.HoldEnablerList | the returned  HoldEnabler  list  | |
| Errors | NULL_ARGUMENT |  holdEnablerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldEnablersByParentGenusType | ||
| Description | 
                     Gets a    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Parameters | osid.type.Type | holdEnablerGenusType | a hold enabler genus type | 
| Return | osid.hold.rules.HoldEnablerList | the returned  HoldEnabler  list  | |
| Errors | NULL_ARGUMENT |  holdEnablerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldEnablersByRecordType | ||
| Description | 
                     Gets a    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Parameters | osid.type.Type | holdEnablerRecordType | a hold enabler record type | 
| Return | osid.hold.rules.HoldEnablerList | the returned  HoldEnabler  list  | |
| Errors | NULL_ARGUMENT |  holdEnablerRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getHoldEnablersOnDate | ||
| Description | 
                     Gets a    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Parameters | osid.calendaring.DateTime | from | a start date | 
osid.calendaring.DateTime | to | an end date | |
| Return | osid.hold.rules.HoldEnablerList | the returned  HoldEnabler  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 | getHoldEnablersOnDateWithAgent | ||
| Description | 
                     Gets a    In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold 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.hold.rules.HoldEnablerList | the returned  HoldEnabler  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 | getHoldEnablers | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known hold enablers or an error results. Otherwise, the returned list may contain only those hold enablers that are accessible through this session. In active mode, hold enablers are returned that are currently active. In any status mode, active and inactive hold enablers are returned.  | ||
| Return | osid.hold.rules.HoldEnablerList | the returned  HoldEnabler  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |