org.sonar.core.resource
Class ResourceIndexerDao

java.lang.Object
  extended by org.sonar.core.resource.ResourceIndexerDao

public class ResourceIndexerDao
extends Object


Field Summary
static int MINIMUM_KEY_SIZE
           
 
Constructor Summary
ResourceIndexerDao(MyBatis mybatis)
           
 
Method Summary
 ResourceIndexerDao indexProject(int rootProjectId)
          This method is reentrant.
 ResourceIndexerDao indexProjects()
          This method is reentrant.
 boolean indexResource(int id, String name, String qualifier, int rootId)
           
 boolean indexResource(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINIMUM_KEY_SIZE

public static final int MINIMUM_KEY_SIZE
See Also:
Constant Field Values
Constructor Detail

ResourceIndexerDao

public ResourceIndexerDao(MyBatis mybatis)
Method Detail

indexProject

public ResourceIndexerDao indexProject(int rootProjectId)
This method is reentrant. It can be executed even if the project is already indexed.


indexProjects

public ResourceIndexerDao indexProjects()
This method is reentrant. It can be executed even if some projects are already indexed.


indexResource

public boolean indexResource(long id)

indexResource

public boolean indexResource(int id,
                             String name,
                             String qualifier,
                             int rootId)


Copyright © 2009-2012 SonarSource. All Rights Reserved.