OSID Logo
OSID Specifications
tracking package
Version 3.0.0
Release Candidate Preview
Interfaceosid.tracking.IssueForm
Implementsosid.OsidRelationshipForm
Description

This is the form for creating and updating Issues. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the IssueAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetPriorityTypeMetadata
Description

Gets the metadata for the priority type.

Returnosid.Metadatametadata for the priority type
CompliancemandatoryThis method must be implemented.
MethodsetPriorityType
Description

Sets the priority type.

Parametersosid.type.TypepriorityTypethe new priority type
ErrorsINVALID_ARGUMENT priorityType is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT priorityType is null
CompliancemandatoryThis method must be implemented.
MethodclearPriorityType
Description

Removes the priority type.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCustomerMetadata
Description

Gets the metadata for the customer.

Returnosid.Metadatametadata for the customer
CompliancemandatoryThis method must be implemented.
MethodsetCustomer
Description

Sets the customer.

Parametersosid.id.IdresourceIdthe new customer
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearCustomer
Description

Removes the customer.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTopicMetadata
Description

Gets the metadata for the topic.

Returnosid.Metadatametadata for the topic
CompliancemandatoryThis method must be implemented.
MethodsetTopic
Description

Sets the topic.

Parametersosid.id.IdtopicIdthe new topic
ErrorsINVALID_ARGUMENT topicId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT topicId is null
CompliancemandatoryThis method must be implemented.
MethodclearTopic
Description

Removes the topic.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDueDateMetadata
Description

Gets the metadata for the due date.

Returnosid.Metadatametadata for the due date
CompliancemandatoryThis method must be implemented.
MethodsetDueDate
Description

Sets the due date.

Parametersosid.calendaring.DateTimetopicIdthe new due date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
CompliancemandatoryThis method must be implemented.
MethodclearDueDate
Description

Removes the due date.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetIssueFormRecord
Description

Gets the IssueFormRecord corresponding to the given issue record Type.

Parametersosid.type.TypeissueRecordTypea issue record type
Returnosid.tracking.records.IssueFormRecordthe issue form record
ErrorsNULL_ARGUMENT issueRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(issueRecordType) is false
CompliancemandatoryThis method must be implemented.