Interface SolarNodeOwnershipDao

All Known Implementing Classes:
JdbcSolarNodeOwnershipDao

public interface SolarNodeOwnershipDao
DAO for helping with node ownership information.
  • Method Details

    • ownershipForNodeId

      SolarNodeOwnership ownershipForNodeId(Long nodeId)
      Get the ownership information of a node.
      Parameters:
      nodeId - the ID of the node to find the ownership of
      Returns:
      the ownership, or null if not available
    • ownershipsForUserId

      SolarNodeOwnership[] ownershipsForUserId(Long userId)
      Get all available node ownership for a user ID.
      Parameters:
      userId - the ID of the owner to find node ownership for
      Returns:
      the ownerships, or null if none available
    • nonArchivedNodeIdsForToken

      Long[] nonArchivedNodeIdsForToken(String tokenId)
      Get the available non-archived node IDs associated with a security token ID.
      Parameters:
      tokenId - the security token ID
      Returns:
      the node IDs; never null