Interface | osid.resourcing.JobResourcingSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for resourcing jobs. A more detailed assignment service can be managed through the Resourcing OSID. | ||
Method | getJobId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Job Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getJob | ||
Description |
Gets the | ||
Return | osid.resourcing.Foundry | the foundry | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canResourceJobs | ||
Description |
Tests if this user can assign | ||
Return | boolean | false if resource assignment methods are not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getResources | ||
Description |
Gets a list of resource assigned in this job. | ||
Return | osid.resource.ResourceList | a list of resources | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignResource | ||
Description |
Assigns a | ||
Parameters | osid.id.Id | resourceId | the Id of the Resource |
Errors | ALREADY_EXISTS | resourceId already assigned to this job | |
NOT_FOUND | resourceId not found | ||
NULL_ARGUMENT | resourceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignResource | ||
Description |
Unassigns a | ||
Parameters | osid.id.Id | resourceId | the Id of the Resource |
Errors | NOT_FOUND | resourceId not assigned to this job | |
NULL_ARGUMENT | resourceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |