com.atlassian.jira.issue.context
Interface IssueContext

All Known Subinterfaces:
Issue, JiraContextNode, MutableIssue
All Known Implementing Classes:
AbstractIssue, AbstractJiraContext, DocumentIssueImpl, GlobalIssueContext, IssueContextImpl, IssueImpl, LazyIssueContext, MockIssue, ProjectCategoryContext, ProjectContext, TemplateIssue

@PublicApi
public interface IssueContext

A context (scope) for an issue or custom field. For example, global custom fields have an IssueContext whose project and issue type are null.


Field Summary
static IssueContext GLOBAL
          Global context not associated with any project or any issues types.
 
Method Summary
 org.ofbiz.core.entity.GenericValue getIssueType()
          Deprecated. Please use getIssueTypeObject(). Deprecated since v4.0
 String getIssueTypeId()
          Gets the ID of the IssueType for this IssueContext.
 IssueType getIssueTypeObject()
          Gets the IssueType for this IssueContext.
 org.ofbiz.core.entity.GenericValue getProject()
          Deprecated. Please use getProjectObject(). Deprecated since v4.0
 Long getProjectId()
          Gets the ID of the Project for this IssueContext.
 Project getProjectObject()
          Gets the Project for this IssueContext.
 

Field Detail

GLOBAL

static final IssueContext GLOBAL
Global context not associated with any project or any issues types.

Method Detail

getProjectObject

Project getProjectObject()
Gets the Project for this IssueContext.

A null return value is used to represent that this context applies to all Projects.

Returns:
The Project for this IssueContext (can be null).

getProject

org.ofbiz.core.entity.GenericValue getProject()
Deprecated. Please use getProjectObject(). Deprecated since v4.0

Gets the Project for this IssueContext.

A null return value is used to represent that this context applies to all Projects.

Returns:
The Project for this IssueContext (can be null).

getProjectId

Long getProjectId()
Gets the ID of the Project for this IssueContext.

A null return value is used to represent that this context applies to all Projects.

Returns:
The ID of the Project for this IssueContext (can be null).

getIssueTypeObject

IssueType getIssueTypeObject()
Gets the IssueType for this IssueContext.

A null return value is used to represent that this context applies to all IssueTypes.

Returns:
The IssueType for this IssueContext (can be null).

getIssueType

org.ofbiz.core.entity.GenericValue getIssueType()
Deprecated. Please use getIssueTypeObject(). Deprecated since v4.0

Gets the IssueType for this IssueContext.

A null return value is used to represent that this context applies to all IssueTypes.

Returns:
The IssueType for this IssueContext (can be null).

getIssueTypeId

String getIssueTypeId()
Gets the ID of the IssueType for this IssueContext.

A null return value is used to represent that this context applies to all IssueTypes.

Returns:
The ID of the IssueType for this IssueContext (can be null).


Copyright © 2002-2014 Atlassian. All Rights Reserved.