|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.DefaultIssueFactory
public class DefaultIssueFactory
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.issue.IssueFactory |
---|
TO_GENERIC_VALUE |
Constructor Summary | |
---|---|
DefaultIssueFactory(IssueManager issueManager,
ProjectManager projectManager,
VersionManager versionManager,
IssueSecurityLevelManager issueSecurityLevelManager,
ConstantsManager constantsManager,
SubTaskManager subTaskManager,
FieldManager fieldManager,
AttachmentManager attachmentManager,
ProjectFactory projectFactory,
LabelManager labelManager,
ProjectComponentManager projectComponentManager)
|
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 |
java.util.List<Issue> |
getIssues(java.util.Collection<org.ofbiz.core.entity.GenericValue> issueGVs)
Convert a list of GenericValue objects into a list of MutableIssue objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIssueFactory(IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, FieldManager fieldManager, AttachmentManager attachmentManager, ProjectFactory projectFactory, LabelManager labelManager, ProjectComponentManager projectComponentManager)
Method Detail |
---|
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 cloneIssue(Issue issue)
IssueFactory
cloneIssue
in interface IssueFactory
MutableIssue
clone.public java.util.List<Issue> getIssues(java.util.Collection<org.ofbiz.core.entity.GenericValue> 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 retrieved
MutableIssue
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |