com.atlassian.jira.issue.managers
Class CachingIssueManager
java.lang.Object
com.atlassian.jira.issue.managers.CachingIssueManager
- All Implemented Interfaces:
- IssueManager, JiraManager
- public class CachingIssueManager
- extends java.lang.Object
- implements IssueManager
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decoratedIssueManager
IssueManager decoratedIssueManager
CachingIssueManager
public CachingIssueManager(IssueManager decoratedIssueManager)
getIssue
public org.ofbiz.core.entity.GenericValue getIssue(java.lang.Long id)
throws org.ofbiz.core.entity.GenericEntityException
- Specified by:
getIssue
in interface IssueManager
- Throws:
org.ofbiz.core.entity.GenericEntityException
getIssue
public org.ofbiz.core.entity.GenericValue getIssue(java.lang.String key)
throws org.ofbiz.core.entity.GenericEntityException
- Specified by:
getIssue
in interface IssueManager
- Throws:
org.ofbiz.core.entity.GenericEntityException
getIssueByWorkflow
public org.ofbiz.core.entity.GenericValue getIssueByWorkflow(java.lang.Long wfid)
- Specified by:
getIssueByWorkflow
in interface IssueManager
getEntitiesByIssue
public java.util.List getEntitiesByIssue(java.lang.String relationName,
org.ofbiz.core.entity.GenericValue issue)
throws org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
IssueManager
- Get a list of entities related to this issue by their relationship name.
Example relation names include IssueRelationConstants.VERSION, IssueRelationConstants.COMPONENT -
IssueRelationConstants
- Specified by:
getEntitiesByIssue
in interface IssueManager
- 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
- Description copied from interface:
IssueManager
- Get a list of issues related to this entity by their relationship name.
Example relation names include IssueRelationConstants.VERSION, IssueRelationConstants.COMPONENT -
IssueRelationConstants
- Specified by:
getIssuesByEntity
in interface IssueManager
- Throws:
org.ofbiz.core.entity.GenericEntityException
createIssue
public org.ofbiz.core.entity.GenericValue createIssue(java.lang.String remoteUserName,
java.util.Map fields)
throws CreateException
- Specified by:
createIssue
in interface IssueManager
- Throws:
CreateException
createIssue
public org.ofbiz.core.entity.GenericValue createIssue(com.opensymphony.user.User remoteUser,
java.util.Map fields)
throws CreateException
- Specified by:
createIssue
in interface IssueManager
- Throws:
CreateException
getProjectIssues
public java.util.List getProjectIssues(org.ofbiz.core.entity.GenericValue project)
throws org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
IssueManager
- Get all the issues for a given project.
- Specified by:
getProjectIssues
in interface IssueManager
- 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
- Specified by:
getVotedIssues
in interface IssueManager
- 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
- Specified by:
getIssueWatchers
in interface IssueManager
- 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
- Specified by:
getWatchedIssues
in interface IssueManager
- 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
- Specified by:
execute
in interface IssueManager
- Parameters:
searchRequest
- object to be used to search for
- Returns:
- A List of Issues that match the search request
- Throws:
SearchException
Copyright © 2002-2005 Atlassian. All Rights Reserved.