public interface AuctionSmartAuctionHouseSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. An AuctionQuery
can be retrieved from this
session and auctionHouseped to this AuctionHouse
to create
a virtual collection of Auctions.
The auctions may be
sequenced using the AuctionSearchOrder
from this session.
This AuctionHouse
has a default query that matches any
auction and a default search order that specifies no sequencing. The
queries may be examined using an AuctionQueryInspector.
The
query may be modified by converting the inspector back to an
AuctionQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyAuctionQuery(AuctionQuery auctionQuery)
Applies an auction query to this auction house.
|
void |
applyAuctionSequencing(AuctionSearchOrder auctionSearchOrder)
Applies an auction 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. |
AuctionQuery |
getAuctionQuery()
Gets an auction query.
|
AuctionQuery |
getAuctionQueryFromInspector(AuctionQueryInspector auctionQueryInspector)
Gets an auction query from an inspector.
|
AuctionSearchOrder |
getAuctionSearchOrder()
Gets an auction search order.
|
AuctionQueryInspector |
inspectAuctionQuery()
Gets an auction 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. AuctionQuery getAuctionQuery()
mandatory
- This method must be implemented. AuctionSearchOrder getAuctionSearchOrder()
mandatory
- This method must be implemented. void applyAuctionQuery(AuctionQuery auctionQuery) throws OperationFailedException, PermissionDeniedException
auctionQuery
- the auction queryNullArgumentException
- auctionQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- auctionQuery
not
of this servicemandatory
- This method must be implemented. AuctionQueryInspector inspectAuctionQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyAuctionSequencing(AuctionSearchOrder auctionSearchOrder) throws OperationFailedException, PermissionDeniedException
auctionSearchOrder
- the auction search orderNullArgumentException
- auctionSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- auctionSearchOrder
not of this servicemandatory
- This method must be implemented. AuctionQuery getAuctionQueryFromInspector(AuctionQueryInspector auctionQueryInspector)
auctionQueryInspector
- an auction query inspectorNullArgumentException
- auctionQueryInspector
is null
UnsupportedException
- auctionQueryInspector
is not of this servicemandatory
- This method must be implemented.