A B C D E F G H I L M N O P R S T U V W

C

calculateAndUpdateAverageRating() - Method in class ch.hsr.bieridee.models.BeerModel
calculates the average rating and saves the value in the database.
calulateRecommendations() - Method in class ch.hsr.bieridee.utils.Recommendator
Initates the magics.
ch.hsr.bieridee.auth - package ch.hsr.bieridee.auth
 
ch.hsr.bieridee.config - package ch.hsr.bieridee.config
 
ch.hsr.bieridee.domain - package ch.hsr.bieridee.domain
 
ch.hsr.bieridee.domain.interfaces - package ch.hsr.bieridee.domain.interfaces
 
ch.hsr.bieridee.exceptions - package ch.hsr.bieridee.exceptions
 
ch.hsr.bieridee.models - package ch.hsr.bieridee.models
 
ch.hsr.bieridee.resourcehandler - package ch.hsr.bieridee.resourcehandler
 
ch.hsr.bieridee.resourcehandler.interfaces - package ch.hsr.bieridee.resourcehandler.interfaces
 
ch.hsr.bieridee.serializer - package ch.hsr.bieridee.serializer
 
ch.hsr.bieridee.services - package ch.hsr.bieridee.services
 
ch.hsr.bieridee.test - package ch.hsr.bieridee.test
 
ch.hsr.bieridee.test.helpers - package ch.hsr.bieridee.test.helpers
 
ch.hsr.bieridee.test.http - package ch.hsr.bieridee.test.http
 
ch.hsr.bieridee.test.http.requestprocessors - package ch.hsr.bieridee.test.http.requestprocessors
 
ch.hsr.bieridee.test.resources - package ch.hsr.bieridee.test.resources
 
ch.hsr.bieridee.utils - package ch.hsr.bieridee.utils
 
changeBreweryAndBeertype() - Method in class ch.hsr.bieridee.test.BeerModelTest
 
checkNode(Node, String) - Static method in class ch.hsr.bieridee.utils.NodeUtil
Checks if a given node is valid in terms of type and availabiltiy.
CODE - Static variable in class ch.hsr.bieridee.config.NodeProperty.Barcode
 
compareTo(RecommendationModel) - Method in class ch.hsr.bieridee.models.RecommendationModel
 
Config - Class in ch.hsr.bieridee.config
Configuration constants.
ConfigManager - Class in ch.hsr.bieridee.utils
ConfigManger providing settings listed in the conf.properties file.
CONSUMPTION - Static variable in class ch.hsr.bieridee.config.NodeType
 
Consumption - Class in ch.hsr.bieridee.domain
Class representing a Consumption.
Consumption(Date, Beer, User) - Constructor for class ch.hsr.bieridee.domain.Consumption
 
CONSUMPTION_BEER_COLLECTION - Static variable in class ch.hsr.bieridee.config.Res
 
CONSUMPTION_COLLECTION - Static variable in class ch.hsr.bieridee.config.Res
 
CONSUMPTION_DOCUMENT - Static variable in class ch.hsr.bieridee.config.Res
 
ConsumptionListResource - Class in ch.hsr.bieridee.resourcehandler
Server resource to provide access to users.
ConsumptionListResource() - Constructor for class ch.hsr.bieridee.resourcehandler.ConsumptionListResource
 
ConsumptionListResourceTest - Class in ch.hsr.bieridee.test.resources
Tests for the beer consumptions.
ConsumptionListResourceTest() - Constructor for class ch.hsr.bieridee.test.resources.ConsumptionListResourceTest
 
ConsumptionModel - Class in ch.hsr.bieridee.models
Model to work with and persist the User object.
ConsumptionModel(Node) - Constructor for class ch.hsr.bieridee.models.ConsumptionModel
Creates a UserModel, consisting from a User domain object and the corresponding Node.
ConsumptionModelTest - Class in ch.hsr.bieridee.test
Tests the consumption model.
ConsumptionModelTest() - Constructor for class ch.hsr.bieridee.test.ConsumptionModelTest
 
ConsumptionSerializer - Class in ch.hsr.bieridee.serializer
JSON serializer for action models.
ConsumptionSerializer() - Constructor for class ch.hsr.bieridee.serializer.ConsumptionSerializer
 
create(String, String) - Static method in class ch.hsr.bieridee.models.BarcodeModel
 
create(String, String, BeertypeModel, BreweryModel) - Static method in class ch.hsr.bieridee.models.BeerModel
Create a new Beer! Including a fresh node and a delicious domain object.
create(String, String) - Static method in class ch.hsr.bieridee.models.BeertypeModel
 
create(String, String, String, String) - Static method in class ch.hsr.bieridee.models.BreweryModel
Creates a new Brewery and saves it persistent into the database.
create(BeerModel, UserModel) - Static method in class ch.hsr.bieridee.models.ConsumptionModel
Creates a new user and returns a new UserModel for it.
create(int, BeerModel, UserModel) - Static method in class ch.hsr.bieridee.models.RatingModel
Creates a new user and returns a new UserModel for it.
create(String) - Static method in class ch.hsr.bieridee.models.TagModel
Creates an new Tag.
create(String, String, String, String, String) - Static method in class ch.hsr.bieridee.models.UserModel
Creates a new user and returns a new UserModel for it.
create() - Static method in class ch.hsr.bieridee.test.http.AuthJsonHttp
Create a new HttpHelper instance, add the AcceptRequestProcessor and the HMACAuthRequestProcessor to it and return it.
create(String, String) - Static method in class ch.hsr.bieridee.test.http.AuthJsonHttp
Create a new HttpHelper instance, add the AcceptRequestProcessor and the HMACAuthRequestProcessor with cusotm login data to it and return it.
createAlreadyExistingTag() - Method in class ch.hsr.bieridee.test.resources.TagResourceTest
Create a tag with an already existing name.
createAndGetBeertype() - Method in class ch.hsr.bieridee.test.DBUtilTest
 
createAndGetCreatedUser() - Method in class ch.hsr.bieridee.test.resources.UserPutTest
Tests the creation of a new user.
createBeer() - Method in class ch.hsr.bieridee.test.resources.BeerListResourceTest
Tests the creation of a beer via post request.
createBeertype() - Method in class ch.hsr.bieridee.test.resources.BeertypeListResourceTest
Tests the creation of a new beertype.
createBeerWithUnknownBreweryAndBeertype() - Method in class ch.hsr.bieridee.test.resources.BeerListResourceTest
Tests the creation of a beer with unknown brewery and beertype.
createBrewery() - Method in class ch.hsr.bieridee.test.resources.BreweryListResourceTest
Tests the creation of a new beertype.
createConsumption() - Method in class ch.hsr.bieridee.test.resources.ConsumptionListResourceTest
Tests the creation of a consumption.
createDB(String) - Static method in class ch.hsr.bieridee.utils.Testdb
Creates the Database at the given path with the given name.
createInboundRoot() - Method in class ch.hsr.bieridee.Dispatcher
Creates a root Restlet that will receive all incoming calls.
createModelsFromNodes(List<Node>) - Static method in class ch.hsr.bieridee.models.BeerModel
Creates models from nodes.
createModelsFromNodes(List<Node>) - Static method in class ch.hsr.bieridee.models.RatingModel
Creates RatingModels from ratingnodes.
createNewBeer() - Method in class ch.hsr.bieridee.test.BeerModelTest
Tests the creation of a new beer.
createNewTag() - Method in class ch.hsr.bieridee.test.TagModelTest
Creates new Tag and stores it in DB.
createNode(String) - Static method in class ch.hsr.bieridee.utils.DBUtil
 
createRating() - Method in class ch.hsr.bieridee.test.resources.RatingResourceTest
Tests the creation of a rating.
createRelationship(Node, RelationshipType, Node) - Static method in class ch.hsr.bieridee.utils.DBUtil
Creates a bidirectional relationship between the given Nodes.
createTag() - Method in class ch.hsr.bieridee.test.resources.TagResourceTest
Tests the creation of a beer via post request.
Cypher - Class in ch.hsr.bieridee.utils
Class containing all the cipher queries.
Cypherqueries - Class in ch.hsr.bieridee.utils
Utility Class providing predefined Cypher Query Strings.

A B C D E F G H I L M N O P R S T U V W