com.atlassian.jira.issue.context
Class ProjectCategoryContext

java.lang.Object
  extended by com.atlassian.jira.issue.context.AbstractJiraContext
      extended by com.atlassian.jira.issue.context.ProjectCategoryContext
All Implemented Interfaces:
com.atlassian.bandana.BandanaContext, IssueContext, JiraContextNode, Serializable, Comparable<JiraContextNode>

public class ProjectCategoryContext
extends AbstractJiraContext

See Also:
Serialized Form

Field Summary
protected  org.ofbiz.core.entity.GenericValue projectCategory
           
 
Fields inherited from interface com.atlassian.jira.issue.context.JiraContextNode
FIELD_PROJECT, FIELD_PROJECT_CATEGORY
 
Constructor Summary
ProjectCategoryContext(org.ofbiz.core.entity.GenericValue projectCategory, JiraContextTreeManager treeManager)
           
 
Method Summary
 Map<String,Object> appendToParamsMap(Map<String,Object> input)
          Copy the supplied parameters and add new ones.
 org.ofbiz.core.entity.GenericValue getIssueType()
          Gets 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()
           
 Project getProjectObject()
          Gets the Project for this IssueContext.
 boolean hasParentContext()
           
 
Methods inherited from class com.atlassian.jira.issue.context.AbstractJiraContext
compareTo, equals, hashCode, isInContext, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

projectCategory

protected org.ofbiz.core.entity.GenericValue projectCategory
Constructor Detail

ProjectCategoryContext

public ProjectCategoryContext(org.ofbiz.core.entity.GenericValue projectCategory,
                              JiraContextTreeManager treeManager)
Method Detail

getParentContext

public com.atlassian.bandana.BandanaContext getParentContext()

hasParentContext

public boolean hasParentContext()

appendToParamsMap

public Map<String,Object> appendToParamsMap(Map<String,Object> input)
Description copied from interface: JiraContextNode
Copy the supplied parameters and add new ones.

Parameters:
input - to copy from
Returns:
the copied map

getProjectObject

public Project getProjectObject()
Description copied from interface: IssueContext
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

public org.ofbiz.core.entity.GenericValue getProject()
Description copied from interface: IssueContext
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).

getProjectCategory

public org.ofbiz.core.entity.GenericValue getProjectCategory()

getIssueTypeObject

public IssueType getIssueTypeObject()
Description copied from interface: IssueContext
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

public org.ofbiz.core.entity.GenericValue getIssueType()
Description copied from interface: IssueContext
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).


Copyright © 2002-2012 Atlassian. All Rights Reserved.