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

This session creates and manages linked 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.
MethodcanLinkIssues
Description

Tests if this user can link duplicate Issues . A return of true does not guarantee successful authorization. A return of false indicates that it is known linking an issue will result in a PERMISSION_DENIED . This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.

Returnbooleanfalse if linking Issues is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodcanLinkIssue
Description

Tests if this user can link an Issue . A return of true does not guarantee successful authorization. A return of false indicates that it is known linking the issue will result in a PERMISSION_DENIED . This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.

Parametersosid.id.IdissueIdthe Id of the Issue
Returnbooleanfalse if issue linking is not authorized, true otherwise
ErrorsNULL_ARGUMENTissueId is null
CompliancemandatoryThis method must be implemented.
Provider Notes

If the issueId is not found, then it is acceptable to return false to indicate the lack of linking available.

MethodlinkIssue
Description

Links two issues as duplicates. An issue may link to more than issue.

Parametersosid.id.IdissueIdthe Id of the Issue
osid.id.IdanotherIssueIdthe Id of another Issue
ErrorsALREADY_EXISTSissueId and anotherIssueId already linked
NOT_FOUNDissueId or anotherIssueId is not found
NULL_ARGUMENTissueId or anotherIssueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunlinkIssue
Description

Removes the link between two issues as duplicates.

Parametersosid.id.IdissueIdthe Id of the Issue
osid.id.IdanotherIssueIdthe Id of another Issue
ErrorsNOT_FOUNDissueId and anotherIssueId not linked
NULL_ARGUMENTissueId or anotherIssueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.