org.sonar.core.properties
Class PropertiesDao

java.lang.Object
  extended by org.sonar.core.properties.PropertiesDao
All Implemented Interfaces:
BatchComponent, ServerComponent

public class PropertiesDao
extends Object
implements BatchComponent, ServerComponent


Constructor Summary
PropertiesDao(MyBatis mybatis)
           
 
Method Summary
 List<String> findUserIdsForFavouriteResource(Long resourceId)
          Returns the logins of users who have flagged as favourite the resource identified by the given id.
 List<PropertyDto> selectGlobalProperties()
           
 List<PropertyDto> selectProjectProperties(String resourceKey)
           
 void setProperty(PropertyDto property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesDao

public PropertiesDao(MyBatis mybatis)
Method Detail

findUserIdsForFavouriteResource

public List<String> findUserIdsForFavouriteResource(Long resourceId)
Returns the logins of users who have flagged as favourite the resource identified by the given id.

Parameters:
resourceId - the resource id
Returns:
the list of logins (maybe be empty - obviously)

selectGlobalProperties

public List<PropertyDto> selectGlobalProperties()

selectProjectProperties

public List<PropertyDto> selectProjectProperties(String resourceKey)

setProperty

public void setProperty(PropertyDto property)


Copyright © 2009-2012 SonarSource. All Rights Reserved.