com.trackstudio.kernel.manager
Class IndexManager
java.lang.Object
  
com.trackstudio.kernel.manager.KernelManager
      
com.trackstudio.kernel.manager.IndexManager
public class IndexManager
- extends KernelManager
 
 
| Fields inherited from class com.trackstudio.kernel.manager.KernelManager | 
hu | 
 
 
| Methods inherited from class com.trackstudio.kernel.manager.KernelManager | 
getAcl, getAttachment, getCategory, getEmailType, getFilter, getFind, getIndex, getLicense, getLongText, getMailImport, getMessage, getPrstatus, getRegistration, getReport, getScript, getStep, getTask, getTSInfo, getUdf, getUser, getWorkflow | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TASKINDEXDIR
public static java.lang.String TASKINDEXDIR
USERINDEXDIR
public static java.lang.String USERINDEXDIR
SCMINDEXDIR
public static java.lang.String SCMINDEXDIR
SKIPFLAG
public static java.lang.String SKIPFLAG
SPECIALCHAR
public static java.lang.String[] SPECIALCHAR
SPECIALCHARREPLACE
public static java.lang.String[] SPECIALCHARREPLACE
getInstance
protected static IndexManager getInstance()
 
index
public void index()
           throws GranException
- Throws:
 GranException
 
indexSCM
public void indexSCM(java.util.Map commits,
                     java.lang.String SCMconnectionName)
              throws GranException
- Throws:
 GranException
 
search
public java.util.HashMap search(java.lang.String keyword)
                         throws GranException
- Throws:
 GranException
 
reIndexTask
public void reIndexTask(java.lang.String id)
                 throws GranException
- Throws:
 GranException
 
reIndexUser
public void reIndexUser(java.lang.String id)
                 throws GranException
- Throws:
 GranException
 
addIndexSCMReference
public void addIndexSCMReference(java.util.Map addCollAll,
                                 java.lang.String SCMconnectionName)
                          throws GranException
- Throws:
 GranException
 
indexTask
public void indexTask(java.lang.String id)
               throws GranException
- Throws:
 GranException
 
indexUser
public void indexUser(java.lang.String id)
               throws GranException
- Throws:
 GranException
 
indexSCMlastCommit
public void indexSCMlastCommit(java.lang.String SCMconnectionName,
                               java.lang.String lastCommit)
                        throws GranException
- Throws:
 GranException
 
deleteTask
public void deleteTask(java.lang.String id)
                throws GranException
- Throws:
 GranException
 
deleteUser
public void deleteUser(java.lang.String id)
                throws GranException
- Throws:
 GranException
 
isSCMReferenceExist
public boolean isSCMReferenceExist(java.lang.Object word,
                                   java.lang.String connectionName)
                            throws GranException
- Throws:
 GranException
 
getSCMlastCommit
public java.lang.String getSCMlastCommit(java.lang.String SCMconnectionName)
                                  throws GranException
- Throws:
 GranException
 
getSCMReferences
public java.util.List getSCMReferences(DateFormatter df,
                                       java.lang.String SCMconnectionName)
                                throws GranException
- Throws:
 GranException
 
getSCMreferenceByNumber
public java.util.List getSCMreferenceByNumber(DateFormatter df,
                                              java.lang.String taskNum,
                                              java.lang.String SCMconnectionName)
                                       throws GranException
- Throws:
 GranException
 
getReferencedTasksForTask
public java.util.Map getReferencedTasksForTask(java.lang.String taskId)
                                        throws GranException
- Throws:
 GranException
 
getReferencedUsersForTask
public java.util.Map getReferencedUsersForTask(java.lang.String taskId)
                                        throws GranException
- Throws:
 GranException
 
getReferencedTasksForUser
public java.util.Map getReferencedTasksForUser(java.lang.String userId)
                                        throws GranException
- Throws:
 GranException
 
getReferencedUsersForUser
public java.util.Map getReferencedUsersForUser(java.lang.String userId)
                                        throws GranException
- Throws:
 GranException
 
checkLuceneCharacter
public java.lang.String checkLuceneCharacter(java.lang.String s)
                                      throws GranException
- Throws:
 GranException
 
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.