Package net.solarnetwork.central.dao
Interface NetworkAssociationDao
- All Known Implementing Classes:
MyBatisNetworkAssociationDao
public interface NetworkAssociationDao
DAO API for network association support.
-
Method Summary
Modifier and TypeMethodDescriptionnet.solarnetwork.domain.NetworkAssociationgetNetworkAssociationForConfirmationKey(String username, String confirmationCode) 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 codeconfirmationCode- the confirmation code- Returns:
- the association, or null if none available
-