Interface | osid.cataloging.CatalogLookupSession | ||
---|---|---|---|
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 | canLookupCatalogs | ||
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 | useComparativeCatalogView | ||
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 | usePlenaryCatalogView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCatalog | ||
Description |
Gets the | ||
Parameters | osid.id.Id | catalogId | Id of the Catalog |
Return | osid.cataloging.Catalog | the catalog | |
Errors | NOT_FOUND | catalogId not found | |
NULL_ARGUMENT | catalogId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCatalogsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | catalogIds | the list of Ids to retrieve |
Return | osid.cataloging.CatalogList | the returned Catalog list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | catalogIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | catalogGenusType | a catalog genus type |
Return | osid.cataloging.CatalogList | the returned Catalog list | |
Errors | NULL_ARGUMENT | catalogGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | catalogGenusType | a catalog genus type |
Return | osid.cataloging.CatalogList | the returned Catalog list | |
Errors | NULL_ARGUMENT | catalogGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | catalogRecordType | a catalog record type |
Return | osid.cataloging.CatalogList | the returned Catalog list | |
Errors | NULL_ARGUMENT | catalogRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogsByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.cataloging.CatalogList | the returned Catalog 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 | getCatalogs | ||
Description |
Gets all | ||
Return | osid.cataloging.CatalogList | a list of Catalogs | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |