| Interface | osid.bidding.rules.BidEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.bidding.rules.BiddingRulesManager | ||
osid.bidding.rules.BiddingRulesProxyManager | |||
| Description |
This session creates, updates, and deletes
Create and update operations differ in their usage. To
create a For updates, The delete operations delete This session includes an | ||
| Method | getAuctionHouseId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the AuctionHouse Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuctionHouse | ||
| Description |
Gets the | ||
| Return | osid.bidding.AuctionHouse | the auction house | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateBidEnablers | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if BidEnabler creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateBidEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | bidEnablerRecordTypes | array of bid enabler record types |
| Return | boolean | true if BidEnabler creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | bidEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBidEnablerFormForCreate | ||
| Description |
Gets the bid enabler form for creating new bid enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | bidEnablerRecordTypes | array of bid enabler record types |
| Return | osid.bidding.rules.BidEnablerForm | the bid enabler form | |
| Errors | NULL_ARGUMENT | bidEnablerRecordTypes is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createBidEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.bidding.rules.BidEnablerForm | bidEnablerForm | the form for this BidEnabler |
| Return | osid.bidding.rules.BidEnabler | the new BidEnabler | |
| Errors | ILLEGAL_STATE | bidEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | bidEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | bidEnablerForm did not originate from
getBidEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateBidEnablers | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if BidEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBidEnablerFormForUpdate | ||
| Description |
Gets the bid enabler form for updating an existing bid enabler. A new bid enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | bidEnablerId | the Id of the BidEnabler |
| Return | osid.bidding.rules.BidEnablerForm | the bid enabler form | |
| Errors | NOT_FOUND | bidEnablerId is not found | |
| NULL_ARGUMENT | bidEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateBidEnabler | ||
| Description |
Updates an existing bid enabler. | ||
| Parameters | osid.bidding.rules.BidEnablerForm | bidEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | bidEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | bidEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | bidEnablerForm did not originate from
getBidEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteBidEnablers | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if BidEnabler deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteBidEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | bidEnablerId | the Id of the BidEnabler to remove |
| Errors | NOT_FOUND | bidEnablerId not found | |
| NULL_ARGUMENT | bidEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageBidEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if BidEnabler aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasBidEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | bidEnablerId | the Id of a BidEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | bidEnablerId not found | ||
| NULL_ARGUMENT | bidEnablerId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |