| Interface | osid.bidding.rules.BidEnablerAuctionHouseAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.bidding.rules.BiddingRulesManager | ||
osid.bidding.rules.BiddingRulesProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of a | ||
| Method | canAssignBidEnablers | ||
| Description |
Tests if this user can alter bid enabler/auction house
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignBidEnablerToAuctionHouse | ||
| Description |
Tests if this user can alter bid enabler/auction house
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Parameters | osid.id.Id | auctionHouseId | the Id of the AuctionHouse |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | auctionHouseId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableAuctionHouseIds | ||
| Description |
Gets a list of auction houses including and under the given auction house node in which any bid enabler can be assigned. | ||
| Parameters | osid.id.Id | auctionHouseId | the Id of the AuctionHouse |
| Return | osid.id.IdList | list of assignable auction house Ids | |
| Errors | NULL_ARGUMENT | auctionHouseId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableAuctionHouseIdsForBidEnabler | ||
| Description |
Gets a list of auction houses including and under the given auction house node in which a specific bid enabler can be assigned. | ||
| Parameters | osid.id.Id | auctionHouseId | the Id of the AuctionHouse |
osid.id.Id | bidEnablerId | the Id of the BidEnabler | |
| Return | osid.id.IdList | list of assignable auction house Ids | |
| Errors | NULL_ARGUMENT | auctionHouseId or bidEnablerId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignBidEnablerToAuctionHouse | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | bidEnablerId | the Id of the BidEnabler |
osid.id.Id | auctionHouseId | the Id of the AuctionHouse | |
| Errors | ALREADY_EXISTS | bidEnablerId is already assigned to
auctionHouseId | |
| NOT_FOUND | bidEnablerId or auctionHouseId not found | ||
| NULL_ARGUMENT | bidEnablerId or auctionHouseId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignBidEnablerFromAuctionHouse | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | bidEnablerId | the Id of the BidEnabler |
osid.id.Id | auctionHouseId | the Id of the AuctionHouse | |
| Errors | NOT_FOUND | bidEnablerId or auctionHouseId not found or
bidEnablerId not assigned to auctionHouseId | |
| NULL_ARGUMENT | bidEnablerId or auctionHouseId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignBidEnablerToAuctionHouse | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | bidEnablerId | the Id of the BidEnabler |
osid.id.Id | fromAuctionHouseId | the Id of the current AuctionHouse | |
osid.id.Id | toAuctionHouseId | the Id of the destination AuctionHouse | |
| Errors | ALREADY_EXISTS | bidEnablerId already assigned to toAuctionHouseId | |
| NOT_FOUND | bidEnablerId, fromAuctionHouseId , or
toAuctionHouseId not found or bidEnablerId not
mapped to fromAuctionHouseId | ||
| NULL_ARGUMENT | bidEnablerId, fromAuctionHouseId , or
toAuctionHouseId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |