public interface StepConstrainerEnablerNotificationSession extends OsidSession
This session defines methods to receive notifications on adds/changes
to StepConstrainerEnabler objects in this Office.
This also includes existing StepConstrainerEnablers
that may appear or disappear due to changes in the Office
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
StepConstrainerEnablerLookupSession.
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeStepConstrainerEnablerNotification(Id notificationId)
Acknowledge a step constrainer notification.
|
boolean |
canRegisterForStepConstrainerEnablerNotifications()
Tests if this user can register for
StepConstrainerEnabler
notifications. |
Office |
getOffice()
Gets the
Office associated with this session. |
Id |
getOfficeId()
Gets the
Office Id associated with this
session. |
void |
registerForChangedStepConstrainerEnabler(Id stepConstrainerEnablerId)
Registers for notification of an updated step constrainer enabler.
|
void |
registerForChangedStepConstrainerEnablers()
Registers for notification of updated office enabelrs.
|
void |
registerForDeletedStepConstrainerEnabler(Id stepConstrainerEnablerId)
Registers for notification of a deleted step constrainer enabler.
|
void |
registerForDeletedStepConstrainerEnablers()
Registers for notification of deleted step constrainer enablers.
|
void |
registerForNewStepConstrainerEnablers()
Register for notifications of new step constrainer enablers.
|
void |
reliableStepConstrainerEnablerNotifications()
Reliable notifications are desired.
|
void |
unreliableStepConstrainerEnablerNotifications()
Unreliable notifications are desired.
|
void |
useFederatedOfficeView()
Federates the view for methods in this session.
|
void |
useIsolatedOfficeView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getOfficeId()
Office Id associated with this
session. Office Id associated with this sessionmandatory - This method must be implemented. Office getOffice() throws OperationFailedException, PermissionDeniedException
Office associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canRegisterForStepConstrainerEnablerNotifications()
StepConstrainerEnabler
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 useFederatedOfficeView()
mandatory - This method is must be implemented. void useIsolatedOfficeView()
mandatory - This method is must be implemented. void reliableStepConstrainerEnablerNotifications()
acknowledgeStepConstrainerEnablerNotification() .mandatory - This method is must be implemented. void unreliableStepConstrainerEnablerNotifications()
mandatory - This method is must be implemented. void acknowledgeStepConstrainerEnablerNotification(Id notificationId) throws OperationFailedException, PermissionDeniedException
notificationId - the Id of the notificationOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForNewStepConstrainerEnablers()
throws OperationFailedException,
PermissionDeniedException
StepConstrainerEnablerReceiver.newStepConstrainerEnablers() is
invoked when a new StepConstrainerEnabler appears in
this office.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedStepConstrainerEnablers()
throws OperationFailedException,
PermissionDeniedException
StepConstrainerEnablerReceiver.changedStepConstrainerEnablers()
is invoked when a step constrainer enabler in this office is
changed.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedStepConstrainerEnabler(Id stepConstrainerEnablerId) throws OperationFailedException, PermissionDeniedException
ProvisionableReceiver.changedStepConstrainerEnablers()
is invoked when the specified step constrainer enabler in this office
is changed.stepConstrainerEnablerId - the Id of the
StepConstrainerEnabler to monitorNullArgumentException - stepConstrainerEnablerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedStepConstrainerEnablers()
throws OperationFailedException,
PermissionDeniedException
StepConstrainerEnablerReceiver.deletedStepConstrainerEnablers()
is invoked when a step constrainer enabler is deleted or
removed from this office.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedStepConstrainerEnabler(Id stepConstrainerEnablerId) throws OperationFailedException, PermissionDeniedException
StepConstrainerEnablerReceiver.deletedStepConstrainerEnablers()
is invoked when the specified step constrainer enabler is
deleted or removed from this office.stepConstrainerEnablerId - the Id of the
StepConstrainerEnabler to monitorNullArgumentException - stepConstrainerEnablerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.