Interface IStatService

All Known Implementing Classes:
StatService

public interface IStatService
  • Method Details

    • statDeleteItemFromFridge

      void statDeleteItemFromFridge(StatDeleteFromFridgeDTO statDeleteFromFridgeDTO)
    • statAddItemToFridge

      void statAddItemToFridge(StatAddItemToFridgeDTO statAddItemToFridgeDTO)
    • getUserStats

      String getUserStats() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getFridgeStats

      String getFridgeStats(Long fridgeId)
    • getAverageThrownPerDayUser

      Object getAverageThrownPerDayUser() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getAverageThrownPerDayFridge

      String getAverageThrownPerDayFridge(long fridgeId) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getAverageThrownTotalUser

      Double getAverageThrownTotalUser() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getAverageThrownTotalFridge

      Double getAverageThrownTotalFridge(long fridgeId) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getMoneyWastedPerDayUser

      String getMoneyWastedPerDayUser() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getMoneyWastedPerDayFridge

      String getMoneyWastedPerDayFridge(Long fridgeId) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getMoneyUsedPerDayUser

      String getMoneyUsedPerDayUser() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getMoneyUsedPerDayFridge

      String getMoneyUsedPerDayFridge(Long fridgeId) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException