|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.managers.DefaultIssueManager
Constructor Summary | |
DefaultIssueManager()
|
Method Summary | |
java.util.Collection |
execute(SearchRequest searchRequest,
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,
GenericValue issue)
Get a list of entities related to this issue by their relationship name. |
GenericValue |
getIssue(java.lang.Long id)
|
GenericValue |
getIssue(java.lang.String key)
|
GenericValue |
getIssueByWorkflow(java.lang.Long wfid)
|
java.util.List |
getIssuesByEntity(java.lang.String relationName,
GenericValue entity)
Get a list of issues related to this entity by their relationship name. |
java.util.List |
getIssueWatchers(GenericValue issue)
Return a list of users that are watching an issue. |
java.util.List |
getVotedIssues(User user)
Retrieves all the issues a user has voted for. |
java.util.List |
getWatchedIssues(User user)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultIssueManager()
Method Detail |
public GenericValue getIssue(java.lang.Long id) throws GenericEntityException
getIssue
in interface IssueManager
GenericEntityException
public GenericValue getIssue(java.lang.String key) throws GenericEntityException
getIssue
in interface IssueManager
GenericEntityException
public GenericValue getIssueByWorkflow(java.lang.Long wfid) throws GenericEntityException
getIssueByWorkflow
in interface IssueManager
GenericEntityException
public java.util.List getEntitiesByIssue(java.lang.String relationName, GenericValue issue) throws GenericEntityException
IssueManager
IssueRelationConstants
getEntitiesByIssue
in interface IssueManager
GenericEntityException
public java.util.List getIssuesByEntity(java.lang.String relationName, GenericValue entity) throws GenericEntityException
IssueManager
IssueRelationConstants
getIssuesByEntity
in interface IssueManager
GenericEntityException
public java.util.List getVotedIssues(User user) throws GenericEntityException, EntityNotFoundException
getVotedIssues
in interface IssueManager
user
- The user that has voted
GenericEntityException
EntityNotFoundException
public java.util.List getIssueWatchers(GenericValue issue) throws GenericEntityException, EntityNotFoundException
getIssueWatchers
in interface IssueManager
issue
- The issue
GenericEntityException
EntityNotFoundException
public java.util.List getWatchedIssues(User user) throws GenericEntityException, EntityNotFoundException
getWatchedIssues
in interface IssueManager
GenericEntityException
EntityNotFoundException
public java.util.Collection execute(SearchRequest searchRequest, User searcher) throws SearchException
execute
in interface IssueManager
searchRequest
- object to be used to search for
SearchException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |