| Interface | osid.workflow.rules.StepConstrainerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   The two views defined in this session correspond to the 
                views in the   | ||
| Method | getOfficeId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Office Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOffice | ||
| Description | 
                     Gets the   | ||
| Return | osid.workflow.Office | the office | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForStepConstrainerNotifications | ||
| Description | 
                     Tests if this user can register for   | ||
| Return | boolean |  false  if notification methods are not authorized,  
true  otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedOfficeView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include in offices which are children of this office in the office hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedOfficeView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this office only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableStepConstrainerNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableStepConstrainerNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeStepConstrainerNotification | ||
| Description | 
                     Acknowledge a step constrainer notification.  | ||
| Parameters | osid.id.Id | notificationId | the  Id  of the notification  | 
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewStepConstrainers | ||
| Description | 
                     Register for notifications of new step constrainers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedStepConstrainers | ||
| Description | 
                     Registers for notification of updated office.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedStepConstrainer | ||
| Description | 
                     Registers for notification of an updated step 
                    constrainer.   | ||
| Parameters | osid.id.Id | stepConstrainerId | the  Id  of the  StepConstrainer  to monitor  | 
| Errors | NULL_ARGUMENT |  stepConstrainerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedStepConstrainers | ||
| Description | 
                     Registers for notification of deleted step 
                    constrainers.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedStepConstrainer | ||
| Description | 
                     Registers for notification of a deleted step 
                    constrainer.   | ||
| Parameters | osid.id.Id | stepConstrainerId | the  Id  of the  StepConstrainer  to monitor  | 
| Errors | NULL_ARGUMENT |  stepConstrainerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |