Interface | osid.room.construction.RenovationCampusAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign Adding a reference of a | ||
Method | canAssignRenovations | ||
Description |
Tests if this user can alter renovation/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 | canAssignRenovationsToCampus | ||
Description |
Tests if this user can alter renovation/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 renovation 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 | getAssignableCampusIdsForRenovation | ||
Description |
Gets a list of campuses including and under the given campus node in which a specific renovation can be assigned. | ||
Parameters | osid.id.Id | campusId | the Id of the Campus |
osid.id.Id | renovationId | the Id of the Renovation | |
Return | osid.id.IdList | list of assignable campus Ids | |
Errors | NULL_ARGUMENT | campusId or renovationId is null
| |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignRenovationToCampus | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | renovationId | the Id of the Renovation |
osid.id.Id | campusId | the Id of the Campus | |
Errors | ALREADY_EXISTS | renovationId is already assigned to campusId | |
NOT_FOUND | renovationId or campusId not found | ||
NULL_ARGUMENT | renovationId or campusId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignRenovationFromCampus | ||
Description |
Removes a | ||
Parameters | osid.id.Id | renovationId | the Id of the Renovation |
osid.id.Id | campusId | the Id of the Campus | |
Errors | NOT_FOUND | renovationId or campusId not found or
renovationId not assigned to campusId | |
NULL_ARGUMENT | renovationId or campusId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |