Interface SolarNodeMetadataBiz

All Known Implementing Classes:
DaoSolarNodeMetadataBiz

public interface SolarNodeMetadataBiz
API for manipulating node metadata.
Since:
1.32
  • Method Details

    • addSolarNodeMetadata

      void addSolarNodeMetadata(Long nodeId, net.solarnetwork.domain.datum.GeneralDatumMetadata meta)
      Add metadata to a specific node. If metadata already exists for the given node, the values will be merged such that tags are added and info values are added or updated.
      Parameters:
      nodeId - the node ID to add to
      meta - the metadata to add
    • storeSolarNodeMetadata

      void storeSolarNodeMetadata(Long nodeId, net.solarnetwork.domain.datum.GeneralDatumMetadata meta)
      Store metadata to a specific node, replacing any existing metadata with the provided metadata.
      Parameters:
      nodeId - the node ID to add to
      meta - the metadata to store
    • removeSolarNodeMetadata

      void removeSolarNodeMetadata(Long nodeId)
      Remove all metadata to a specific node.
      Parameters:
      nodeId - the node ID to remove from
    • findSolarNodeMetadata

      FilterResults<SolarNodeMetadataFilterMatch> findSolarNodeMetadata(SolarNodeMetadataFilter criteria, List<net.solarnetwork.domain.SortDescriptor> sortDescriptors, Integer offset, Integer max)
      Search for node metadata.
      Parameters:
      criteria - the search criteria
      sortDescriptors - the optional sort descriptors
      offset - an optional result offset
      max - an optional maximum number of returned results
      Returns:
      the results, never null