public interface AuctionConstrainerEnablerNotificationSession extends OsidSession
This session defines methods to receive notifications on adds/changes
to AuctionConstrainerEnabler objects in this
AuctionHouse. This also includes existing
AuctionConstrainerEnablers 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
AuctionConstrainerEnablerLookupSession.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRegisterForAuctionConstrainerEnablerNotifications()
Tests if this user can register for
AuctionConstrainerEnabler
notifications. |
AuctionHouse |
getAuctionHouse()
Gets the
AuctionHouse associated with this session. |
Id |
getAuctionHouseId()
Gets the
AuctionHouse Id associated with
this session. |
void |
registerForChangedAuctionConstrainerEnabler(Id auctionConstrainerEnablerId)
Registers for notification of an updated auction constrainer enabler.
|
void |
registerForChangedAuctionConstrainerEnablers()
Registers for notification of updated auction constrainer enablers.
|
void |
registerForDeletedAuctionConstrainerEnabler(Id auctionConstrainerEnablerId)
Registers for notification of a deleted auction constrainer enabler.
|
void |
registerForDeletedAuctionConstrainerEnablers()
Registers for notification of deleted auction constrainer enablers.
|
void |
registerForNewAuctionConstrainerEnablers()
Register for notifications of new auction constrainer enablers.
|
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 canRegisterForAuctionConstrainerEnablerNotifications()
AuctionConstrainerEnabler
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 registerForNewAuctionConstrainerEnablers()
throws OperationFailedException,
PermissionDeniedException
AuctionConstrainerEnablerReceiver.newAuctionConstrainerEnabler()
is invoked when a new AuctionConstrainerEnabler
appears in this auction house.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionConstrainerEnablers()
throws OperationFailedException,
PermissionDeniedException
AuctionConstrainerEnablerReceiver.changedAuctionConstrainerEnabler()
is invoked when an auction constrainer enabler in this auction
house is changed.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedAuctionConstrainerEnabler(Id auctionConstrainerEnablerId) throws OperationFailedException, PermissionDeniedException
ProvisionableReceiver.changedAuctionConstrainerEnabler()
is invoked when the specified auction constrainer enabler in
this auction house is changed.auctionConstrainerEnablerId - the Id of the
AuctionConstrainerEnabler to monitorNullArgumentException -
auctionConstrainerEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedAuctionConstrainerEnablers()
throws OperationFailedException,
PermissionDeniedException
AuctionConstrainerEnablerReceiver.deletedAuctionConstrainerEnabler()
is invoked when an auction constrainer enabler is deleted or
removed from this auction house.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedAuctionConstrainerEnabler(Id auctionConstrainerEnablerId) throws OperationFailedException, PermissionDeniedException
AuctionConstrainerEnablerReceiver.deletedAuctionConstrainerEnabler()
is invoked when the specified auction constrainer enabler is
deleted or removed from this auction house.auctionConstrainerEnablerId - the Id of the
AuctionConstrainerEnabler to monitorNullArgumentException -
auctionConstrainerEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.