|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.context.IssueContextImpl
public class IssueContextImpl
Constructor Summary | |
---|---|
IssueContextImpl(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue issueType)
Deprecated. since 4.0 use IssueContextImpl(Long, String) |
|
IssueContextImpl(Long projectId,
String issueTypeId)
Create a context. |
Method Summary | |
---|---|
int |
compareTo(Object obj)
|
boolean |
equals(Object o)
|
org.ofbiz.core.entity.GenericValue |
getIssueType()
Gets the IssueType for this IssueContext. |
IssueType |
getIssueTypeObject()
Gets the IssueType for this IssueContext. |
org.ofbiz.core.entity.GenericValue |
getProject()
Gets the Project for this IssueContext. |
Project |
getProjectObject()
Gets the Project for this IssueContext. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssueContextImpl(Long projectId, String issueTypeId)
projectId
- Project ID, or null if field is not scoped by project.issueTypeId
- IssueType ID, or null if field is not scoped by issue type.public IssueContextImpl(org.ofbiz.core.entity.GenericValue project, org.ofbiz.core.entity.GenericValue issueType)
IssueContextImpl(Long, String)
project
- Eg. retrieved from ProjectManager.getProjectByKey(String)
,
or null if field is not scoped by project.issueType
- eg. retrieved from ConstantsManager.getIssueType(String)
,
or null if field is not scoped by issue type.Method Detail |
---|
public Project getProjectObject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
getProjectObject
in interface IssueContext
public org.ofbiz.core.entity.GenericValue getProject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
getProject
in interface IssueContext
public org.ofbiz.core.entity.GenericValue getIssueType()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
getIssueType
in interface IssueContext
public IssueType getIssueTypeObject()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
getIssueTypeObject
in interface IssueContext
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object obj)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |