OSID Logo
OSID Specifications
bidding rules package
Version 3.1.0
Interfaceosid.bidding.rules.AuctionConstrainerSmartAuctionHouseSession
Implementsosid.OsidSession
Used Byosid.bidding.rules.BiddingRulesManager
osid.bidding.rules.BiddingRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic auction houses. An AuctionConstrainerQuery can be retrieved from this session and mapped to this AuctionHouse to create a virtual collection of auction constrainers. The auction constrainer may be sequenced using the AuctionConstrainerSearchOrder from this session.

This AuctionHouse has a default query that matches any auction constrainer and a default search order that specifies no sequencing. The queries may be examined using an AuctionConstrainerQueryInspector. The query may be modified by converting the inspector back to an AuctionConstrainerQuery.

MethodgetAuctionHouseId
Description

Gets the AuctionHouse Id associated with this session.

Returnosid.id.Id the AuctionHouse Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetAuctionHouse
Description

Gets the AuctionHouse associated with this session.

Returnosid.bidding.AuctionHouse the auction house
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartAuctionHouses
Description

Tests if this user can manage smart auction houses. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart auction house management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetAuctionConstrainerQuery
Description

Gets an auction constrainer query.

Returnosid.bidding.rules.AuctionConstrainerQuery the auction constrainer query
Compliancemandatory This method must be implemented.
MethodgetAuctionConstrainerSearchOrder
Description

Gets an auction constrainer search order.

Returnosid.bidding.rules.AuctionConstrainerSearchOrder the auction constrainer search order
Compliancemandatory This method must be implemented.
MethodapplyAuctionConstrainerQuery
Description

Applies an auction constrainer query to this auction house.

Parametersosid.bidding.rules.AuctionConstrainerQueryauctionConstrainerQuery the auction constrainer query
ErrorsNULL_ARGUMENT auctionConstrainerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auctionConstrainerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectAuctionConstrainerQuery
Description

Gets an auction constrainer query inspector for this auction house.

Returnosid.bidding.rules.AuctionConstrainerQueryInspector the auction constrainer query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyAuctionConstrainerSequencing
Description

Applies an auction constrainer search order to this auction house.

Parametersosid.bidding.rules.AuctionConstrainerSearchOrderauctionConstrainerSearchOrder the auction constrainer search order
ErrorsNULL_ARGUMENT auctionConstrainerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auctionConstrainerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetAuctionConstrainerQueryFromInspector
Description

Gets an auction constrainer query from an inspector.

Parametersosid.bidding.rules.AuctionConstrainerQueryInspectorauctionConstrainerQueryInspector an auction constrainer query inspector
Returnosid.bidding.rules.AuctionConstrainerQuery the auction constrainer query
ErrorsNULL_ARGUMENT auctionConstrainerQueryInspector is null
UNSUPPORTED auctionConstrainerQueryInspector is not of this service
Compliancemandatory This method must be implemented.