com.atlassian.jira.issue
Interface IssueFactory

All Known Implementing Classes:
DefaultIssueFactory

public interface IssueFactory

Provides means for creating Issue objects from other forms like GenericValue and Document.


Field Summary
static org.apache.commons.collections.Transformer TO_GENERIC_VALUE
           
 
Method Summary
 MutableIssue cloneIssue(Issue 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 getIssues(Collection issueGVs)
          Convert a list of GenericValue objects into a list of MutableIssue objects.
 

Field Detail

TO_GENERIC_VALUE

public static final org.apache.commons.collections.Transformer TO_GENERIC_VALUE
Method Detail

getIssue

public MutableIssue getIssue()
Creates a new blank issue.


getIssue

public MutableIssue getIssue(org.ofbiz.core.entity.GenericValue issueGV)
Creates an issue object for an issue represented by the passed issueGV


cloneIssue

public MutableIssue cloneIssue(Issue issue)

getIssues

public List getIssues(Collection issueGVs)
Convert a list of GenericValue objects into a list of MutableIssue objects. This is just a convenience method that calls getIssue(org.ofbiz.core.entity.GenericValue)

Parameters:
issueGVs - The issues to be retrieved
Returns:
Return a list of MutableIssue objects
See Also:
getIssue(org.ofbiz.core.entity.GenericValue)

getIssue

public Issue getIssue(org.apache.lucene.document.Document issueDocument)
Creates an issue object for an issue represented by the Lucene Document



Copyright © 2002-2006 Atlassian. All Rights Reserved.