public interface AuctionConstrainerNotificationSession extends OsidSession
This session defines methods to receive notifications on adds/changes
to AuctionConstrainer objects in this AuctionHouse.
This also includes existing AuctionConstrainers
that may appear or disappear due to changes in the AuctionHouse
hierarchy, 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.
The two views defined in this session correspond to the views in the
AuctionConstrainerLookupSession.
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeAuctionConstrainerNotification(Id notificationId)
Acknowledge an auction constrainer notification.
|
boolean |
canRegisterForAuctionConstrainerNotifications()
Tests if this user can register for
AuctionConstrainer
notifications. |
AuctionHouse |
getAuctionHouse()
Gets the
AuctionHouse associated with this session. |
Id |
getAuctionHouseId()
Gets the
AuctionHouse Id associated with
this session. |
void |
registerForChangedAuctionConstrainer(Id auctionConstrainerId)
Registers for notification of an updated auction constrainer.
|
void |
registerForChangedAuctionConstrainers()
Registers for notification of updated auction houses.
|
void |
registerForDeletedAuctionConstrainer(Id auctionConstrainerId)
Registers for notification of a deleted auction constrainer.
|
void |
registerForDeletedAuctionConstrainers()
Registers for notification of deleted auction constrainers.
|
void |
registerForNewAuctionConstrainers()
Register for notifications of new auction constrainers.
|
void |
reliableAuctionConstrainerNotifications()
Reliable notifications are desired.
|
void |
unreliableAuctionConstrainerNotifications()
Unreliable notifications are desired.
|
void |
useFederatedAuctionHouseView()
Federates the view for methods in this session.
|
void |
useIsolatedAuctionHouseView()
Isolates the view for methods in this session.
|
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 canRegisterForAuctionConstrainerNotifications()
AuctionConstrainer
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 useFederatedAuctionHouseView()
mandatory - This method is must be implemented. void useIsolatedAuctionHouseView()
mandatory - This method is must be implemented. void reliableAuctionConstrainerNotifications()
acknowledgeAuctionConstrainerNotification() .mandatory - This method is must be implemented. void unreliableAuctionConstrainerNotifications()
mandatory - This method is must be implemented. void acknowledgeAuctionConstrainerNotification(Id notificationId) throws OperationFailedException, PermissionDeniedException
notificationId - the Id of the notificationOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForNewAuctionConstrainers()
throws OperationFailedException,
PermissionDeniedException
AuctionConstrainerReceiver.newAuctionConstrainers() is invoked
when a new AuctionConstrainer appears in this auction
house.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionConstrainers()
throws OperationFailedException,
PermissionDeniedException
AuctionConstrainerReceiver.changedAuctionConstrainers() is
invoked when an auction constrainer in this auction house is changed.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionConstrainer(Id auctionConstrainerId) throws OperationFailedException, PermissionDeniedException
ProvisionableReceiver.changedAuctionConstrainers() is invoked
when the specified auction constrainer in this auction house is
changed.auctionConstrainerId - the Id of the
AuctionConstrainer to monitorNullArgumentException - auctionConstrainerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedAuctionConstrainers()
throws OperationFailedException,
PermissionDeniedException
AuctionConstrainerReceiver.deletedAuctionConstrainers() is
invoked when an auction constrainer is deleted or removed from this
auction house.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedAuctionConstrainer(Id auctionConstrainerId) throws OperationFailedException, PermissionDeniedException
AuctionConstrainerReceiver.deletedAuctionConstrainers() is
invoked when the specified auction constrainer is deleted or removed
from this auction house.auctionConstrainerId - the Id of the
AuctionConstrainer to monitorNullArgumentException - auctionConstrainerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.