OSID Logo
OSID Specifications
tracking package
Version 3.0.0
Interfaceosid.tracking.QueueResourcingSession
Implementsosid.OsidSession
Used Byosid.tracking.TrackingManager
osid.tracking.TrackingProxyManager
Description

This session defines methods for resourcing queues. A more detailed assignment service can be managed through the Resourcing OSID.

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.
MethodcanResourceQueues
Description

Tests if this user can assign Resources to queues. 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.

Returnbooleanfalse if resource assignment methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodcanResourceQueue
Description

Tests if this user can assign Resources to a queue. 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.

Parametersosid.id.IdqueueIdthe Id of a Queue
Returnbooleanfalse if resource assignment methods are not authorized, true otherwise
ErrorsNULL_ARGUMENTqueueId is null
CompliancemandatoryThis method must be implemented.
MethodgetResources
Description

Gets a list of resource assigned in a queue.

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

Assigns a Resource to a queue.

Parametersosid.id.IdqueueIdthe Id of a Queue
osid.id.IdresourceIdthe Id of the Resource
ErrorsALREADY_EXISTSresourceId already assigned to this queue
NOT_FOUNDqueueId or resourceId not found
NULL_ARGUMENTqueueId or resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignResource
Description

Unassigns a Resource from this queue.

Parametersosid.id.IdqueueIdthe Id of a Queue
osid.id.IdresourceIdthe Id of the Resource
ErrorsNOT_FOUNDqueueId not found or resourceId not assigned to this queue
NULL_ARGUMENTqueueId or resourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.