public interface BidSmartAuctionHouseSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A BidQuery
can be retrieved from this session and
auctionHouseped to this AuctionHouse
to create a virtual
collection of Bids.
The bids may be sequenced using the
BidSearchOrder
from this session.
This AuctionHouse
has a default query that matches any
bid and a default search order that specifies no sequencing. The queries
may be examined using a BidQueryInspector.
The query may be
modified by converting the inspector back to a BidQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyBidQuery(BidQuery bidQuery)
Applies a bid query to this auction house.
|
void |
applyBidSequencing(BidSearchOrder bidSearchOrder)
Applies a bid search order to this auction house.
|
boolean |
canManageSmartAuctionHouses()
Tests if this user can manage smart auction houses.
|
AuctionHouse |
getAuctionHouse()
Gets the
AuctionHouse associated with this session. |
Id |
getAuctionHouseId()
Gets the
AuctionHouse Id associated with
this session. |
BidQuery |
getBidQuery()
Gets a bid query.
|
BidQuery |
getBidQueryFromInspector(BidQueryInspector bidQueryInspector)
Gets a bid query from an inspector.
|
BidSearchOrder |
getBidSearchOrder()
Gets a bid search order.
|
BidQueryInspector |
inspectBidQuery()
Gets a bid query inspector for this auction house.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getAuctionHouseId()
AuctionHouse
Id
associated with
this session. AuctionHouse Id
associated with this
sessionmandatory
- This method must be implemented. AuctionHouse getAuctionHouse() throws OperationFailedException, PermissionDeniedException
AuctionHouse
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartAuctionHouses()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart auction house management is not
authorized, true
otherwisemandatory
- This method must be implemented. BidQuery getBidQuery()
mandatory
- This method must be implemented. BidSearchOrder getBidSearchOrder()
mandatory
- This method must be implemented. void applyBidQuery(BidQuery bidQuery) throws OperationFailedException, PermissionDeniedException
bidQuery
- the bid queryNullArgumentException
- bidQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- bidQuery
not of
this servicemandatory
- This method must be implemented. BidQueryInspector inspectBidQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyBidSequencing(BidSearchOrder bidSearchOrder) throws OperationFailedException, PermissionDeniedException
bidSearchOrder
- the bid search orderNullArgumentException
- bidSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- bidSearchOrder
not of this servicemandatory
- This method must be implemented. BidQuery getBidQueryFromInspector(BidQueryInspector bidQueryInspector)
bidQueryInspector
- a bid query inspectorNullArgumentException
- bidQueryInspector
is null
UnsupportedException
- bidQueryInspector
is not of this servicemandatory
- This method must be implemented.