|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IssueFactory
The IssueFactory is used for creating Issues in JIRA, as well as converting GenericValue
issue objects
to proper Issue
objects. It only handles creational tasks. For update and retrieval see the
IssueManager
interface.
Field Summary | |
---|---|
static org.apache.commons.collections.Transformer |
TO_GENERIC_VALUE
Used for transforming collections of Issue objects to issue GenericValue objects. |
Method Summary | |
---|---|
MutableIssue |
cloneIssue(Issue issue)
Clones the Issue object which creates an editable copy. |
MutableIssue |
cloneIssueNoParent(Issue issue)
Clone Issue for conversion from sub task to issue |
MutableIssue |
getIssue()
Creates a new blank issue. |
Issue |
getIssue(org.apache.lucene.document.Document issueDocument)
Creates an issue object for an issue represented by the Lucene Document |
MutableIssue |
getIssue(org.ofbiz.core.entity.GenericValue issueGV)
Creates an issue object for an issue represented by the passed issueGV |
List<Issue> |
getIssues(Collection<org.ofbiz.core.entity.GenericValue> issueGVs)
Convert a list of GenericValue objects into a list of MutableIssue objects. |
Field Detail |
---|
static final org.apache.commons.collections.Transformer TO_GENERIC_VALUE
Issue
objects to issue GenericValue
objects.
Method Detail |
---|
MutableIssue getIssue()
MutableIssue
objectMutableIssue getIssue(org.ofbiz.core.entity.GenericValue issueGV)
issueGV
-
MutableIssue
object that represents a copy of the issueGVMutableIssue cloneIssue(Issue issue)
issue
-
MutableIssue
clone.List<Issue> getIssues(Collection<org.ofbiz.core.entity.GenericValue> issueGVs)
GenericValue
objects into a list of MutableIssue
objects.
This is just a convenience method that calls getIssue(org.ofbiz.core.entity.GenericValue)
issueGVs
- The issues to be retrieved
MutableIssue
objectsgetIssue(org.ofbiz.core.entity.GenericValue)
Issue getIssue(org.apache.lucene.document.Document issueDocument)
issueDocument
-
MutableIssue cloneIssueNoParent(Issue issue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |