Interface | osid.subscription.PublisherLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
Method | canLookupPublishers | ||
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 | useComparativePublisherView | ||
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 | usePlenaryPublisherView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPublisher | ||
Description |
Gets the | ||
Parameters | osid.id.Id | publisherId | Id of the Publisher |
Return | osid.subscription.Publisher | the publisher | |
Errors | NOT_FOUND | publisherId not found | |
NULL_ARGUMENT | publisherId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPublishersByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | publisherIds | the list of Ids to retrieve |
Return | osid.subscription.PublisherList | the returned Publisher list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | publisherIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublishersByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | publisherGenusType | a publisher genus type |
Return | osid.subscription.PublisherList | the returned Publisher list | |
Errors | NULL_ARGUMENT | publisherGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublishersByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | publisherGenusType | a publisher genus type |
Return | osid.subscription.PublisherList | the returned Publisher list | |
Errors | NULL_ARGUMENT | publisherGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublishersByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | publisherRecordType | a publisher record type |
Return | osid.subscription.PublisherList | the returned Publisher list | |
Errors | NULL_ARGUMENT | publisherRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublishersByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.subscription.PublisherList | the returned Publisher 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 | getPublishers | ||
Description |
Gets all | ||
Return | osid.subscription.PublisherList | a list of Publishers | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |