public interface AuctionHouseNotificationSession extends OsidSession
This session defines methods to receive notifications on adds/changes
to AuctionHouse objects. This session is intended for
consumers needing to synchronize their state with this service without the
use of polling. Notifications are cancelled when this session is closed.
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeAuctionHouseNotification(Id notificationId)
Acknowledge an auction house notification.
|
boolean |
canRegisterForAuctionHouseNotifications()
Tests if this user can register for
AuctionHouse
notifications. |
void |
registerForChangedAuctionHouse(Id auctionHouseId)
Registers for notification of an updated auction house.
|
void |
registerForChangedAuctionHouseHierarchy()
Registers for notification of an updated auction house hierarchy
structure.
|
void |
registerForChangedAuctionHouseHierarchyForAncestors(Id auctionHouseId)
BiddingReceiver.changedChildOfAuctionHouses() is
invoked when the specified node or any of its ancestors experiences a
change in its children. |
void |
registerForChangedAuctionHouseHierarchyForDescendants(Id auctionHouseId)
BiddingReceiver.changedChildOfAuctionHouses() is
invoked when the specified node or any of its descendants experiences
a change in its children. |
void |
registerForChangedAuctionHouses()
Registers for notification of updated auction houses.
|
void |
registerForDeletedAuctionHouse(Id auctionHouseId)
Registers for notification of a deleted auction house.
|
void |
registerForDeletedAuctionHouses()
Registers for notification of deleted auction houses.
|
void |
registerForNewAuctionHouses()
Register for notifications of new auction houses.
|
void |
reliableAuctionHouseNotifications()
Reliable notifications are desired.
|
void |
unreliableAuctionHouseNotifications()
Unreliable notifications are desired.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canRegisterForAuctionHouseNotifications()
AuctionHouse
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 reliableAuctionHouseNotifications()
acknowledgeAuctionHouseNotification() .mandatory - This method is must be implemented. void unreliableAuctionHouseNotifications()
mandatory - This method is must be implemented. void acknowledgeAuctionHouseNotification(Id notificationId) throws OperationFailedException, PermissionDeniedException
notificationId - the Id of the notificationOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForNewAuctionHouses()
throws OperationFailedException,
PermissionDeniedException
AuctionHouseReceiver.newAuctionHouses() is invoked when a new
AuctionHouse is created.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionHouses()
throws OperationFailedException,
PermissionDeniedException
AuctionHouseReceiver.changedAuctionHouses() is invoked when an
auction house is changed.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionHouse(Id auctionHouseId) throws OperationFailedException, PermissionDeniedException
AuctionHouseReceiver.changedAuctionHouses() is invoked when
the specified auction house is changed.auctionHouseId - the Id of the AuctionHouse to
monitorNullArgumentException - auctionHouseId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedAuctionHouses()
throws OperationFailedException,
PermissionDeniedException
AuctionHouseReceiver.deletedAuctionHouses() is invoked when an
auction house is deleted.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedAuctionHouse(Id auctionHouseId) throws OperationFailedException, PermissionDeniedException
AuctionHouseReceiver.deletedAuctionHouses() is invoked when
the specified auction house is deleted.auctionHouseId - the Id of the
AuctionHouse to monitorNullArgumentException - auctionHouseId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionHouseHierarchy()
throws OperationFailedException,
PermissionDeniedException
BiddingReceiver.changedChildOfAuctionHouses()
is invoked when a node experiences a change in its children.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionHouseHierarchyForAncestors(Id auctionHouseId) throws OperationFailedException, PermissionDeniedException
BiddingReceiver.changedChildOfAuctionHouses() is
invoked when the specified node or any of its ancestors experiences a
change in its children.auctionHouseId - the Id of the
AuctionHouse node to monitorNullArgumentException - auctionHouseId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionHouseHierarchyForDescendants(Id auctionHouseId) throws OperationFailedException, PermissionDeniedException
BiddingReceiver.changedChildOfAuctionHouses() is
invoked when the specified node or any of its descendants experiences
a change in its children.auctionHouseId - the Id of the
AuctionHouse node to monitorNullArgumentException - auctionHouseId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.