|
||||||||||
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(WorkflowManager workflowManager,
AssociationManager associationManager,
TextAnalyzer textAnalyzer)
|
Method Summary | |
GenericValue |
createIssue(User remoteUser,
java.util.Map fields)
This function creates an issue in Jira. |
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)
|
void |
notifyTrackbacks(GenericValue issue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.issue.IssueManager |
createIssue |
Constructor Detail |
public DefaultIssueManager(WorkflowManager workflowManager, AssociationManager associationManager, TextAnalyzer textAnalyzer)
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 GenericValue createIssue(User remoteUser, java.util.Map fields) throws CreateException
remoteUser
- User that is creating this issuefields
- see below
System.currentTimeMillis()
System.currentTimeMillis()
CreateException
IssueCreateFunction
public void notifyTrackbacks(GenericValue issue)
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 |