Interface | osid.configuration.ConfigurationLookupSession | ||
---|---|---|---|
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. For example, a browsing application
may only need to examine the Configurations may have an additional interface indicated
by their respective types. The interface extension is accessed
via the | ||
Method | canLookupConfigurations | ||
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 | useComparativeConfigurationView | ||
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 | usePlenaryConfigurationView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getConfiguration | ||
Description |
Gets the | ||
Parameters | osid.id.Id | configurationId | the Id of the Configuration to retrieve |
Return | osid.configuration.Configuration | the Configuration | |
Errors | NOT_FOUND | no Configuration found with the given Id | |
NULL_ARGUMENT | configurationId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getConfigurationsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | configurationIds | the list of Ids to retrieve |
Return | osid.configuration.ConfigurationList | the returned Configuration list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | configurationIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getConfigurationsByGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | configurationGenusType | a configuration genus type |
Return | osid.configuration.ConfigurationList | the returned Configuration list | |
Errors | NULL_ARGUMENT | configurationGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getConfigurationsByParentGenusType | ||
Description |
Gets an | ||
Parameters | osid.type.Type | configurationGenusType | a configuration genus type |
Return | osid.configuration.ConfigurationList | the returned Configuration list | |
Errors | NULL_ARGUMENT | configurationGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getConfigurationsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | configurationRecordType | a configuration record type |
Return | osid.configuration.ConfigurationList | the returned Configuration list | |
Errors | NULL_ARGUMENT | configurationRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getConfigurationsByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.configuration.ConfigurationList | the returned Configuration list | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getConfigurations | ||
Description |
Gets all | ||
Return | osid.configuration.ConfigurationList | a list of Configurations | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |