OSID Logo
OSID Specifications
room squatting package
Version 3.1.0
Interfaceosid.room.squatting.DeedNotificationSession
Implementsosid.OsidSession
Used Byosid.room.squatting.RoomSquattingManager
osid.room.squatting.RoomSquattingProxyManager
Description

This session defines methods to receive notifications on adds/changes to Deeds. 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.

Notifications are triggered with changes to the Deed object itself. Adding and removing rooms result in notifications available from the notification session for rooms.

MethodgetCampusId
Description

Gets the Campus Id associated with this session.

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

Gets the Campus associated with this session.

Returnosid.room.Campus the campus
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanRegisterForDeedNotifications
Description

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

Federates the view for methods in this session. A federated view will include deeds in campuses which are children of this campus in the campus hierarchy.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedCampusView
Description

Isolates the view for methods in this session. An isolated view restricts retrievals to this campus only.

Compliancemandatory This method is must be implemented.
MethodreliableDeedNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodunreliableDeedNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodacknowledgeDeedNotification
Description

Acknowledge a deed 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.
MethodregisterForNewDeeds
Description

Register for notifications of new deeds. DeedReceiver.newDeeds() is invoked when a new Deed is created.

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

Registers for notification of new deeds for a building. DeedReceiver.newDeeds() is invoked when a deed for the building is created.

Parametersosid.id.IdbuildingId the Id of the Building to monitor
ErrorsNULL_ARGUMENT buildingId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewDeedsForOwner
Description

Registers for notification of new deeds for an owner. DeedReceiver.NewDeeds() is invoked when a deed for the owner is created.

Parametersosid.id.IdresourceId the Id of the Resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDeeds
Description

Registers for notification of updated deeds. DeedReceiver.changedDeeds() is invoked when a deed is changed.

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

Registers for notification of a updated deedsfor a building. DeedReceiver.changedDeeds() is invoked when a deed for the building is changed.

Parametersosid.id.IdbuildingId the Id of the Building to monitor
ErrorsNULL_ARGUMENT buildingId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDeedsForOwner
Description

Registers for notification of updated deeds for an owner. DeedReceiver.changedDeeds() is invoked when a deed for the owner is changed.

Parametersosid.id.IdresourceId the Id of the Resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedDeed
Description

Registers for notification of an updated deed. DeedReceiver.changedDeeds() is invoked when the specified deed is changed.

Parametersosid.id.IddeedId the Id of the Deed to monitor
ErrorsNULL_ARGUMENT deedId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedDeeds
Description

Registers for notification of deleted deeds. DeedReceiver.deletedDeeds() is invoked when a deed is deleted.

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

Registers for notification of a deleted deed for a building. DeedReceiver.deletedDeeds() is invoked when a deed for the building is deleted.

Parametersosid.id.IdbuildingId the Id of the Building to monitor
ErrorsNULL_ARGUMENT buildingId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedDeedsForOwner
Description

Registers for notification of a deleted deed for an owner. DeedReceiver.deletedDeeds() is invoked when a deed for the owner is deleted.

Parametersosid.id.IdresourceId the Id of the Resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedDeed
Description

Registers for notification of a deleted deed. DeedReceiver.deletedDeeds() is invoked when the specified deed is deleted.

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