Uses of Interface
ca.spaz.cron.database.Food

Packages that use Food
ca.spaz.cron.database   
ca.spaz.cron.datasource   
ca.spaz.cron.datasource.sql   
ca.spaz.cron.datasource.www   
ca.spaz.cron.ui   
 

Uses of Food in ca.spaz.cron.database
 

Methods in ca.spaz.cron.database that return Food
 Food Serving.getFood()
           
 

Methods in ca.spaz.cron.database with parameters of type Food
 void Serving.setFood(Food food)
           
 

Constructors in ca.spaz.cron.database with parameters of type Food
AminoAcids(Food f)
           
Lipids(Food f)
           
MacroNutrients(Food f)
           
Minerals(Food f)
           
NutrientTable(Food f)
           
Serving(Food f)
           
Serving(Food f, double grams)
           
Vitamins(Food f)
           
 

Uses of Food in ca.spaz.cron.datasource
 

Methods in ca.spaz.cron.datasource that return Food
 Food ILocalFoodDatasource.addFood(Food food)
          Add a Food to this datasource.
 Food AbstractMutableFoodDatasource.addFood(Food food)
           
 Food ILocalFoodDatasource.addServing(Serving serving)
          This method consumes the food in a serving.
 Food AbstractMutableFoodDatasource.addServing(Serving serving)
           
 Food ILocalFoodDatasource.createNewFood()
          Create a new Food object associated with this datasource.
 Food AbstractMutableFoodDatasource.createNewFood()
           
protected abstract  Food AbstractMutableFoodDatasource.doAddFood(Food food)
          Add a Food to this datasource.
protected abstract  Food AbstractMutableFoodDatasource.doConsumeFood(Serving serving)
          This method consumes the food in a serving.
protected abstract  Food AbstractMutableFoodDatasource.doCreateNewFood()
          Create a new Food object associated with this datasource.
protected abstract  Food AbstractMutableFoodDatasource.findFoodBySourceUID(java.lang.String sourceUID)
          Find a local food by its sourceUID field value.
 

Methods in ca.spaz.cron.datasource with parameters of type Food
 Food ILocalFoodDatasource.addFood(Food food)
          Add a Food to this datasource.
 Food AbstractMutableFoodDatasource.addFood(Food food)
           
 boolean ILocalFoodDatasource.addMeasure(Food food, Measure measure)
          Each food in the Datasource has available a list of Measures that describe portions or servings.
 boolean AbstractMutableFoodDatasource.addMeasure(Food food, Measure measure)
           
 boolean ILocalFoodDatasource.changeMeasure(Food food, java.util.List measures)
           
 boolean AbstractMutableFoodDatasource.changeMeasure(Food food, java.util.List measures)
           
 boolean IFoodDatasource.containsFood(Food food)
          Determine if this datasource contains the specified food.
protected  void AbstractFoodDataSource.diffSource(Food food)
          Gatekeeper method to ensure that the Food object is from a different Datasource.
protected abstract  Food AbstractMutableFoodDatasource.doAddFood(Food food)
          Add a Food to this datasource.
protected abstract  boolean AbstractMutableFoodDatasource.doAddMeasure(Food food, Measure measure)
          Each food in the Datasource has available a list of Measures that describe portions or servings.
protected abstract  boolean AbstractMutableFoodDatasource.doChangeMeasure(Food food, java.util.List measures)
           
protected abstract  java.util.List AbstractFoodDataSource.doGetMeasuresFor(Food food)
          Return a List of Measure objects for the provided food.
protected abstract  void AbstractFoodDataSource.doGetNutrientsFor(Food food, NutrientTable nutrients)
          Fill the provided NutrientTable with the nutrients associated with the Food.
protected abstract  int AbstractMutableFoodDatasource.doGetTimesConsumed(Food food)
          Retrieve the total number of times that this food has been consumed.
protected abstract  int AbstractMutableFoodDatasource.doGetTimesConsumed(Food food, java.util.Date startDate, java.util.Date endDate)
          Retrieve the number of times the specified Food was consumed between the provided dates.
protected abstract  boolean AbstractMutableFoodDatasource.doRemoveFood(Food food)
          Remove a Food from the datasource.
protected abstract  boolean AbstractMutableFoodDatasource.doRemoveMeasure(Food food, Measure measure)
          Remove a particular form of Measure from the list of those available for a particular Food.
protected abstract  boolean AbstractMutableFoodDatasource.doSaveFood(Food food)
          Alter the information of some Food object in the backing representation of the datasource.
 java.util.List AbstractFoodDataSource.getMeasuresFor(Food food)
           
 java.util.List IFoodDatasource.getMeasuresFor(Food food)
          Return a List of Measure objects for the provided food.
 void AbstractFoodDataSource.getNutrientsFor(Food food, NutrientTable nutrients)
           
 void IFoodDatasource.getNutrientsFor(Food f, NutrientTable nutrients)
          Fill the provided NutrientTable with the nutrients associated with the Food.
 int ILocalFoodDatasource.getTimesConsumed(Food food)
          Retrieve the total number of times that this food has been consumed.
 int AbstractMutableFoodDatasource.getTimesConsumed(Food food)
           
 int ILocalFoodDatasource.getTimesConsumed(Food food, java.util.Date startDate, java.util.Date endDate)
          Retrieve the number of times the specified Food was consumed between the provided dates.
 int AbstractMutableFoodDatasource.getTimesConsumed(Food food, java.util.Date startDate, java.util.Date endDate)
           
 boolean ILocalFoodDatasource.removeFood(Food food)
          Remove a Food from the datasource.
 boolean AbstractMutableFoodDatasource.removeFood(Food food)
           
 boolean ILocalFoodDatasource.removeMeasure(Food food, Measure measure)
          Remove a particular form of Measure from the list of those available for a particular Food.
 boolean AbstractMutableFoodDatasource.removeMeasure(Food food, Measure measure)
           
protected  void AbstractFoodDataSource.sameSource(Food food)
          Gatekeeper method to ensure that the Food object is from this Datasource.
 boolean ILocalFoodDatasource.saveFood(Food food)
          Alter the information of some Food object in the backing representation of the datasource.
 boolean AbstractMutableFoodDatasource.saveFood(Food food)
           
 

Uses of Food in ca.spaz.cron.datasource.sql
 

Subinterfaces of Food in ca.spaz.cron.datasource.sql
 interface SQLFood
          TODO describe
 

Methods in ca.spaz.cron.datasource.sql that return Food
protected  Food SQLDatasource.doAddFood(Food food)
           
protected  Food SQLDatasource.doConsumeFood(Serving serving)
           
protected  Food SQLDatasource.doCreateNewFood()
           
protected  Food SQLDatasource.findFoodBySourceUID(java.lang.String sourceUID)
           
 

Methods in ca.spaz.cron.datasource.sql with parameters of type Food
 boolean SQLDatasource.containsFood(Food food)
           
protected  Food SQLDatasource.doAddFood(Food food)
           
protected  boolean SQLDatasource.doAddMeasure(Food food, Measure measure)
           
protected  boolean SQLDatasource.doChangeMeasure(Food food, java.util.List measures)
          Update all changes made to a set of measures for the food.
protected  java.util.List SQLDatasource.doGetMeasuresFor(Food food)
           
protected  void SQLDatasource.doGetNutrientsFor(Food food, NutrientTable nutrients)
           
protected  int SQLDatasource.doGetTimesConsumed(Food food)
           
protected  int SQLDatasource.doGetTimesConsumed(Food food, java.util.Date startDate, java.util.Date endDate)
           
protected  boolean SQLDatasource.doRemoveFood(Food food)
           
protected  boolean SQLDatasource.doRemoveMeasure(Food food, Measure m)
          Remove a measure from the database.
protected  boolean SQLDatasource.doSaveFood(Food food)
           
 

Uses of Food in ca.spaz.cron.datasource.www
 

Classes in ca.spaz.cron.datasource.www that implement Food
 class NutritionDataFood
          A Food implementation for NutritionDataDatasource
 

Methods in ca.spaz.cron.datasource.www with parameters of type Food
 boolean NutritionDataDatasource.containsFood(Food food)
           
protected  java.util.List NutritionDataDatasource.doGetMeasuresFor(Food food)
           
protected  java.util.List AbstractWWWDatasource.doGetMeasuresFor(Food food)
           
protected  void NutritionDataDatasource.doGetNutrientsFor(Food food, NutrientTable nutrients)
           
protected  void AbstractWWWDatasource.doGetNutrientsFor(Food food, NutrientTable nutrients)
           
 

Uses of Food in ca.spaz.cron.ui
 

Methods in ca.spaz.cron.ui that return Food
 Food SearchPanel.ResultsTableModel.getFood(int i)
           
 Food FoodDBToolBar.getSelectedFood()
           
 

Methods in ca.spaz.cron.ui with parameters of type Food
static void FoodEditor.editFood(Food f)
           
protected  void SearchPanel.foodSelected(Food f)
           
 void NutrientTableModel.setFood(Food f)
           
 void NutrientEditorTable.setFood(Food f)
           
 void MeasureWidget.setFood(Food f)
          Set the measure to display weights for a particular food.
 void FoodDBToolBar.setSelectedFood(Food f)
           
 

Constructors in ca.spaz.cron.ui with parameters of type Food
FoodEditor(CRONOMETER app, Food f)
           
MeasureEditor(Food f)
           
 



Copyright © 2005 Spaz. All Rights Reserved.