Uses of Class
ch.hsr.bieridee.exceptions.WrongNodeTypeException

Packages that use WrongNodeTypeException
ch.hsr.bieridee.models   
ch.hsr.bieridee.resourcehandler   
ch.hsr.bieridee.resourcehandler.interfaces   
ch.hsr.bieridee.test   
ch.hsr.bieridee.utils   
 

Uses of WrongNodeTypeException in ch.hsr.bieridee.models
 

Methods in ch.hsr.bieridee.models that throw WrongNodeTypeException
static java.util.List<RatingModel> RatingModel.createModelsFromNodes(java.util.List<org.neo4j.graphdb.Node> ratingNodes)
          Creates RatingModels from ratingnodes.
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<BreweryModel> BreweryModel.getAll()
          Gets a list of all breweries as BreweryModels.
static java.util.List<AbstractActionModel> TimelineModel.getAll()
          Gets all actions.
static java.util.List<BeertypeModel> BeertypeModel.getAll()
          Gets a list of all beertypes as beertypeModel.
static java.util.List<UserModel> UserModel.getAll()
          Gets a list of all users as UserModels.
static java.util.List<TagModel> TagModel.getAll()
          Gets a list of all tags as TagModels.
static java.util.List<AbstractActionModel> TimelineModel.getAll(int maxNumber)
          Gets a limited number of actions.
static java.util.List<BeerModel> BeerModel.getAll(int items, int skip)
          Gets a list of all beers as BeerModels.
static java.util.List<BreweryModel> BreweryModel.getAll(int items, int skip)
           
static java.util.List<AbstractActionModel> TimelineModel.getAll(int maxNumber, int skipCount)
          Gets a limited number of actions.
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.
static java.util.List<BreweryModel> BreweryModel.getAll(java.lang.String brewerySize)
          Gets a list of BeweryModels filtered by brewerySize.
static java.util.List<BreweryModel> BreweryModel.getAll(java.lang.String brewerySize, int items, int skip)
           
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.
static java.util.List<AbstractActionModel> TimelineModel.getAllForUser(java.lang.String username)
          Gets the actions filtered by a username.
static java.util.List<AbstractActionModel> TimelineModel.getAllForUser(java.lang.String username, int maxNumber)
          Gets a limited number of actions filtered by a username.
static java.util.List<AbstractActionModel> TimelineModel.getAllForUser(java.lang.String username, int maxNumber, int skipCount)
          Gets a limited number of actions filtered by a username.
 BeerModel RecommendationModel.getBeer()
           
 BeertypeModel BeerModel.getBeertype()
           
 BreweryModel BeerModel.getBrewery()
           
static TagModel TagModel.getByName(java.lang.String name)
           
static RatingModel RatingModel.getCurrent(BeerModel beerModel, UserModel userModel)
          Gets the active rating for the given user and the given beer.
 java.util.List<TagModel> BeerModel.getTagModels()
           
static BreweryModel BreweryModel.getUnknown()
          Gets the BreweryModel for an unknown brewery.
static BeertypeModel BeertypeModel.getUnknown()
          Gets the BeertypeModel for an unknown beertype.
 UserModel RecommendationModel.getUser()
           
 

Constructors in ch.hsr.bieridee.models that throw WrongNodeTypeException
AbstractActionModel(java.lang.String type, org.neo4j.graphdb.Node node)
          Basic constructor of the ActionModel from a node.
BarcodeModel(org.neo4j.graphdb.Node node)
           
BarcodeModel(java.lang.String code)
           
BeerModel(long beerId)
          Creates a BeerModel for the desired beer.
BeerModel(org.neo4j.graphdb.Node node)
           
BeertypeModel(long beertypeId)
          Creates a BeertypeModel.
BeertypeModel(org.neo4j.graphdb.Node node)
          Creates a BeertypeModel.
BreweryModel(long breweryId)
          Creates a BreweryModel by id.
BreweryModel(org.neo4j.graphdb.Node node)
          Creates a BreweryModel by Node.
ConsumptionModel(org.neo4j.graphdb.Node node)
          Creates a UserModel, consisting from a User domain object and the corresponding Node.
RatingModel(org.neo4j.graphdb.Node node)
          Creates a UserModel, consisting from a User domain object and the corresponding Node.
TagModel(long id)
          Creates a TagModel form a node id.
TagModel(org.neo4j.graphdb.Node tagNode)
          Creates a TagModel from a tag node.
UserModel(org.neo4j.graphdb.Node node)
          Creates a UserModel, consisting from a User domain object and the corresponding Node.
UserModel(java.lang.String name)
          Creates a UserModel, consisting from a User domain object and the corresponding Node.
 

Uses of WrongNodeTypeException in ch.hsr.bieridee.resourcehandler
 

Methods in ch.hsr.bieridee.resourcehandler that throw WrongNodeTypeException
 void TagResource.remove()
           
 void BeerResource.remove()
           
 org.restlet.representation.Representation BrandListResource.retrieve()
           
 org.restlet.representation.Representation ConsumptionListResource.retrieve()
           
 org.restlet.representation.Representation BrewerySizeResource.retrieve()
           
 org.restlet.representation.Representation RecommendationResource.retrieve()
           
 org.restlet.representation.Representation ImageResource.retrieve()
           
 org.restlet.representation.Representation BeertypeListResource.retrieve()
           
 org.restlet.representation.Representation UserListResource.retrieve()
           
 org.restlet.representation.Representation BreweryResource.retrieve()
           
 org.restlet.representation.Representation TagResource.retrieve()
           
 org.restlet.representation.Representation TagListResource.retrieve()
           
 org.restlet.representation.Representation RatingResource.retrieve()
          Retrieve a rating.
 org.restlet.representation.Representation UserResource.retrieve()
           
 org.restlet.representation.Representation Resource42.retrieve()
           
 org.restlet.representation.Representation TagListResourceForBeer.retrieve()
           
 org.restlet.representation.Representation BeerResource.retrieve()
           
 org.restlet.representation.Representation BreweryListResource.retrieve()
           
 org.restlet.representation.Representation BeerListResource.retrieve()
           
 org.restlet.representation.Representation TimelineResource.retrieve()
           
 org.restlet.representation.Representation BeertypeResource.retrieve()
           
 org.restlet.representation.Representation ConsumptionListResource.store(org.restlet.representation.Representation consumption)
           
 org.restlet.representation.Representation TagResource.store(org.restlet.representation.Representation rep)
           
 org.restlet.representation.Representation TagListResource.store(org.restlet.representation.Representation rep)
           
 org.restlet.representation.Representation RatingResource.store(org.restlet.representation.Representation rating)
          Creates a new rating.
 org.restlet.representation.Representation BeerResource.store(org.restlet.representation.Representation rep)
           
 org.restlet.representation.Representation BeerListResource.store(org.restlet.representation.Representation beer)
           
 

Uses of WrongNodeTypeException in ch.hsr.bieridee.resourcehandler.interfaces
 

Methods in ch.hsr.bieridee.resourcehandler.interfaces that throw WrongNodeTypeException
 void IDocumentResource.remove()
          Delete a document.
 org.restlet.representation.Representation IReadOnlyResource.retrieve()
          Retrieve a read only resource.
 org.restlet.representation.Representation ICollectionResource.retrieve()
          Retrieve a collection.
 org.restlet.representation.Representation IDocumentResource.retrieve()
          Retrieve a document.
 org.restlet.representation.Representation IStoreResource.retrieve()
          Retrieve a store item.
 org.restlet.representation.Representation ICollectionResource.store(org.restlet.representation.Representation rep)
          Create a collection item.
 org.restlet.representation.Representation IDocumentResource.store(org.restlet.representation.Representation rep)
          Update or create a document.
 void IStoreResource.store(org.restlet.representation.Representation rep)
          Update or create a store item.
 

Uses of WrongNodeTypeException in ch.hsr.bieridee.test
 

Methods in ch.hsr.bieridee.test that throw WrongNodeTypeException
 void DBUtilTest.getNotExistingBeerByNameTest()
           
 void RatingModelTest.illegalNodeType()
           
 

Uses of WrongNodeTypeException in ch.hsr.bieridee.utils
 

Methods in ch.hsr.bieridee.utils that throw WrongNodeTypeException
 java.util.List<RecommendationModel> Recommendator.calulateRecommendations()
          Initates the magics.
static boolean NodeUtil.checkNode(org.neo4j.graphdb.Node node, java.lang.String expectedType)
          Checks if a given node is valid in terms of type and availabiltiy.