com.atlassian.jira.issue.index
Class AbstractDocument

java.lang.Object
  extended by com.atlassian.jira.issue.index.AbstractDocument
Direct Known Subclasses:
CommentDocument, IssueDocument

public abstract class AbstractDocument
extends java.lang.Object


Constructor Summary
AbstractDocument()
           
 
Method Summary
protected static void indexDateField(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, java.lang.String issueField, java.lang.String indexField)
          Index a single keyword field, with a date value
protected static void indexDependentEntities(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, java.lang.String associationType, java.lang.String indexField)
          Index the dependent entities of an issue.
protected static void indexKeyword(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, java.lang.String issueField, java.lang.String indexField)
          Index a single keyword field
protected static void indexKeywordWithDefault(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, java.lang.String issueField, java.lang.String indexField, java.lang.String def)
          Index a single keyword field, with a default if the issue field is not set shared with CommentDocument
protected static void indexText(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, java.lang.String issueField, java.lang.String indexField)
          Index a single text field
protected static void indexUserGroups(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, java.lang.String issueField, java.lang.String indexField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDocument

public AbstractDocument()
Method Detail

indexUserGroups

protected static void indexUserGroups(org.ofbiz.core.entity.GenericValue issue,
                                      org.apache.lucene.document.Document doc,
                                      java.lang.String issueField,
                                      java.lang.String indexField)

indexKeyword

protected static void indexKeyword(org.ofbiz.core.entity.GenericValue issue,
                                   org.apache.lucene.document.Document doc,
                                   java.lang.String issueField,
                                   java.lang.String indexField)
Index a single keyword field


indexKeywordWithDefault

protected static void indexKeywordWithDefault(org.ofbiz.core.entity.GenericValue issue,
                                              org.apache.lucene.document.Document doc,
                                              java.lang.String issueField,
                                              java.lang.String indexField,
                                              java.lang.String def)
Index a single keyword field, with a default if the issue field is not set shared with CommentDocument


indexText

protected static void indexText(org.ofbiz.core.entity.GenericValue issue,
                                org.apache.lucene.document.Document doc,
                                java.lang.String issueField,
                                java.lang.String indexField)
Index a single text field


indexDateField

protected static void indexDateField(org.ofbiz.core.entity.GenericValue issue,
                                     org.apache.lucene.document.Document doc,
                                     java.lang.String issueField,
                                     java.lang.String indexField)
Index a single keyword field, with a date value


indexDependentEntities

protected static void indexDependentEntities(org.ofbiz.core.entity.GenericValue issue,
                                             org.apache.lucene.document.Document doc,
                                             java.lang.String associationType,
                                             java.lang.String indexField)
Index the dependent entities of an issue.



Copyright © 2002-2006 Atlassian. All Rights Reserved.