public interface MyAuctionNotificationSession extends OsidSession
This session defines methods to receive notifications on changes to an auction in progress.
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeMyAuctionNotification(Id notificationId)
Acknowledge an auction notification.
|
boolean |
canRegisterForMyAuctionNotifications()
Tests if this user can register for
Auction
notifications. |
AuctionHouse |
getAuctionHouse()
Gets the
AuctionHouse associated with this session. |
Id |
getAuctionHouseId()
Gets the
AuctionHouse Id associated with
this session. |
void |
registerForAuctionEnd()
Register for a notification of the end of the auction.
|
void |
registerForAuctionStart()
Register for a notification of the start of the auction.
|
void |
registerForNewBids()
Register for notifications of new bids.
|
void |
registerForOutBids()
Register for notifications of bids that outbid that of the
authenticated bidder.
|
void |
registerForRequireBid()
Register for notifications of bids that are required at this time for
the authenticated bidder.
|
void |
reliableMyAuctionNotifications()
Reliable notifications are desired.
|
void |
unreliableMyAuctionNotifications()
Unreliable notifications are desired.
|
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 canRegisterForMyAuctionNotifications()
Auction
notifications. 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 opt not
to offer notification operations. false if notification methods are not
authorized, true otherwisemandatory - This method must be implemented. void reliableMyAuctionNotifications()
acknowledgeMyAuctionNotification()
.mandatory - This method is must be implemented. void unreliableMyAuctionNotifications()
mandatory - This method is must be implemented. void acknowledgeMyAuctionNotification(Id notificationId) throws OperationFailedException, PermissionDeniedException
notificationId - the Id of the notificationOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForAuctionStart()
throws OperationFailedException,
PermissionDeniedException
MyAuctionReceiver.startAuctions() is invoked when a the
auction begins.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForNewBids()
throws OperationFailedException,
PermissionDeniedException
MyAuctionReceiver.newBids() is invoked when a new Bid
is made in this auction.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForOutBids()
throws OperationFailedException,
PermissionDeniedException
MyAuctionReceiver.outBids() is
invoked when a new Bid is made in this auction.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForRequireBid()
throws OperationFailedException,
PermissionDeniedException
MyAuctionReceiver.requireBid()
is invoked when it is time to ante up.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForAuctionEnd()
throws OperationFailedException,
PermissionDeniedException
MyAuctionReceiver.endAuctions() is invoked when a the auction
ends.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.