org.sonar.jpa.dao
Class RulesDao

java.lang.Object
  extended by org.sonar.jpa.dao.BaseDao
      extended by org.sonar.jpa.dao.RulesDao

public class RulesDao
extends BaseDao


Constructor Summary
RulesDao(DatabaseSession session)
           
 
Method Summary
 Rule getRuleByKey(String repositoryKey, String ruleKey)
           
 RuleParam getRuleParam(Rule rule, String paramKey)
           
 List<Rule> getRules()
           
 List<Rule> getRulesByPlugin(String pluginKey)
          Deprecated. since 2.5 use getRulesByRepository(String) instead.
 List<Rule> getRulesByRepository(String repositoryKey)
           
 
Methods inherited from class org.sonar.jpa.dao.BaseDao
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulesDao

public RulesDao(DatabaseSession session)
Method Detail

getRules

public List<Rule> getRules()

getRulesByRepository

public List<Rule> getRulesByRepository(String repositoryKey)

getRulesByPlugin

@Deprecated
public List<Rule> getRulesByPlugin(String pluginKey)
Deprecated. since 2.5 use getRulesByRepository(String) instead.


getRuleByKey

public Rule getRuleByKey(String repositoryKey,
                         String ruleKey)

getRuleParam

public RuleParam getRuleParam(Rule rule,
                              String paramKey)


Copyright © 2009-2012 SonarSource. All Rights Reserved.