Interface | osid.billing.ItemSmartBusinessSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. An This | ||
Method | getBusinessId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Business Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBusiness | ||
Description |
Gets the | ||
Return | osid.billing.Business | the business | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageSmartBusinesses | ||
Description |
Tests if this user can manage smart businesses. A
return of true does not guarantee successful assessment. A
return of false indicates that it is known methods in this
session will result in a | ||
Return | boolean | false if smart business management is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemQuery | ||
Description |
Gets an item query. | ||
Return | osid.billing.ItemQuery | the item query | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemSearchOrder | ||
Description |
Gets an item search order. | ||
Return | osid.billing.ItemSearchOrder | the item search order | |
Compliance | mandatory | This method must be implemented. | |
Method | applyItemQuery | ||
Description |
Applies an item query to this business. | ||
Parameters | osid.billing.ItemQuery | itemQuery | the item query |
Errors | NULL_ARGUMENT | itemQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | itemQuery not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | inspectItemQuery | ||
Description |
Gets an item query inspector for this business. | ||
Return | osid.billing.ItemQueryInspector | the item query inspector | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure occurred | ||
Compliance | mandatory | This method must be implemented. | |
Method | applyItemSequencing | ||
Description |
Applies an item search order to this business. | ||
Parameters | osid.billing.ItemSearchOrder | itemSearchOrder | the item search order |
Errors | NULL_ARGUMENT | itemSearchOrder is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | itemSearchOrder not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getItemQueryFromInspector | ||
Description |
Gets an item query from an inspector. | ||
Parameters | osid.billing.ItemQueryInspector | itemQueryInspector | a query inspector |
Return | osid.billing.ItemQuery | the item query | |
Errors | NULL_ARGUMENT | itemQueryInspector is null | |
UNSUPPORTED | itemQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |