Interface NetworkAssociationDao

All Known Implementing Classes:
MyBatisNetworkAssociationDao

public interface NetworkAssociationDao
DAO API for network association support.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.solarnetwork.domain.NetworkAssociation
    Get a network association for a confirmation code.
  • Method Details

    • getNetworkAssociationForConfirmationKey

      net.solarnetwork.domain.NetworkAssociation getNetworkAssociationForConfirmationKey(String username, String confirmationCode)
      Get a network association for a confirmation code.

      The confirmation code would have been generated by SolarNet and passed to the user to confirm on their node.

      Parameters:
      username - the username used when generating the confirmation code
      confirmationCode - the confirmation code
      Returns:
      the association, or null if none available