public interface ModuleNotificationSession extends OsidSession
This session defines methods to receive notifications on adds/changes 
  to  Module  objects. 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. 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canRegisterForModuleNotifications()
Tests if this user can register for  
 Module  
  notifications. | 
CourseCatalog | 
getCourseCatalog()
Gets the  
 CourseCatalog  associated with this session. | 
Id | 
getCourseCatalogId()
Gets the  
 CourseCatalog   Id  associated 
  with this session. | 
void | 
registerForChangedModule(Id moduleId)
Registers for notification of an updated module. 
 | 
void | 
registerForChangedModules()
Registers for notification of updated modules. 
 | 
void | 
registerForChangedModulesForSyllabus(Id syllabusId)
Registers for notification of updated modules for the given syllabus. 
 | 
void | 
registerForDeletedModule(Id moduleId)
Registers for notification of a deleted module. 
 | 
void | 
registerForDeletedModules()
Registers for notification of deleted modules. 
 | 
void | 
registerForDeletedModulesForSyllabus(Id syllabusId)
Registers for notification of deleted modules for the given syllabus. 
 | 
void | 
registerForNewModules()
Register for notifications of new modules. 
 | 
void | 
registerForNewModulesForSyllabus(Id syllabusId)
Register for notifications of new modules for the given syllabus. 
 | 
void | 
useFederatedCourseCatalogView()
Federates the view for methods in this session. 
 | 
void | 
useIsolatedCourseCatalogView()
Isolates the view for methods in this session. 
 | 
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getCourseCatalogId()
 CourseCatalog   Id  associated 
  with this session. CourseCatalog Id  associated with this 
          sessionmandatory - This method must be implemented. CourseCatalog getCourseCatalog() throws OperationFailedException, PermissionDeniedException
 CourseCatalog  associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canRegisterForModuleNotifications()
 Module  
  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 useFederatedCourseCatalogView()
mandatory - This method is must be implemented. void useIsolatedCourseCatalogView()
mandatory - This method is must be implemented. void registerForNewModules()
                           throws OperationFailedException,
                                  PermissionDeniedException
 
  ModuleReceiver.newModule()  is invoked when a new  Module 
   is created.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForNewModulesForSyllabus(Id syllabusId) throws OperationFailedException, PermissionDeniedException
 ModuleReceiver.newModule()  is invoked when a new  
  Module  is created.syllabusId - the  Id  of the  Syllabus 
           to monitorNullArgumentException -  syllabusId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedModules()
                               throws OperationFailedException,
                                      PermissionDeniedException
 
  ModuleReceiver.changedModule()  is invoked when a module is 
  changed.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedModulesForSyllabus(Id syllabusId) throws OperationFailedException, PermissionDeniedException
 ModuleReceiver.changedModule()  is invoked when a module 
  is changed.syllabusId - the  Id  of the  Syllabus 
           to monitorNullArgumentException -  syllabusId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForChangedModule(Id moduleId) throws OperationFailedException, PermissionDeniedException
 
  ModuleReceiver.changedModule()  is invoked when the specified 
  module is changed.moduleId - the  Id  of the  Module  to 
          monitorNullArgumentException -  moduleId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedModules()
                               throws OperationFailedException,
                                      PermissionDeniedException
 
  ModuleReceiver.deletedModule()  is invoked when a module in 
  this catalog is deleted.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedModulesForSyllabus(Id syllabusId) throws OperationFailedException, PermissionDeniedException
 ModuleReceiver.deletedModule()  is invoked when a module 
  in this catalog is deleted.syllabusId - the  Id  of the  Syllabus 
           to monitorNullArgumentException -  syllabusId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void registerForDeletedModule(Id moduleId) throws OperationFailedException, PermissionDeniedException
 
  ModuleReceiver.deletedModule()  is invoked when the specified 
  module in this catalog is deleted.moduleId - the  Id  of the  Module  to 
          monitorNullArgumentException -  moduleId  is 
           null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.