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

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_CONFIG, FIELD_ISSUE_TYPE, FIELD_PROJECT, FIELD_PROJECT_CATEGORY
 
Constructor Summary
ProjectCategoryContext(org.ofbiz.core.entity.GenericValue projectCategory, JiraContextTreeManager treeManager)
           
 
Method Summary
 void appendToParamsMap(Map props)
           
 List getChildContexts()
           
 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()

getChildContexts

public List getChildContexts()

appendToParamsMap

public void appendToParamsMap(Map props)

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-2009 Atlassian. All Rights Reserved.