|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.context.AbstractJiraContext com.atlassian.jira.issue.context.ProjectContext
@PublicApi public class ProjectContext
Field Summary | |
---|---|
protected Long |
projectCategory
|
protected Long |
projectId
|
Fields inherited from interface com.atlassian.jira.issue.context.JiraContextNode |
---|
FIELD_PROJECT, FIELD_PROJECT_CATEGORY |
Fields inherited from interface com.atlassian.jira.issue.context.IssueContext |
---|
GLOBAL |
Constructor Summary | |
---|---|
ProjectContext(org.ofbiz.core.entity.GenericValue project,
JiraContextTreeManager treeManager)
Deprecated. Use ProjectContext(Project, JiraContextTreeManager) instead. Since v5.0. |
|
ProjectContext(IssueContext issueContext,
JiraContextTreeManager treeManager)
|
|
ProjectContext(Long projectId)
|
|
ProjectContext(Long projectId,
JiraContextTreeManager treeManager)
|
|
ProjectContext(Project project,
JiraContextTreeManager treeManager)
|
Method Summary | |
---|---|
Map<String,Object> |
appendToParamsMap(Map<String,Object> input)
Copy the supplied parameters and add new ones. |
boolean |
equals(Object o)
|
org.ofbiz.core.entity.GenericValue |
getIssueType()
Gets the IssueType for this IssueContext. |
String |
getIssueTypeId()
Gets the ID of the IssueType for this IssueContext. |
IssueType |
getIssueTypeObject()
Gets the IssueType for this IssueContext. |
com.atlassian.bandana.BandanaContext |
getParentContext()
|
org.ofbiz.core.entity.GenericValue |
getProject()
Gets the Project for this IssueContext. |
org.ofbiz.core.entity.GenericValue |
getProjectCategory()
|
ProjectCategory |
getProjectCategoryObject()
|
Long |
getProjectId()
Gets the ID of the Project for this IssueContext. |
Project |
getProjectObject()
Gets the Project for this IssueContext. |
int |
hashCode()
|
boolean |
hasParentContext()
|
String |
toString()
|
Methods inherited from class com.atlassian.jira.issue.context.AbstractJiraContext |
---|
compareTo, isInContext |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Long projectCategory
protected Long projectId
Constructor Detail |
---|
public ProjectContext(Long projectId)
public ProjectContext(Long projectId, JiraContextTreeManager treeManager)
public ProjectContext(org.ofbiz.core.entity.GenericValue project, JiraContextTreeManager treeManager)
ProjectContext(Project, JiraContextTreeManager)
instead. Since v5.0.
public ProjectContext(Project project, JiraContextTreeManager treeManager)
public ProjectContext(IssueContext issueContext, JiraContextTreeManager treeManager)
Method Detail |
---|
public com.atlassian.bandana.BandanaContext getParentContext()
public boolean hasParentContext()
public Map<String,Object> appendToParamsMap(Map<String,Object> input)
JiraContextNode
input
- to copy from
public Project getProjectObject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
public org.ofbiz.core.entity.GenericValue getProject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
public Long getProjectId()
IssueContext
A null return value is used to represent that this context applies to all Projects.
public org.ofbiz.core.entity.GenericValue getProjectCategory()
public ProjectCategory getProjectCategoryObject()
public IssueType getIssueTypeObject()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
public org.ofbiz.core.entity.GenericValue getIssueType()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
public String getIssueTypeId()
IssueContext
A null return value is used to represent that this context applies to all IssueTypes.
public boolean equals(Object o)
equals
in class AbstractJiraContext
public int hashCode()
hashCode
in class AbstractJiraContext
public String toString()
toString
in class AbstractJiraContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |