OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.0
Interfaceosid.assessment.authoring.SequenceRuleNotificationSession
Implementsosid.OsidSession
Used Byosid.assessment.authoring.AssessmentAuthoringManager
osid.assessment.authoring.AssessmentAuthoringProxyManager
Description

This session defines methods to receive notifications on adds/changes to SequenceRule objects in this Bank. This also includes existing SequenceRules that may appear or disappear due to changes in the Bank 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 SequenceRuleLookupSession.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Id the Bank Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bank the bank
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanRegisterForSequenceRuleNotifications
Description

Tests if this user can register for SequenceRule 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.

Returnboolean false if notification methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseFederatedBankView
Description

Federates the view for methods in this session. A federated view will include in banks which are children of this bank in the bank hierarchy.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedBankView
Description

Isolates the view for methods in this session. An isolated view restricts notifications to this bank only.

Compliancemandatory This method is must be implemented.
MethodreliableSequenceRuleNotifications
Description

Reliable notifications are desired. In reliable mode, notifications are to be acknowledged using acknowledgeSequenceRuleNotification().

Compliancemandatory This method is must be implemented.
MethodunreliableSequenceRuleNotifications
Description

Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.

Compliancemandatory This method is must be implemented.
MethodacknowledgeSequenceRuleNotification
Description

Acknowledge a sequence rule notification.

Parametersosid.id.IdnotificationId the Id of the notification
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewSequenceRules
Description

Register for notifications of new sequence rules. SequenceRuleReceiver.newSequenceRules() is invoked when a new SequenceRule appears in this bank.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewSequenceRulesForAssessmentPart
Description

Register for notifications of new sequence rules for the given assessment part. SequenceRuleReceiver.newSequenceRules() is invoked when a new SequenceRule appears in this bank.

Parametersosid.id.IdassessmentPartId the Id of the AssessmentPart to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewSequenceRulesForNextAssessmentPart
Description

Register for notifications of new sequence rules for the given assessment part. SequenceRuleReceiver.newSequenceRules() is invoked when a new SequenceRule appears in this bank.

Parametersosid.id.IdassessmentPartId the Id of the AssessmentPart to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedSequenceRules
Description

Registers for notification of updated sequence rules. SequenceRuleReceiver.changedSequenceRules() is invoked when a sequence rule in this bank is changed.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedSequenceRulesForAssessmentPart
Description

Register for notifications of updated sequence rules for the given assessment part. SequenceRuleReceiver.changedSequenceRules() is invoked when a new SequenceRule in this bank is changed.

Parametersosid.id.IdassessmentPartId the Id of the AssessmentPart to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedSequenceRulesForNextAssessmentPart
Description

Register for notifications of updated sequence rules for the given assessment part. SequenceRuleReceiver.changedSequenceRules() is invoked when a new SequenceRule in this bank is changed.

Parametersosid.id.IdassessmentPartId the Id of the AssessmentPart to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedSequenceRule
Description

Registers for notification of an updated sequence rule. ProvisionableReceiver.changedSequenceRules() is invoked when the specified sequence rule in this bank is changed.

Parametersosid.id.IdsequenceRuleId the Id of the SequenceRule to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedSequenceRules
Description

Registers for notification of deleted sequence rules. SequenceRuleReceiver.deletedSequenceRules() is invoked when a sequence rule is deleted or removed from this bank.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedSequenceRulesForAssessmentPart
Description

Registers for notification of deleted sequence rules for the given assessment part. SequenceRuleReceiver.deletedSequenceRule() is invoked when a sequence rule is deleted or removed from this bank.

Parametersosid.id.IdassessmentPartId the Id of the AssessmentPart to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedSequenceRulesForNextAssessmentPart
Description

Registers for notification of deleted sequence rules for the given assessment part. SequenceRuleReceiver.deletedSequenceRule() is invoked when a sequence rule is deleted or removed from this bank.

Parametersosid.id.IdassessmentPartId the Id of the AssessmentPart to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedSequenceRule
Description

Registers for notification of a deleted sequence rule. SequenceRuleReceiver.deletedSequenceRule() is invoked when the specified sequence rule is deleted or removed from this bank.

Parametersosid.id.IdsequenceRuleId the Id of the SequenceRule to monitor
ErrorsNULL_ARGUMENT sequenceRuleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.