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(java.lang.String languageKey, java.lang.String projectResourceKey)
           
 java.util.List<RulesProfile> getActiveProfiles()
           
 RulesProfile getProfile(java.lang.String languageKey, java.lang.String profileName)
           
 RulesProfile getProfileById(int profileId)
           
 java.util.List<RulesProfile> getProfiles()
           
 java.util.List<RulesProfile> getProfiles(java.lang.String languageKey)
           
 java.util.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 java.util.List<RulesProfile> getActiveProfiles()

getActiveProfile

public RulesProfile getActiveProfile(java.lang.String languageKey,
                                     java.lang.String projectResourceKey)

getProfiles

public java.util.List<RulesProfile> getProfiles(java.lang.String languageKey)

getProfiles

public java.util.List<RulesProfile> getProfiles()

getProvidedProfiles

public java.util.List<RulesProfile> getProvidedProfiles()

getProfile

public RulesProfile getProfile(java.lang.String languageKey,
                               java.lang.String profileName)

getProfileById

public RulesProfile getProfileById(int profileId)


Copyright © 2009-2010 SonarSource. All Rights Reserved.