public class SimpleMockIssueFactory extends Object implements IssueFactory
TO_GENERIC_VALUE
Constructor and Description |
---|
SimpleMockIssueFactory() |
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 |
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 |
getIssues(Collection issueGVs)
Convert a list of
GenericValue objects into a list of MutableIssue objects. |
public MutableIssue getIssue()
IssueFactory
getIssue
in interface IssueFactory
MutableIssue
objectpublic MutableIssue getIssue(org.ofbiz.core.entity.GenericValue issueGV)
IssueFactory
getIssue
in interface IssueFactory
MutableIssue
object that represents a copy of the issueGVpublic MutableIssue getIssueOrNull(org.ofbiz.core.entity.GenericValue issueGV)
IssueFactory
IssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)
getIssueOrNull
in interface IssueFactory
MutableIssue
object that represents a copy of the issueGV, or null.public MutableIssue cloneIssue(Issue issue)
IssueFactory
cloneIssue
in interface IssueFactory
MutableIssue
clone.public List getIssues(Collection issueGVs)
IssueFactory
GenericValue
objects into a list of MutableIssue
objects.
This is just a convenience method that calls IssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)
getIssues
in interface IssueFactory
issueGVs
- The issues to be retrievedMutableIssue
objectsIssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)
public Issue getIssue(org.apache.lucene.document.Document issueDocument)
IssueFactory
getIssue
in interface IssueFactory
public MutableIssue cloneIssueNoParent(Issue issue)
IssueFactory
cloneIssueNoParent
in interface IssueFactory
Copyright © 2002-2015 Atlassian. All Rights Reserved.