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

This session provides methods to apply AuctionConstrainers to Auctions.

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.
MethodcanAssignAuctionConstrainers
Description

Tests if this user can alter auction constrainer/auction 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 PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if mapping is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodassignAuctionConstrainerToAuction
Description

Adds an existing AuctionConstrainer to an Auction.

Parametersosid.id.IdauctionConstrainerId the Id of the AuctionConstrainer
osid.id.IdauctionId the Id of the Auction
ErrorsALREADY_EXISTS auctionConstrainerId already applied to auctionId
NOT_FOUND auctionConstrainerId or auctionId not found
NULL_ARGUMENT auctionConstrainerId or auctionId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignAuctionConstrainerFromAuction
Description

Removes an AuctionConstrainer from an Auction.

Parametersosid.id.IdauctionConstrainerId the Id of the AuctionConstrainer
osid.id.IdauctionId the Id of the Auction
ErrorsNOT_FOUND auctionConstrainerId or auctionId not found or auctionConstrainerId already applied to auctionId
NULL_ARGUMENT auctionConstrainerId or auctionId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceAuctionConstrainers
Description

Tests if this user can order AuctionConstrainers. A return of true does not guarantee successful authorization. A return of false indicates that it is known sequencing operations will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer sequencing operations to an unauthorized user.

Returnboolean false if AuctionConstrainer ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveAuctionConstrainerAhead
Description

Reorders auction constrainers for an auction by moving the specified auction constrainer in front of a reference auction constrainer.

Parametersosid.id.IdauctionConstrainerId the Id of an AuctionConstrainer
osid.id.IdauctionId the Id of an Auction
osid.id.IdreferenceId the reference auction constrainer Id
ErrorsNOT_FOUND auctionConstrainerId, auctionId, or referenceId not found or, auctionConstrainerId or referenceId not related to auctionId
NULL_ARGUMENT auctionConstrainerId, auctionId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveAuctionConstrainerBehind
Description

Reorders auction constrainers for an auction by moving the specified auction constrainer behind a reference auction constrainer.

Parametersosid.id.IdauctionConstrainerId the Id of an AuctionConstrainer
osid.id.IdauctionId the Id of an Auction
osid.id.IdreferenceId the reference auction constrainer Id
ErrorsNOT_FOUND auctionConstrainerId, auctionId, or referenceId not found or, auctionConstrainerId or referenceId not related to auctionId
NULL_ARGUMENT auctionConstrainerId, auctionId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderAuctionConstrainers
Description

Reorders a set of auction constrainers for an auction.

Parametersosid.id.Id[]auctionConstrainerIds the Ids for a set of AuctionConstrainers
osid.id.IdauctionId the Id of an Auction
ErrorsNOT_FOUND auctionId not found or, an auctionConstrainerId not related to auctionId
NULL_ARGUMENT auctionConstrainerIds or auctionId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.