public interface MyAuctionSession extends OsidSession
This session defines methods for accessing auctions bid by authenticated agent.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupMyAuctions()
Tests if this user can perform
Item lookups. |
AuctionHouse |
getAuctionHouse()
Gets the
AuctionHouse associated with this session. |
Id |
getAuctionHouseId()
Gets the
AuctionHouse Id associated with
this session. |
AuctionList |
getMyAuctions()
Gets all the auctions bid by this agent and the auctions in which this
agent is a particpant.
|
AuctionList |
getMyAuctionsByDate(DateTime date)
Gets all the auctions bid by this agent the auctions in which this
agent is a particpant where the give date falls within the auction
open dates inclusive.
|
AuctionList |
getMyAuctionsForBidding()
Gets a list of auctions in which this agent may place another bid.
|
BidList |
getMyBids()
Gets all the bids made by this agent.
|
BidList |
getMyBidsByDate(DateTime start,
DateTime end)
Gets all the bids bid this agent where the bids have a start effective
date within the given date range inclusive.
|
BidList |
getMyBidsForAuction(Id auctionId)
Gets all the bids made by this agent for the given auction.
|
AuctionList |
getMyOpenAuctions()
Gets all the auctions open for bidding that have been bid on by this
agent and the auctions in which this agent is a particpant.
|
BidList |
getWinningBids()
Gets all the winning bids made by any agent.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId 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 canLookupMyAuctions()
Item lookups. A return
of true does not guarantee successful authorization. A return of false
indicates that it is known all methods in this session will result in
a PERMISSION_DENIED. This is intended as a hint to an
application that may not offer lookup operations to unauthorized
users. false if lookup methods are not authorized,
true otherwisemandatory - This method must be implemented. AuctionList getMyAuctions() throws OperationFailedException, PermissionDeniedException
AuctionList OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. AuctionList getMyOpenAuctions() throws OperationFailedException, PermissionDeniedException
AuctionList OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. AuctionList getMyAuctionsForBidding() throws OperationFailedException, PermissionDeniedException
AuctionList OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. AuctionList getMyAuctionsByDate(DateTime date) throws OperationFailedException, PermissionDeniedException
date - start of date range AuctionList NullArgumentException - date is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. BidList getMyBids() throws OperationFailedException, PermissionDeniedException
Bid listOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. BidList getMyBidsByDate(DateTime start, DateTime end) throws OperationFailedException, PermissionDeniedException
start - start of date rangeend - end of date range BidList InvalidArgumentException - start is
greater than end NullArgumentException - start or
end is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. BidList getMyBidsForAuction(Id auctionId) throws NotFoundException, OperationFailedException, PermissionDeniedException
auctionId - an Id of an Auction Bid listNotFoundException - auctionId is bot
foundNullArgumentException - auctionId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. BidList getWinningBids() throws OperationFailedException, PermissionDeniedException
Bid listOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.