Interface | osid.personnel.PositionNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
Method | getRealmId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Realm Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getRealm | ||
Description |
Gets the | ||
Return | osid.personnel.Realm | the realm | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canRegisterForPositionNotifications | ||
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 | useFederatedRealmView | ||
Description |
Federates the view for methods in this session. A federated view will include notifications for positions in realms which are children of this realm in the realm hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedRealmView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this realm only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | registerForNewPositions | ||
Description |
Register for notifications of new positions. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewPositionsForOrganization | ||
Description |
Register for notifications of new positions for an
organization. | ||
Parameters | osid.id.Id | organizationId | an organization to monitor |
Errors | NULL_ARGUMENT | organizationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedPositions | ||
Description |
Registers for notification of updated positions. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedPositionsForOrganization | ||
Description |
Register for notifications of changed positions for the
given organization. | ||
Parameters | osid.id.Id | organizationId | an organization to monitor |
Errors | NULL_ARGUMENT | organizationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedPosition | ||
Description |
Registers for notification of an updated position.
| ||
Parameters | osid.id.Id | positionId | the Id of the Position to monitor |
Errors | NOT_FOUND | a position was not found identified by the given Id | |
NULL_ARGUMENT | positionId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedPositions | ||
Description |
Registers for notification of deleted positions. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedPositionsForOrganization | ||
Description |
Register for notifications of deleted positions for the
given organization. | ||
Parameters | osid.id.Id | organizationId | an organization to monitor |
Errors | NULL_ARGUMENT | organizationId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedPosition | ||
Description |
Registers for notification of a deleted position.
| ||
Parameters | osid.id.Id | positionId | the Id of the Position to monitor |
Errors | NOT_FOUND | a position was not found identified by the given Id | |
NULL_ARGUMENT | positionId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |