Interface | osid.room.squatting.DeedCampusAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign Adding a reference of a | ||
Method | canAssignDeeds | ||
Description |
Tests if this user can alter deed/campus mappings. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
Return | boolean | false if mapping is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canAssignDeedsToCampus | ||
Description |
Tests if this user can alter deed/campus mappings. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
Parameters | osid.id.Id | campusId | the Id of the Campus |
Return | boolean | false if mapping is not authorized, true
otherwise | |
Errors | NULL_ARGUMENT | campusId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableCampusIds | ||
Description |
Gets a list of campuses including and under the given campus node in which any deed can be assigned. | ||
Parameters | osid.id.Id | campusId | the Id of the Campus |
Return | osid.id.IdList | list of assignable campus Ids | |
Errors | NULL_ARGUMENT | campusId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableCampusIdsForDeed | ||
Description |
Gets a list of campuses including and under the given campus node in which a specific deed can be assigned. | ||
Parameters | osid.id.Id | campusId | the Id of the Campus |
osid.id.Id | deedId | the Id of the Deed | |
Return | osid.id.IdList | list of assignable campus Ids | |
Errors | NULL_ARGUMENT | campusId or deedId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignDeedToCampus | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | deedId | the Id of the Deed |
osid.id.Id | campusId | the Id of the Campus | |
Errors | ALREADY_EXISTS | deedId is already assigned to campusId | |
NOT_FOUND | deedId or campusId not found | ||
NULL_ARGUMENT | deedId or campusId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignDeedFromCampus | ||
Description |
Removes a | ||
Parameters | osid.id.Id | deedId | the Id of the Deed |
osid.id.Id | campusId | the Id of the Campus | |
Errors | NOT_FOUND | deedId or campusId not found or deedId
not assigned to campusId | |
NULL_ARGUMENT | deedId or campusId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |