Interface SolarLocationDao

All Superinterfaces:
FilterableDao<LocationMatch,Long,Location>, GenericDao<SolarLocation,Long>
All Known Implementing Classes:
MyBatisSolarLocationDao

public interface SolarLocationDao extends GenericDao<SolarLocation,Long>, FilterableDao<LocationMatch,Long,Location>
DAO API for Location.
  • Method Details

    • getSolarLocationForTimeZone

      SolarLocation getSolarLocationForTimeZone(String country, String timeZoneId)
      Find a SolarLocation for just a country and time zone.
      Parameters:
      country - the country
      timeZoneId - the time zone ID
      Returns:
      the SolarLocation, or null if none found
    • getSolarLocationForLocation

      SolarLocation getSolarLocationForLocation(Location criteria)
      Find a SolarLocation that exactly matches the given criteria. By exactly matching, even empty fields must match.
      Parameters:
      criteria - the search criteria
      Returns:
      the matching location, or null if not found
    • getSolarLocationForNode

      SolarLocation getSolarLocationForNode(Long nodeId)
      Get the location associated with a node.
      Parameters:
      nodeId - the node ID to get the location for
      Returns:
      the location, or null if not found
      Since:
      1.4