| Interface | osid.room.construction.RenovationCampusAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.room.construction.RoomConstructionManager | ||
osid.room.construction.RoomConstructionProxyManager | |||
| 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. | |
| Method | reassignRenovationToCampus | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | renovationId | the Id of the Renovation |
osid.id.Id | fromCampusId | the Id of the current Campus | |
osid.id.Id | toCampusId | the Id of the destination Campus | |
| Errors | ALREADY_EXISTS | renovationId already assigned to toCampusId | |
| NOT_FOUND | renovationId, fromCampusId , or toCampusId not
found or renovationId not mapped to fromCampusId | ||
| NULL_ARGUMENT | renovationId, fromCampusId , or toCampusId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |