| Interface | osid.financials.FiscalPeriodNotificationSession | ||
|---|---|---|---|
| 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 | getBusinessId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Business Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBusiness | ||
| Description | 
                     Gets the   | ||
| Return | osid.financials.Business | the business | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForFiscalPeriodNotifications | ||
| 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 | useFederatedBusinessView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include fiscal periods in catalogs which are children of this catalog in the business hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedBusinessView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this business only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | registerForNewFiscalPeriods | ||
| Description | 
                     Register for notifications of new fiscal periods. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedFiscalPeriods | ||
| Description | 
                     Registers for notification of updated fiscal periods. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedFiscalPeriod | ||
| Description | 
                     Registers for notification of an updated fiscal period. 
                      | ||
| Parameters | osid.id.Id | fiscalPeriodId | the  Id  of the  FiscalPeriod  to monitor  | 
| Errors | NULL_ARGUMENT |  fiscalPeriodId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedFiscalPeriods | ||
| Description | 
                     Registers for notification of deleted fiscal periods. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedFiscalPeriod | ||
| Description | 
                     Registers for notification of a deleted fiscal period. 
                      | ||
| Parameters | osid.id.Id | fiscalPeriodId | the  Id  of the  FiscalPeriod  to monitor  | 
| Errors | NULL_ARGUMENT |  fiscalPeriodId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |