Interface | osid.resourcing.FoundryLookupSession | ||
---|---|---|---|
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 | ||
Method | canLookupFoundries | ||
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 | useComparativeFoundryView | ||
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 | usePlenaryFoundryView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getFoundry | ||
Description |
Gets the | ||
Parameters | osid.id.Id | foundryId | Id of the Foundry |
Return | osid.resourcing.Foundry | the foundry | |
Errors | NOT_FOUND | foundryId not found | |
NULL_ARGUMENT | foundryId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getFoundriesByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | foundryIds | the list of Ids to retrieve |
Return | osid.resourcing.FoundryList | the returned Foundry list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | foundryIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFoundriesByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | foundryGenusType | a foundry genus type |
Return | osid.resourcing.FoundryList | the returned Foundry list | |
Errors | NULL_ARGUMENT | foundryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFoundriesByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | foundryGenusType | a foundry genus type |
Return | osid.resourcing.FoundryList | the returned Foundry list | |
Errors | NULL_ARGUMENT | foundryGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFoundriesByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | foundryRecordType | a foundry record type |
Return | osid.resourcing.FoundryList | the returned Foundry list | |
Errors | NULL_ARGUMENT | foundryRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getFoundriesByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.resourcing.FoundryList | the returned Foundry 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 | getFoundries | ||
Description |
Gets all | ||
Return | osid.resourcing.FoundryList | a list of Foundries | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |