com.atlassian.jira.issue.index
Interface IssueIndexManager

All Known Implementing Classes:
DefaultIndexManager

public interface IssueIndexManager


Method Summary
 long activate(java.lang.String indexPath, com.atlassian.johnson.event.Event appEvent)
          Activate indexes
 void deactivate()
          Deactivate indexes
 void deIndex(org.ofbiz.core.entity.GenericValue entity)
           
 org.apache.lucene.store.Directory getCommentDirectory()
           
 java.lang.String getCommentPath()
           
 org.apache.lucene.store.Directory getIssueDirectory()
           
 java.lang.String getIssuePath()
           
 boolean isBusy()
           
 void reIndex(org.ofbiz.core.entity.GenericValue entity)
           
 long reIndexAll()
           
 long reIndexAll(com.atlassian.johnson.event.Event event)
           
 long reIndexIssues(java.util.Collection issues)
           
 

Method Detail

reIndexAll

public long reIndexAll()
                throws IndexException
Throws:
IndexException

reIndexAll

public long reIndexAll(com.atlassian.johnson.event.Event event)
                throws IndexException
Throws:
IndexException

reIndex

public void reIndex(org.ofbiz.core.entity.GenericValue entity)
             throws IndexException
Throws:
IndexException

deIndex

public void deIndex(org.ofbiz.core.entity.GenericValue entity)
             throws IndexException
Throws:
IndexException

reIndexIssues

public long reIndexIssues(java.util.Collection issues)
                   throws IndexException
Throws:
IndexException

getIssuePath

public java.lang.String getIssuePath()

getIssueDirectory

public org.apache.lucene.store.Directory getIssueDirectory()

getCommentPath

public java.lang.String getCommentPath()

getCommentDirectory

public org.apache.lucene.store.Directory getCommentDirectory()

isBusy

public boolean isBusy()

deactivate

public void deactivate()
                throws java.lang.Exception
Deactivate indexes

Throws:
java.lang.Exception

activate

public long activate(java.lang.String indexPath,
                     com.atlassian.johnson.event.Event appEvent)
              throws java.lang.Exception
Activate indexes

Throws:
java.lang.Exception


Copyright © 2002-2005 Atlassian. All Rights Reserved.