public class DefaultIssueFactory extends Object implements IssueFactory
TO_GENERIC_VALUE| Constructor and Description |
|---|
DefaultIssueFactory(IssueManager issueManager,
ProjectManager projectManager,
VersionManager versionManager,
IssueSecurityLevelManager issueSecurityLevelManager,
ConstantsManager constantsManager,
SubTaskManager subTaskManager,
FieldManager fieldManager,
AttachmentManager attachmentManager,
ProjectFactory projectFactory,
LabelManager labelManager,
ProjectComponentManager projectComponentManager,
UserManager userManager,
JqlLocalDateSupport jqlLocalDateSupport,
JiraAuthenticationContext jiraAuthenticationContext,
IssueArchiveHelper issueArchiveHelper) |
| 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. |
public DefaultIssueFactory(IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, FieldManager fieldManager, AttachmentManager attachmentManager, ProjectFactory projectFactory, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JqlLocalDateSupport jqlLocalDateSupport, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper)
public MutableIssue getIssue()
IssueFactorygetIssue in interface IssueFactoryMutableIssue objectpublic MutableIssue getIssue(org.ofbiz.core.entity.GenericValue issueGV)
IssueFactorygetIssue in interface IssueFactoryMutableIssue object that represents a copy of the issueGVpublic MutableIssue getIssueOrNull(org.ofbiz.core.entity.GenericValue issueGV)
IssueFactoryIssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)getIssueOrNull in interface IssueFactoryMutableIssue object that represents a copy of the issueGV, or null.public MutableIssue cloneIssue(Issue issue)
IssueFactorycloneIssue in interface IssueFactoryissue - issue to be clonedMutableIssue clone.public MutableIssue cloneIssueWithAllFields(Issue issue)
IssueFactorycloneIssueWithAllFields in interface IssueFactoryissue - issue to be clonedMutableIssue clone.public List<Issue> getIssues(Collection<org.ofbiz.core.entity.GenericValue> issueGVs)
IssueFactoryGenericValue 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 IssueFactoryissueGVs - The issues to be retrievedMutableIssue objectsIssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)public Issue getIssue(org.apache.lucene.document.Document issueDocument)
IssueFactorygetIssue in interface IssueFactorypublic MutableIssue cloneIssueNoParent(Issue issue)
IssueFactorycloneIssueNoParent in interface IssueFactoryCopyright © 2002-2023 Atlassian. All Rights Reserved.