OSID Logo
OSID Specifications
tracking package
Version 3.0.0
Release Candidate Preview
Interfaceosid.tracking.IssueResourcingSession
Implementsosid.OsidSession
Description

This session defines methods for resourcing issues.

MethodgetFrontOfficeId
Description

Gets the FrontOffice Id associated with this session.

Returnosid.id.Idthe FrontOffice Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetFrontOffice
Description

Gets the FrontOffice associated with this session.

Returnosid.tracking.FrontOfficethe front office
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanResourceIssues
Description

Tests if this user can assign resources to Issues. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may not offer assignment operations to unauthorized users.

Returnboolean false if resource assignment methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResourcesForQueue
Description

Gets a list of resource assignable in this queue.

Parametersosid.id.IdqueueIdthe Id of a Queue
Returnosid.resource.ResourceLista list of resources
ErrorsNOT_FOUND queueId not found
NULL_ARGUMENT queueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetResourcesAvailableForIssue
Description

Gets a list of candidate resources from this queue available for an issue sorted from best suited.

Parametersosid.id.IdissueIdthe Id of an Issue
Returnosid.resource.ResourceLista list of resources
ErrorsNOT_FOUND issueId not found
NULL_ARGUMENT issueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetIssuesByResource
Description

Gets a list of issues assigned to a resource.

Parametersosid.id.IdresourceIdthe Id of a Resource
Returnosid.tracking.IssueLista list of issues
ErrorsNOT_FOUND resourceId not found
NULL_ARGUMENT resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetIssuesByResourceForQueue
Description

Gets a list of issues assigned to a resource in a given queue.

Parametersosid.id.IdqueueIdthe Id of a Queue
osid.id.IdresourceIdthe Id of a Resource
Returnosid.tracking.IssueLista list of issues
ErrorsNOT_FOUND queueId or resourceId not found
NULL_ARGUMENT queueId or resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodassignIssueToResource
Description

Assigns an Issue to a Resource . The resource must be a valid resource in the issue queue.

Parametersosid.id.IdissueIdthe Id of the Issue
osid.id.IdresourceIdthe Id of the Resource
ErrorsALREADY_EXISTS issueId already assigned
NOT_FOUND issueId or resourceId not found
NULL_ARGUMENT issueId or resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignIssueFromResource
Description

Unassigns an Issue from a Resource.

Parametersosid.id.IdissueIdthe Id of the Issue
ErrorsNOT_FOUND issueId not found
NULL_ARGUMENT issueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.