Uses of Class
ch.hsr.bieridee.models.BeerModel

Packages that use BeerModel
ch.hsr.bieridee.models   
ch.hsr.bieridee.serializer   
ch.hsr.bieridee.utils   
 

Uses of BeerModel in ch.hsr.bieridee.models
 

Methods in ch.hsr.bieridee.models that return BeerModel
static BeerModel BeerModel.create(java.lang.String name, java.lang.String brand, BeertypeModel beertypeModel, BreweryModel breweryModel)
          Create a new Beer! Including a fresh node and a delicious domain object.
 BeerModel RecommendationModel.getBeer()
           
 BeerModel AbstractActionModel.getBeer()
           
 

Methods in ch.hsr.bieridee.models that return types with arguments of type BeerModel
static java.util.List<BeerModel> BeerModel.createModelsFromNodes(java.util.List<org.neo4j.graphdb.Node> beerNodes)
          Creates models from nodes.
static java.util.List<BeerModel> BeerModel.getAll()
          Gets a list of all beers as BeerModels.
static java.util.List<BeerModel> BeerModel.getAll(int items, int skip)
          Gets a list of all beers as BeerModels.
static java.util.List<BeerModel> BeerModel.getAllByBarcode(java.lang.String filterBarcode)
          Gets a list of beers as BeerModels filtered by a barcode.
static java.util.List<BeerModel> BeerModel.getAllByTag(long filterTag)
          Gets a list of beers as BeerModels filtered by a tag.
static java.util.List<BeerModel> BeerModel.getAllByTag(long filterTag, int items, int skip)
          Gets a list of beers as BeerModels filtered by a tag.
 

Methods in ch.hsr.bieridee.models with parameters of type BeerModel
static ConsumptionModel ConsumptionModel.create(BeerModel beerModel, UserModel userModel)
          Creates a new user and returns a new UserModel for it.
static RatingModel RatingModel.create(int value, BeerModel beerModel, UserModel userModel)
          Creates a new user and returns a new UserModel for it.
static RatingModel RatingModel.getCurrent(BeerModel beerModel, UserModel userModel)
          Gets the active rating for the given user and the given beer.
 void RecommendationModel.setBeer(BeerModel beer)
           
 

Constructors in ch.hsr.bieridee.models with parameters of type BeerModel
RecommendationModel(double weight, double normalizedWeight, UserModel forUser, BeerModel beer)
          Creates a new RecommendationModel.
 

Uses of BeerModel in ch.hsr.bieridee.serializer
 

Methods in ch.hsr.bieridee.serializer that return types with arguments of type BeerModel
 java.lang.Class<BeerModel> BeerSerializer.handledType()
           
 

Methods in ch.hsr.bieridee.serializer with parameters of type BeerModel
 void BeerListSerializer.serialize(BeerModel[] beerList, org.codehaus.jackson.JsonGenerator jsonGenerator, org.codehaus.jackson.map.SerializerProvider serializerProvider)
           
 void BeerSerializer.serialize(BeerModel beer, org.codehaus.jackson.JsonGenerator jsonGenerator, org.codehaus.jackson.map.SerializerProvider serializerProvider)
           
 

Uses of BeerModel in ch.hsr.bieridee.utils
 

Methods in ch.hsr.bieridee.utils with parameters of type BeerModel
static void DBUtil.addToRatingIndex(org.neo4j.graphdb.Node node, BeerModel beerModel, UserModel userModel)