OSID Logo
OSID Specifications
tracking package
Version 3.0.0
Release Candidate Preview
Interfaceosid.tracking.DuplicateIssueAdminSession
Implementsosid.OsidSession
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.

Returnboolean false 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
Returnboolean false if issue linking is not authorized, true otherwise
ErrorsNULL_ARGUMENT issueId 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_EXISTS issueId and anotherIssueId already linked
NOT_FOUND issueId or anotherIssueId is not found
NULL_ARGUMENT issueId 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_FOUND issueId and anotherIssueId not linked
NULL_ARGUMENT issueId or anotherIssueId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.