|
||||||||||
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
public class DefaultIssueManager
Constructor Summary | |
---|---|
DefaultIssueManager(WorkflowManager workflowManager,
com.atlassian.core.ofbiz.association.AssociationManager associationManager,
TextAnalyzer textAnalyzer)
|
Method Summary | |
---|---|
org.ofbiz.core.entity.GenericValue |
createIssue(java.lang.String remoteUserName,
java.util.Map fields)
This method is here because this is a logical place for the "createIssue" method to be. |
org.ofbiz.core.entity.GenericValue |
createIssue(com.opensymphony.user.User remoteUser,
java.util.Map fields)
This function creates an issue in Jira. |
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)
Return a list of users that are watching an 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)
Retrieves all the issues a user has voted for. |
java.util.List |
getWatchedIssues(com.opensymphony.user.User user)
|
void |
notifyTrackbacks(org.ofbiz.core.entity.GenericValue issue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIssueManager(WorkflowManager workflowManager, com.atlassian.core.ofbiz.association.AssociationManager associationManager, TextAnalyzer textAnalyzer)
Method Detail |
---|
public org.ofbiz.core.entity.GenericValue getIssue(java.lang.Long id) throws org.ofbiz.core.entity.GenericEntityException
getIssue
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getIssue(java.lang.String key) throws org.ofbiz.core.entity.GenericEntityException
getIssue
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getIssueByWorkflow(java.lang.Long wfid) throws org.ofbiz.core.entity.GenericEntityException
getIssueByWorkflow
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public java.util.List getEntitiesByIssue(java.lang.String relationName, org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException
IssueManager
IssueRelationConstants
getEntitiesByIssue
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public java.util.List getIssuesByEntity(java.lang.String relationName, org.ofbiz.core.entity.GenericValue entity) throws org.ofbiz.core.entity.GenericEntityException
IssueManager
IssueRelationConstants
getIssuesByEntity
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue createIssue(com.opensymphony.user.User remoteUser, java.util.Map fields) throws CreateException
createIssue
in interface IssueManager
remoteUser
- User that is creating this issuefields
- see below
System.currentTimeMillis()
System.currentTimeMillis()
CreateException
IssueCreateFunction
public java.util.List getProjectIssues(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
IssueManager
getProjectIssues
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue createIssue(java.lang.String remoteUserName, java.util.Map fields) throws CreateException
WorkflowManager
to create the issue
createIssue
in interface IssueManager
remoteUserName
- the user who is creating the issuefields
- issue's attribute's
CreateException
createIssue(com.opensymphony.user.User, java.util.Map)
public void notifyTrackbacks(org.ofbiz.core.entity.GenericValue issue)
public java.util.List getVotedIssues(com.opensymphony.user.User user) throws org.ofbiz.core.entity.GenericEntityException, com.opensymphony.user.EntityNotFoundException
getVotedIssues
in interface IssueManager
user
- The user that has voted
org.ofbiz.core.entity.GenericEntityException
com.opensymphony.user.EntityNotFoundException
public java.util.List getIssueWatchers(org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException, com.opensymphony.user.EntityNotFoundException
getIssueWatchers
in interface IssueManager
issue
- The issue
org.ofbiz.core.entity.GenericEntityException
com.opensymphony.user.EntityNotFoundException
public java.util.List getWatchedIssues(com.opensymphony.user.User user) throws org.ofbiz.core.entity.GenericEntityException, com.opensymphony.user.EntityNotFoundException
getWatchedIssues
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
com.opensymphony.user.EntityNotFoundException
public java.util.Collection execute(SearchRequest searchRequest, com.opensymphony.user.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 |