@Override
	public  List<? extends PictureI> searchfromComments(String search){
		if(!(search.equals(""))){
			List<Comment> commments = this.commentDao.findByLike("comment", search);
			if(commments != null){
				List<Picture> pictures = new ArrayList<Picture>();
				for(CommentObject c: commments){
					pictures.addAll(findByEntity(c,"se.cth.hedgehogphoto.database.Comment"));
				}
				return pictures;
			}
		}
		return null;
	}