com.atlassian.jira.issue
Interface IssueManager

All Superinterfaces:
JiraManager
All Known Implementing Classes:
CachingIssueManager, DefaultIssueManager

public interface IssueManager
extends JiraManager

A class to manage interactions with issues


Method Summary
 org.ofbiz.core.entity.GenericValue createIssue(java.lang.String remoteUserName, java.util.Map fields)
           
 org.ofbiz.core.entity.GenericValue createIssue(com.opensymphony.user.User remoteUser, java.util.Map fields)
           
 java.util.Collection execute(SearchRequest searchRequest, com.opensymphony.user.User searcher)
          Takes a search request object and returns a list of issues that match the search request
 java.util.List getEntitiesByIssue(java.lang.String relationName, org.ofbiz.core.entity.GenericValue issue)
          Get a list of entities related to this issue by their relationship name.
 org.ofbiz.core.entity.GenericValue getIssue(java.lang.Long id)
           
 org.ofbiz.core.entity.GenericValue getIssue(java.lang.String key)
           
 org.ofbiz.core.entity.GenericValue getIssueByWorkflow(java.lang.Long wfid)
           
 java.util.List getIssuesByEntity(java.lang.String relationName, org.ofbiz.core.entity.GenericValue entity)
          Get a list of issues related to this entity by their relationship name.
 java.util.List getIssueWatchers(org.ofbiz.core.entity.GenericValue issue)
           
 java.util.List getProjectIssues(org.ofbiz.core.entity.GenericValue project)
          Get all the issues for a given project.
 java.util.List getVotedIssues(com.opensymphony.user.User user)
           
 java.util.List getWatchedIssues(com.opensymphony.user.User user)
           
 

Method Detail

getIssue

public org.ofbiz.core.entity.GenericValue getIssue(java.lang.Long id)
                                            throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getIssueByWorkflow

public org.ofbiz.core.entity.GenericValue getIssueByWorkflow(java.lang.Long wfid)
                                                      throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getIssue

public org.ofbiz.core.entity.GenericValue getIssue(java.lang.String key)
                                            throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getVotedIssues

public java.util.List getVotedIssues(com.opensymphony.user.User user)
                              throws org.ofbiz.core.entity.GenericEntityException,
                                     com.opensymphony.user.EntityNotFoundException
Throws:
org.ofbiz.core.entity.GenericEntityException
com.opensymphony.user.EntityNotFoundException

getIssueWatchers

public java.util.List getIssueWatchers(org.ofbiz.core.entity.GenericValue issue)
                                throws org.ofbiz.core.entity.GenericEntityException,
                                       com.opensymphony.user.EntityNotFoundException
Throws:
org.ofbiz.core.entity.GenericEntityException
com.opensymphony.user.EntityNotFoundException

getWatchedIssues

public java.util.List getWatchedIssues(com.opensymphony.user.User user)
                                throws org.ofbiz.core.entity.GenericEntityException,
                                       com.opensymphony.user.EntityNotFoundException
Throws:
org.ofbiz.core.entity.GenericEntityException
com.opensymphony.user.EntityNotFoundException

execute

public java.util.Collection execute(SearchRequest searchRequest,
                                    com.opensymphony.user.User searcher)
                             throws SearchException
Takes a search request object and returns a list of issues that match the search request

Parameters:
searchRequest - object to be used to search for
Returns:
A List of Issues that match the search request
Throws:
SearchException

getEntitiesByIssue

public java.util.List getEntitiesByIssue(java.lang.String relationName,
                                         org.ofbiz.core.entity.GenericValue issue)
                                  throws org.ofbiz.core.entity.GenericEntityException
Get a list of entities related to this issue by their relationship name. Example relation names include IssueRelationConstants.VERSION, IssueRelationConstants.COMPONENT - IssueRelationConstants

Throws:
org.ofbiz.core.entity.GenericEntityException

getIssuesByEntity

public java.util.List getIssuesByEntity(java.lang.String relationName,
                                        org.ofbiz.core.entity.GenericValue entity)
                                 throws org.ofbiz.core.entity.GenericEntityException
Get a list of issues related to this entity by their relationship name. Example relation names include IssueRelationConstants.VERSION, IssueRelationConstants.COMPONENT - IssueRelationConstants

Throws:
org.ofbiz.core.entity.GenericEntityException

createIssue

public org.ofbiz.core.entity.GenericValue createIssue(java.lang.String remoteUserName,
                                                      java.util.Map fields)
                                               throws CreateException
Throws:
CreateException

createIssue

public org.ofbiz.core.entity.GenericValue createIssue(com.opensymphony.user.User remoteUser,
                                                      java.util.Map fields)
                                               throws CreateException
Throws:
CreateException

getProjectIssues

public java.util.List getProjectIssues(org.ofbiz.core.entity.GenericValue project)
                                throws org.ofbiz.core.entity.GenericEntityException
Get all the issues for a given project.

Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2005 Atlassian. All Rights Reserved.