Interface | osid.cataloging.rules.CatalogEnablerLookupSession | ||
---|---|---|---|
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. The methods | ||
Method | getCatalogId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Catalog Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCatalog | ||
Description |
Gets the | ||
Return | osid.cataloging.Catalog | the catalog | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupCatalogEnablers | ||
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 | useComparativeCatalogEnablerView | ||
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 | usePlenaryCatalogEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedCatalogView | ||
Description |
Federates the view for methods in this session. A federated view will include catalog enablers in catalogs which are children of this catalog in the catalog hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedCatalogView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this catalog only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveCatalogEnablerView | ||
Description |
Only active catalog enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusCatalogEnablerView | ||
Description |
All active and inactive catalog enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCatalogEnabler | ||
Description |
Gets the In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.id.Id | catalogEnablerId | Id of the CatalogEnabler |
Return | osid.cataloging.rules.CatalogEnabler | the catalog enabler | |
Errors | NOT_FOUND | catalogEnablerId not found | |
NULL_ARGUMENT | catalogEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCatalogEnablersByIds | ||
Description |
Gets a In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.id.IdList | catalogEnablerIds | the list of Ids to retrieve |
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | catalogEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogEnablersByGenusType | ||
Description |
Gets a In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.type.Type | catalogEnablerGenusType | a catalog enabler genus type |
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | NULL_ARGUMENT | catalogEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogEnablersByParentGenusType | ||
Description |
Gets a In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.type.Type | catalogEnablerGenusType | a catalog enabler genus type |
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | NULL_ARGUMENT | catalogEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogEnablersByRecordType | ||
Description |
Gets a In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.type.Type | catalogEnablerRecordType | a catalog enabler record type |
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | NULL_ARGUMENT | catalogEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogEnablersOnDate | ||
Description |
Gets a In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | agentId, from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogEnablers | ||
Description |
Gets all In active mode, catalog enablers are returned that are currently active. In any status mode, active and inactive catalog enablers are returned. | ||
Return | osid.cataloging.rules.CatalogEnablerList | the returned CatalogEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |