|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.managers.CachingIssueManager
Field Summary | |
(package private) IssueManager |
decoratedIssueManager
|
Constructor Summary | |
CachingIssueManager(IssueManager decoratedIssueManager)
|
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)
Takes a search request object and returns a list of issues that match the search request |
List |
getEntitiesByIssue(String relationName,
org.ofbiz.core.entity.GenericValue 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 a list of issue generic values by 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 |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
IssueManager decoratedIssueManager
Constructor Detail |
public CachingIssueManager(IssueManager decoratedIssueManager)
Method Detail |
public org.ofbiz.core.entity.GenericValue getIssue(Long id) throws DataAccessException
getIssue
in interface IssueManager
DataAccessException
public org.ofbiz.core.entity.GenericValue getIssue(String key) throws org.ofbiz.core.entity.GenericEntityException
getIssue
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
public List getIssues(Collection ids)
getIssues
in interface IssueManager
public org.ofbiz.core.entity.GenericValue getIssueByWorkflow(Long wfid)
getIssueByWorkflow
in interface IssueManager
public MutableIssue getIssueObject(Long id) throws DataAccessException
getIssueObject
in interface IssueManager
DataAccessException
public MutableIssue getIssueObject(String key) throws DataAccessException
getIssueObject
in interface IssueManager
DataAccessException
public List getEntitiesByIssue(String relationName, org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException
IssueManager
getEntitiesByIssue
in interface IssueManager
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
IssueManager
getIssuesByEntity
in interface IssueManager
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
IssueManager
createIssue
in interface IssueManager
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
IssueManager
createIssue
in interface IssueManager
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
createIssue
in interface IssueManager
CreateException
public 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 boolean isEditable(Issue issue)
IssueManager
isEditable
in interface IssueManager
public List getVotedIssues(User user) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
IssueManager
getVotedIssues
in interface IssueManager
Issue
objects
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List getIssueWatchers(org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
getIssueWatchers
in interface IssueManager
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List getWatchedIssues(User user) throws org.ofbiz.core.entity.GenericEntityException, EntityNotFoundException
IssueManager
getWatchedIssues
in interface IssueManager
Issue
objects
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException
public List execute(SearchRequest searchRequest, User searcher) throws SearchException
execute
in interface IssueManager
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |