Interface Issue
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
A Issue represents a issue in a Queue . An
Issue is an OsidRelationship between a customer and a
Queue where the effective dates represent the dates this Issue
was opened.
-
Method Summary
Modifier and TypeMethodDescriptionGets the assigned resource.Gets the assigned resourceId.Gets the blocker issueIds.Gets the blocking issues.Gets the branched issue.Gets the branched issueId.Gets the closed date.Gets the resource of the closer.Gets the resourceIdof the closer.Gets the agent of the closer.Gets the agentIdof the closer.Gets the created date.Gets the creating agent of this issue.Gets the creating agentId.Gets the creator of this issue.Gets the creatorId.Gets the customer.Gets the customerId.Gets the due date.Gets the duplicate issueIds.Gets the duplicate issues.getIssueRecord(Type issueRecordType) Gets the issue record corresponding to the givenIssuerecordType.This method is used to retrieve an object implementing the requested record.Gets the master issue.Gets the master issueId.Gets the priority type of this issue.getQueue()Gets the queue.Gets the queueId.Gets the last reopened date.Gets the reopener of this issue.Gets the reopenerId.Gets the reopening agent of this issue.Gets the reopening agentId.Gets a type indicating the resolution; "fixed," "canceled", "cannot reproduce."Gets the resolved date.Gets the resolver of this issue.Gets the resolverId.Gets the resolving agent of this issue.Gets the resolving agentId.Gets the root issue.Gets the root issueId.getTopic()Gets the topic.Gets the topicId.booleanTests if this issue has a due date.booleanTests if this issue is assigned.booleanTests if this issue is blocked on another issue.booleanTests if this issue is a branch of another issue.booleanisClosed()Tests if this issue is closed.booleanTests if this issue is a duplicate of another issue.booleanTests if this issue is pending a response from the customer.booleanTests if this issue has been resurrected after a close.booleanTests if this issue is resolved.booleanTests if this issue is a subtask of another issue.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonModifier and TypeMethodDescriptionGets a state indicating why this relationship has ended.Gets a stateIdindicating why this relationship has ended.booleanTests if a reason this relationship came to an end is known.Methods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
getQueueId
Id getQueueId()Gets the queueId.- Returns:
- the queue
Id - Compliance:
mandatory- This method must be implemented.
-
getQueue
Gets the queue.- Returns:
- the queue
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCustomerId
Id getCustomerId()Gets the customerId.- Returns:
- the customer
Id - Compliance:
mandatory- This method must be implemented.
-
getCustomer
Gets the customer.- Returns:
- the customer
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getTopicId
Id getTopicId()Gets the topicId.- Returns:
- the topic
Id - Compliance:
mandatory- This method must be implemented.
-
getTopic
Gets the topic.- Returns:
- the topic
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isSubTask
boolean isSubTask()Tests if this issue is a subtask of another issue.- Returns:
trueif this issue is a subtask,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMasterIssueId
Id getMasterIssueId()Gets the master issueId. IfisSubtask()isfalsethen theIdof thisIssueis returned.- Returns:
- the master issue
Id - Compliance:
mandatory- This method must be implemented.
-
getMasterIssue
Gets the master issue. IfisSubtask()isfalsethen thisIssueis returned.- Returns:
- the master issue
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isDuplicate
boolean isDuplicate()Tests if this issue is a duplicate of another issue.- Returns:
trueif this issue is a duplicate,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDuplicateIssueIds
IdList getDuplicateIssueIds()Gets the duplicate issueIds.- Returns:
- the duplicate issue
Ids - Throws:
IllegalStateException-isDuplicate()isfalse- Compliance:
mandatory- This method must be implemented.
-
getDuplicateIssues
Gets the duplicate issues.- Returns:
- the duplicate issues
- Throws:
IllegalStateException-isDuplicate()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isBranched
boolean isBranched()Tests if this issue is a branch of another issue.- Returns:
trueif this issue is a branch,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getBranchedIssueId
Id getBranchedIssueId()Gets the branched issueId.- Returns:
- the branched issue
- Throws:
IllegalStateException-isBranched()isfalse- Compliance:
mandatory- This method must be implemented.
-
getBranchedIssue
Gets the branched issue.- Returns:
- the branched issue
- Throws:
IllegalStateException-isBranched()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getRootIssueId
Id getRootIssueId()Gets the root issueId. IfisBranched()isfalsethen theIdof thisIssueis returned.- Returns:
- the root issue
Id - Compliance:
mandatory- This method must be implemented.
-
getRootIssue
Gets the root issue. IfisBranched()isfalsethen thisIssueis returned.- Returns:
- the root issue
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getPriorityType
Type getPriorityType()Gets the priority type of this issue.- Returns:
- the priority type
- Compliance:
mandatory- This method must be implemented.
-
getCreatorId
Id getCreatorId()Gets the creatorId.- Returns:
- the creator
Id - Compliance:
mandatory- This method must be implemented.
-
getCreator
Gets the creator of this issue.- Returns:
- the creator
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCreatingAgentId
Id getCreatingAgentId()Gets the creating agentId.- Returns:
- the creatoing agent
Id - Compliance:
mandatory- This method must be implemented.
-
getCreatingAgent
Gets the creating agent of this issue.- Returns:
- the creating agent
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCreatedDate
DateTime getCreatedDate()Gets the created date.- Returns:
- the created date
- Compliance:
mandatory- This method must be implemented.
-
isReopened
boolean isReopened()Tests if this issue has been resurrected after a close. A reopenedIssueextends the effective dates through to when it is closed again.- Returns:
trueif this issue is reopened,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getReopenerId
Id getReopenerId()Gets the reopenerId. If reoepned more than once, this method returns the last reopened event.- Returns:
- the reopener
Id - Throws:
IllegalStateException-isReopened()isfalse- Compliance:
mandatory- This method must be implemented.
-
getReopener
Gets the reopener of this issue. If reoepned more than once, this method returns the last reopened event.- Returns:
- the reopener
- Throws:
IllegalStateException-isReopened()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getReopeningAgentId
Id getReopeningAgentId()Gets the reopening agentId. If reoepned more than once, this method returns the last reopened event.- Returns:
- the reopening agent
Id - Throws:
IllegalStateException-isReopened()isfalse- Compliance:
mandatory- This method must be implemented.
-
getReopeningAgent
Gets the reopening agent of this issue. If reoepned more than once, this method returns the last reopened event.- Returns:
- the reopening agent
- Throws:
IllegalStateException-isReopened()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getReopenedDate
DateTime getReopenedDate()Gets the last reopened date. If reoepned more than once, this method returns the last reopened event.- Returns:
- the last reopened date
- Throws:
IllegalStateException-hasReopened()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasDueDate
boolean hasDueDate()Tests if this issue has a due date.- Returns:
trueif this issue has a due date,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDueDate
DateTime getDueDate()Gets the due date.- Returns:
- the due date
- Throws:
IllegalStateException-hasDueDate()isfalse- Compliance:
mandatory- This method must be implemented.
-
isPending
boolean isPending()Tests if this issue is pending a response from the customer.- Returns:
trueif this issue is pending,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
isBlocked
boolean isBlocked()Tests if this issue is blocked on another issue.- Returns:
trueif this issue is blocked,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getBlockerIds
IdList getBlockerIds()Gets the blocker issueIds.- Returns:
- the blocking issue
Ids - Throws:
IllegalStateException-isBlocked()isfalse- Compliance:
mandatory- This method must be implemented.
-
getBlockers
Gets the blocking issues.- Returns:
- the blocking issues
- Throws:
IllegalStateException-isBlocked()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isResolved
boolean isResolved()Tests if this issue is resolved. If the issue was reopened, it is no longer resolved.- Returns:
trueif this issue is resolved,falseif unresolved- Compliance:
mandatory- This method must be implemented.
-
getResolverId
Id getResolverId()Gets the resolverId.- Returns:
- the reopener
Id - Throws:
IllegalStateException-isResolved()isfalse- Compliance:
mandatory- This method must be implemented.
-
getResolver
Gets the resolver of this issue.- Returns:
- the resolver
- Throws:
IllegalStateException-isResolved()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getResolvingAgentId
Id getResolvingAgentId()Gets the resolving agentId.- Returns:
- the resolving agent
Id - Throws:
IllegalStateException-isResolved()isfalse- Compliance:
mandatory- This method must be implemented.
-
getResolvingAgent
Gets the resolving agent of this issue.- Returns:
- the resolving agent
- Throws:
IllegalStateException-isResolved()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getResolvedDate
DateTime getResolvedDate()Gets the resolved date. A resolved issue is still open until it is closed.- Returns:
- the resolved date
- Throws:
IllegalStateException-isResolved()isfalse- Compliance:
mandatory- This method must be implemented.
-
getResolutionType
Type getResolutionType()Gets a type indicating the resolution; "fixed," "canceled", "cannot reproduce."- Returns:
- the resolution type
- Throws:
IllegalStateException-isResolved()isfalse- Compliance:
mandatory- This method must be implemented.
-
isClosed
boolean isClosed()Tests if this issue is closed. An issue may be left opened after being resolved for acknowledgement or review.- Returns:
trueif this issue is closed,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCloserId
Id getCloserId()Gets the resourceIdof the closer.- Returns:
- the closing resource
Id - Throws:
IllegalStateException-isClosed()isfalse- Compliance:
mandatory- This method must be implemented.
-
getCloser
Gets the resource of the closer.- Returns:
- the closing resource
- Throws:
IllegalStateException-isClosed()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getClosingAgentId
Id getClosingAgentId()Gets the agentIdof the closer.- Returns:
- the closing agent
Id - Throws:
IllegalStateException-isClosed()isfalse- Compliance:
mandatory- This method must be implemented.
-
getClosingAgent
Gets the agent of the closer.- Returns:
- the closing agent
- Throws:
IllegalStateException-isClosed()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getClosedDate
DateTime getClosedDate()Gets the closed date.- Returns:
- the closed date
- Throws:
IllegalStateException-isClosed()isfalse- Compliance:
mandatory- This method must be implemented.
-
isAssigned
boolean isAssigned()Tests if this issue is assigned.- Returns:
trueif this issue is assigned,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssignedResourceId
Id getAssignedResourceId()Gets the assigned resourceId.- Returns:
- the assigned resource
Id - Throws:
IllegalStateException-isAssigned()isfalseorisClosed()istrue- Compliance:
mandatory- This method must be implemented.
-
getAssignedResource
Gets the assigned resource.- Returns:
- the assigned resource
- Throws:
IllegalStateException-isAssigned()isfalseorisClosed()istrueOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getIssueRecord
Gets the issue record corresponding to the givenIssuerecordType.This method is used to retrieve an object implementing the requested record. TheissueRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(issueRecordType)istrue.- Parameters:
issueRecordType- the type of issue record to retrieve- Returns:
- the issue record
- Throws:
NullArgumentException-issueRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(issueRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-