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

Packages that use ConsumptionModel
ch.hsr.bieridee.models   
ch.hsr.bieridee.serializer   
 

Uses of ConsumptionModel in ch.hsr.bieridee.models
 

Methods in ch.hsr.bieridee.models that return ConsumptionModel
static ConsumptionModel ConsumptionModel.create(BeerModel beerModel, UserModel userModel)
          Creates a new user and returns a new UserModel for it.
 

Methods in ch.hsr.bieridee.models that return types with arguments of type ConsumptionModel
static java.util.List<ConsumptionModel> ConsumptionModel.getAll(long beerId)
          Gets all consumptions for the given beer.
static java.util.List<ConsumptionModel> ConsumptionModel.getAll(long beerId, java.lang.String username)
          Gets all consumptions of a specific user for the given beer.
 

Uses of ConsumptionModel in ch.hsr.bieridee.serializer
 

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

Methods in ch.hsr.bieridee.serializer with parameters of type ConsumptionModel
 void ConsumptionSerializer.serialize(ConsumptionModel consumption, org.codehaus.jackson.JsonGenerator jsonGenerator, org.codehaus.jackson.map.SerializerProvider serializerProvider)