| Interface | osid.repository.RepositoryNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods to receive notifications on 
                adds/changes to   | ||
| Method | canRegisterForRepositoryNotifications | ||
| 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 | registerForNewRepositories | ||
| Description | 
                     Register for notifications of new repositories.   | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewRepositoryAncestors | ||
| Description | 
                     Registers for notification if an ancestor is added to 
                    the specified repository in the repository hierarchy. 
                      | ||
| Parameters | osid.id.Id | repositoryId | the  Id  of the repository to monitor  | 
| Errors | NULL_ARGUMENT |  repositoryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewRepositoryDescendants | ||
| Description | 
                     Registers for notification if a descendant is added to 
                    the specified repository in the repository hierarchy. 
                      | ||
| Parameters | osid.id.Id | repositoryId | the  Id  of the repository to monitor  | 
| Errors | NULL_ARGUMENT |  repositoryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRepositories | ||
| Description | 
                     Registers for notification of updated repositories. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedRepository | ||
| Description | 
                     Registers for notification of an updated repository. 
                      | ||
| Parameters | osid.id.Id | repositoryId | the  Id  of the  Repository  to monitor  | 
| Errors | NULL_ARGUMENT |  repositoryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRepositories | ||
| Description | 
                     Registers for notification of deleted repositories. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRepository | ||
| Description | 
                     Registers for notification of a deleted repository. 
                      | ||
| Parameters | osid.id.Id | repositoryId | the  Id  of the  Repository  to monitor  | 
| Errors | NULL_ARGUMENT |  repositoryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRepositoryAncestors | ||
| Description | 
                     Registers for notification if an ancestor is removed 
                    from the specified repository in the repository hierarchy. 
                      | ||
| Parameters | osid.id.Id | repositoryId | the  Id  of the repository to monitor  | 
| Errors | NULL_ARGUMENT |  repositoryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedRepositoryDescendants | ||
| Description | 
                     Registers for notification if a descendant is removed 
                    from fthe specified repository in the repository 
                    hierarchy.   | ||
| Parameters | osid.id.Id | repositoryId | the  Id  of the repository to monitor  | 
| Errors | NULL_ARGUMENT |  repositoryId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |