public interface IssueFactory
GenericValue
issue objects
to proper Issue
objects. It only handles creational tasks. For update and retrieval see the
IssueManager
interface.Modifier and Type | Field and Description |
---|---|
static org.apache.commons.collections.Transformer |
TO_GENERIC_VALUE
Used for transforming collections of
Issue objects to issue GenericValue objects. |
Modifier and Type | Method and Description |
---|---|
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 |
cloneIssueWithAllFields(Issue issue)
Clones the Issue object which creates an editable copy.
|
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
|
MutableIssue |
getIssueOrNull(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. |
static final org.apache.commons.collections.Transformer TO_GENERIC_VALUE
Issue
objects to issue GenericValue
objects.MutableIssue getIssue()
MutableIssue
objectMutableIssue getIssue(org.ofbiz.core.entity.GenericValue issueGV)
issueGV
- MutableIssue
object that represents a copy of the issueGVMutableIssue getIssueOrNull(org.ofbiz.core.entity.GenericValue issueGV)
getIssue(org.ofbiz.core.entity.GenericValue)
issueGV
- MutableIssue
object that represents a copy of the issueGV, or null.MutableIssue cloneIssue(Issue issue)
issue
- issue to be clonedMutableIssue
clone.MutableIssue cloneIssueWithAllFields(Issue issue)
issue
- issue to be clonedMutableIssue
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 retrievedMutableIssue
objectsgetIssue(org.ofbiz.core.entity.GenericValue)
Issue getIssue(org.apache.lucene.document.Document issueDocument)
issueDocument
- MutableIssue cloneIssueNoParent(Issue issue)
Copyright © 2002-2017 Atlassian. All Rights Reserved.