|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class to manage interactions with issues
Method Summary | |
org.ofbiz.core.entity.GenericValue |
createIssue(String remoteUserName,
Map fields)
Creates an issue. |
org.ofbiz.core.entity.GenericValue |
createIssue(User remoteUser,
Issue issue)
|
org.ofbiz.core.entity.GenericValue |
createIssue(User remoteUser,
Map fields)
Creates an issue. |
List |
execute(SearchRequest searchRequest,
User searcher)
Deprecated. Please use SearchProvider.search(SearchRequest, com.opensymphony.user.User, com.atlassian.jira.web.bean.PagerFilter)
instead, which returns Issue s. |
List |
getEntitiesByIssue(String relationName,
org.ofbiz.core.entity.GenericValue issue)
Get a list of entities (versions, components etc) related to this issue. |
List |
getEntitiesByIssueObject(String relationName,
Issue issue)
Get a list of entities (versions, components etc) related to this issue. |
org.ofbiz.core.entity.GenericValue |
getIssue(Long id)
|
org.ofbiz.core.entity.GenericValue |
getIssue(String key)
|
org.ofbiz.core.entity.GenericValue |
getIssueByWorkflow(Long wfid)
|
MutableIssue |
getIssueObject(Long id)
|
MutableIssue |
getIssueObject(String key)
|
List |
getIssues(Collection ids)
Get issues with the following ids. |
List |
getIssuesByEntity(String relationName,
org.ofbiz.core.entity.GenericValue entity)
Get a list of issues related to an entity (version, component etc). |
List |
getIssueWatchers(org.ofbiz.core.entity.GenericValue issue)
|
List |
getIssueWatchers(Issue issue)
|
List |
getProjectIssues(org.ofbiz.core.entity.GenericValue project)
Get all the issues for a given project. |
List |
getVotedIssues(User user)
Get a list of issues that the user has voted on |
List |
getWatchedIssues(User user)
Get a list of issues that the user is watching |
boolean |
isEditable(Issue issue)
Returns whether the issue can be edited. |
Method Detail |
public org.ofbiz.core.entity.GenericValue getIssue(Long id) throws DataAccessException
DataAccessException
public org.ofbiz.core.entity.GenericValue getIssue(String key) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue getIssueByWorkflow(Long wfid) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public MutableIssue getIssueObject(Long id) throws DataAccessException
DataAccessException
public MutableIssue getIssueObject(String key) throws DataAccessException
DataAccessException
public List getIssues(Collection ids)
public List getVotedIssues(User user) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
Issue
objects
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List getIssueWatchers(org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List getIssueWatchers(Issue issue) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List getWatchedIssues(User user) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
Issue
objects
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List execute(SearchRequest searchRequest, User searcher) throws SearchException
SearchProvider.search(SearchRequest, com.opensymphony.user.User, com.atlassian.jira.web.bean.PagerFilter)
instead, which returns Issue
s.
searchRequest
- object to be used to search forsearcher
- User who is running the search. Make sure this user has permissions to see the issues you want!
SearchException
public List getEntitiesByIssue(String relationName, org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException
relationName
- A IssueRelationConstants
string indicating some issue relationissue
- Issue to consider
GenericValue
s associated with the issue.
org.ofbiz.core.entity.GenericEntityException
public List getEntitiesByIssueObject(String relationName, Issue issue) throws org.ofbiz.core.entity.GenericEntityException
relationName
- A IssueRelationConstants
string indicating some issue relationissue
- Issue to consider
GenericValue
s associated with the issue.
org.ofbiz.core.entity.GenericEntityException
public List getIssuesByEntity(String relationName, org.ofbiz.core.entity.GenericValue entity) throws org.ofbiz.core.entity.GenericEntityException
relationName
- A IssueRelationConstants
string indicating some relation of entityentity
- The entity related to the issues we're after
GenericValue
s associated with an entity.
org.ofbiz.core.entity.GenericEntityException
public org.ofbiz.core.entity.GenericValue createIssue(String remoteUserName, Map fields) throws CreateException
remoteUserName
- Issue creatorfields
- A map of the issue's immediate field values. See the Issue definition in entitymodel.xml for values.
CreateException
public org.ofbiz.core.entity.GenericValue createIssue(User remoteUser, Map fields) throws CreateException
remoteUser
- Issue creatorfields
- A map of the issue's immediate field values. See the Issue definition in entitymodel.xml for values.
CreateException
public org.ofbiz.core.entity.GenericValue createIssue(User remoteUser, Issue issue) throws CreateException
CreateException
public List getProjectIssues(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public boolean isEditable(Issue issue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |