@Override
	public List<? extends PictureI> searchfromLocations(String search){
		if(!(search.equals(""))){
			List<Picture> 	pictures = new ArrayList<Picture>();
			List<Location> locations = this.locationDao.findByLike("location", search);
			if(!(locations.isEmpty())){
				for(LocationObject l:locations){
					pictures.addAll(findByEntity(l, "se.cth.hedgehogphoto.database.Location"));
				}
			}
			return pictures;
		}else{
			return null;
		}
	}