| Interface | osid.installation.InstallationLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 The session defines methods for retrieving  Two views are defined in this session: 
  Installations may have an additional records indicated by 
                their respective record types. The record may not be accessed 
                through a cast of the   | ||
| Method | getSiteId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Site Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSite | ||
| Description | 
                     Gets the   | ||
| Return | osid.installation.Site | the  Site  associated with this session  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupInstallations | ||
| 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 | useComparativeInstallationView | ||
| 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 | usePlenaryInstallationView | ||
| Description | 
                     A complete view of the   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useNormalizedVersionView | ||
| Description | 
                     The returns from the lookup methods may omit multiple versions of the same installation.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useDenormalizedVersionView | ||
| Description | 
                     All versions of the same installation are returned.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getInstallation | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.id.Id | installationId |  Id  of the  Installation   | 
| Return | osid.installation.Installation | the installation | |
| Errors | NOT_FOUND |  installationId  not found  |                 |
| NULL_ARGUMENT |  installationId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getInstallationsByIds | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.id.IdList | installationIds | the list of  Ids  to retrieve  | 
| Return | osid.installation.InstallationList | the returned  Installation  list  | |
| Errors | NOT_FOUND | an  Id  was not found  |                 |
| NULL_ARGUMENT |  installationIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationsByGenusType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | installationGenusType | an installation genus type | 
| Return | osid.installation.InstallationList | the returned  Installation  list  | |
| Errors | NULL_ARGUMENT |  installationGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationsByParentGenusType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | installationGenusType | an installation genus type | 
| Return | osid.installation.InstallationList | the returned  Installation  list  | |
| Errors | NULL_ARGUMENT |  installationGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationsByRecordType | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.type.Type | installationRecordType | an installation record type | 
| Return | osid.installation.InstallationList | the returned  Installation  list  | |
| Errors | NULL_ARGUMENT |  installationGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallationsByPackage | ||
| Description | 
                     Gets an   | ||
| Parameters | osid.id.Id | packageId |  Id  of a  Package   | 
| Return | osid.installation.InstallationList | the returned  Installation  list  | |
| Errors | NULL_ARGUMENT |  packageId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getInstallations | ||
| Description | 
                     Gets all   | ||
| Return | osid.installation.InstallationList | an  InstallationList   | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |