{"action":"created","comment":{"url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/comments/66343150","id":66343150,"diff_hunk":"@@ -0,0 +1,25 @@\n+package com.fprochazka.drill.model.question;\n+\n+import com.fprochazka.drill.model.answer.Answer;\n+import com.fprochazka.drill.model.drill.Drill;\n+import org.springframework.data.repository.CrudRepository;\n+import org.springframework.stereotype.Repository;\n+\n+import java.util.List;\n+import java.util.UUID;\n+\n+/**\n+ * Created by Michaela Bamburová on 07.06.2016.\n+ */\n+@Repository\n+public interface QuestionRepository extends CrudRepository<Question, UUID> {\n+\n+\tList<Question> getAllQuestionsInDrill(UUID drillId);\n+\n+\tvoid createQuestion(String title, List<Answer> answers, Drill drill);\n+\n+\tQuestion getQuestionById(UUID questionId);\n+\n+\tQuestion updateQuestion(UUID questionId, String title);","path":"api/src/main/java/com/fprochazka/drill/model/question/QuestionRepository.java","position":23,"original_position":23,"commit_id":"6122f8742d71f34dae5ec583260856114ea49a62","original_commit_id":"6122f8742d71f34dae5ec583260856114ea49a62","user":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"body":"tohle sem nepatří, taková metoda má být na fasádě","created_at":"2016-06-08T21:25:35Z","updated_at":"2016-06-08T21:25:35Z","html_url":"https://github.com/fprochazka/fi-muni-PB138-2016/pull/35#discussion_r66343150","pull_request_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/comments/66343150"},"html":{"href":"https://github.com/fprochazka/fi-muni-PB138-2016/pull/35#discussion_r66343150"},"pull_request":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35","id":72921066,"html_url":"https://github.com/fprochazka/fi-muni-PB138-2016/pull/35","diff_url":"https://github.com/fprochazka/fi-muni-PB138-2016/pull/35.diff","patch_url":"https://github.com/fprochazka/fi-muni-PB138-2016/pull/35.patch","issue_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/35","number":35,"state":"open","locked":false,"title":"Basic facades","user":{"login":"mbamburova","id":11355793,"avatar_url":"https://avatars.githubusercontent.com/u/11355793?v=3","gravatar_id":"","url":"https://api.github.com/users/mbamburova","html_url":"https://github.com/mbamburova","followers_url":"https://api.github.com/users/mbamburova/followers","following_url":"https://api.github.com/users/mbamburova/following{/other_user}","gists_url":"https://api.github.com/users/mbamburova/gists{/gist_id}","starred_url":"https://api.github.com/users/mbamburova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbamburova/subscriptions","organizations_url":"https://api.github.com/users/mbamburova/orgs","repos_url":"https://api.github.com/users/mbamburova/repos","events_url":"https://api.github.com/users/mbamburova/events{/privacy}","received_events_url":"https://api.github.com/users/mbamburova/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-07T18:04:31Z","updated_at":"2016-06-08T21:25:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d10c7d04085898eb058981ac7a26989b0bdb6327","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35/commits","review_comments_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35/comments","review_comment_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/35/comments","statuses_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/statuses/6122f8742d71f34dae5ec583260856114ea49a62","head":{"label":"fprochazka:mb-facades","ref":"mb-facades","sha":"6122f8742d71f34dae5ec583260856114ea49a62","user":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"repo":{"id":56573586,"name":"fi-muni-PB138-2016","full_name":"fprochazka/fi-muni-PB138-2016","owner":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fprochazka/fi-muni-PB138-2016","description":"","fork":false,"url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016","forks_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/forks","keys_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/teams","hooks_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/hooks","issue_events_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/events{/number}","events_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/events","assignees_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/assignees{/user}","branches_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/branches{/branch}","tags_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/tags","blobs_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/languages","stargazers_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/stargazers","contributors_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/contributors","subscribers_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/subscribers","subscription_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/subscription","commits_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/contents/{+path}","compare_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/merges","archive_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/downloads","issues_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues{/number}","pulls_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/labels{/name}","releases_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/releases{/id}","deployments_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/deployments","created_at":"2016-04-19T07:13:37Z","updated_at":"2016-05-03T10:13:23Z","pushed_at":"2016-06-08T20:00:05Z","git_url":"git://github.com/fprochazka/fi-muni-PB138-2016.git","ssh_url":"git@github.com:fprochazka/fi-muni-PB138-2016.git","clone_url":"https://github.com/fprochazka/fi-muni-PB138-2016.git","svn_url":"https://github.com/fprochazka/fi-muni-PB138-2016","homepage":null,"size":599,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":2,"default_branch":"master"}},"base":{"label":"fprochazka:master","ref":"master","sha":"39eda9ea6a318e8203b290940f66a9ae2bd26d4f","user":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"repo":{"id":56573586,"name":"fi-muni-PB138-2016","full_name":"fprochazka/fi-muni-PB138-2016","owner":{"login":"fprochazka","id":158625,"avatar_url":"https://avatars.githubusercontent.com/u/158625?v=3","gravatar_id":"","url":"https://api.github.com/users/fprochazka","html_url":"https://github.com/fprochazka","followers_url":"https://api.github.com/users/fprochazka/followers","following_url":"https://api.github.com/users/fprochazka/following{/other_user}","gists_url":"https://api.github.com/users/fprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/fprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fprochazka/subscriptions","organizations_url":"https://api.github.com/users/fprochazka/orgs","repos_url":"https://api.github.com/users/fprochazka/repos","events_url":"https://api.github.com/users/fprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/fprochazka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fprochazka/fi-muni-PB138-2016","description":"","fork":false,"url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016","forks_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/forks","keys_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/teams","hooks_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/hooks","issue_events_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/events{/number}","events_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/events","assignees_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/assignees{/user}","branches_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/branches{/branch}","tags_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/tags","blobs_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/languages","stargazers_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/stargazers","contributors_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/contributors","subscribers_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/subscribers","subscription_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/subscription","commits_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/contents/{+path}","compare_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/merges","archive_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/downloads","issues_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues{/number}","pulls_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/labels{/name}","releases_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/releases{/id}","deployments_url":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/deployments","created_at":"2016-04-19T07:13:37Z","updated_at":"2016-05-03T10:13:23Z","pushed_at":"2016-06-08T20:00:05Z","git_url":"git://github.com/fprochazka/fi-muni-PB138-2016.git","ssh_url":"git@github.com:fprochazka/fi-muni-PB138-2016.git","clone_url":"https://github.com/fprochazka/fi-muni-PB138-2016.git","svn_url":"https://github.com/fprochazka/fi-muni-PB138-2016","homepage":null,"size":599,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35"},"html":{"href":"https://github.com/fprochazka/fi-muni-PB138-2016/pull/35"},"issue":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/35"},"comments":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/fprochazka/fi-muni-PB138-2016/statuses/6122f8742d71f34dae5ec583260856114ea49a62"}}}}
{"actor":{"display_login":"fprochazka"}}