org.sonar.api.database.daos
Class ProfilesDao

java.lang.Object
  extended by org.sonar.api.database.daos.BaseDao
      extended by org.sonar.api.database.daos.ProfilesDao

public class ProfilesDao
extends BaseDao


Constructor Summary
ProfilesDao(DatabaseSession session)
           
 
Method Summary
 RulesProfile getActiveProfile(String languageKey, String projectResourceKey)
           
 List<RulesProfile> getActiveProfiles()
           
 RulesProfile getProfile(String languageKey, String profileName)
           
 RulesProfile getProfileById(int profileId)
           
 List<RulesProfile> getProfiles()
           
 List<RulesProfile> getProfiles(String languageKey)
           
 List<RulesProfile> getProvidedProfiles()
           
 
Methods inherited from class org.sonar.api.database.daos.BaseDao
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilesDao

public ProfilesDao(DatabaseSession session)
Method Detail

getActiveProfiles

public List<RulesProfile> getActiveProfiles()

getActiveProfile

public RulesProfile getActiveProfile(String languageKey,
                                     String projectResourceKey)

getProfiles

public List<RulesProfile> getProfiles(String languageKey)

getProfiles

public List<RulesProfile> getProfiles()

getProvidedProfiles

public List<RulesProfile> getProvidedProfiles()

getProfile

public RulesProfile getProfile(String languageKey,
                               String profileName)

getProfileById

public RulesProfile getProfileById(int profileId)


Copyright © 2009 SonarSource SA. All Rights Reserved.