{"action":"created","comment":{"url":"https://api.github.com/repos/emmanuel099/edulium/pulls/comments/32891843","id":32891843,"diff_hunk":"@@ -0,0 +1,191 @@\n+package com.at.ac.tuwien.sepm.ss15.edulium.service.impl;\n+\n+import com.at.ac.tuwien.sepm.ss15.edulium.dao.DAO;\n+import com.at.ac.tuwien.sepm.ss15.edulium.dao.DAOException;\n+import com.at.ac.tuwien.sepm.ss15.edulium.domain.*;\n+import com.at.ac.tuwien.sepm.ss15.edulium.domain.history.History;\n+import com.at.ac.tuwien.sepm.ss15.edulium.domain.validation.ValidationException;\n+import com.at.ac.tuwien.sepm.ss15.edulium.domain.validation.Validator;\n+import com.at.ac.tuwien.sepm.ss15.edulium.service.SaleService;\n+import com.at.ac.tuwien.sepm.ss15.edulium.service.ServiceException;\n+import org.apache.logging.log4j.LogManager;\n+import org.apache.logging.log4j.Logger;\n+import org.springframework.beans.factory.annotation.Autowired;\n+\n+import java.util.List;\n+\n+/**\n+ * Implementation of the SaleService\n+ */\n+public class SaleServiceImpl implements SaleService {","path":"src/main/java/com/at/ac/tuwien/sepm/ss15/edulium/service/impl/SaleServiceImpl.java","position":20,"original_position":20,"commit_id":"2335f94f35bdaab171a729796af28c06e02ff082","original_commit_id":"2335f94f35bdaab171a729796af28c06e02ff082","user":{"login":"emmanuel099","id":6727923,"avatar_url":"https://avatars.githubusercontent.com/u/6727923?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuel099","html_url":"https://github.com/emmanuel099","followers_url":"https://api.github.com/users/emmanuel099/followers","following_url":"https://api.github.com/users/emmanuel099/following{/other_user}","gists_url":"https://api.github.com/users/emmanuel099/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuel099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuel099/subscriptions","organizations_url":"https://api.github.com/users/emmanuel099/orgs","repos_url":"https://api.github.com/users/emmanuel099/repos","events_url":"https://api.github.com/users/emmanuel099/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuel099/received_events","type":"User","site_admin":false},"body":"remove public","created_at":"2015-06-21T08:59:35Z","updated_at":"2015-06-21T08:59:35Z","html_url":"https://github.com/emmanuel099/edulium/pull/49#discussion_r32891843","pull_request_url":"https://api.github.com/repos/emmanuel099/edulium/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/emmanuel099/edulium/pulls/comments/32891843"},"html":{"href":"https://github.com/emmanuel099/edulium/pull/49#discussion_r32891843"},"pull_request":{"href":"https://api.github.com/repos/emmanuel099/edulium/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/emmanuel099/edulium/pulls/49","id":37924319,"html_url":"https://github.com/emmanuel099/edulium/pull/49","diff_url":"https://github.com/emmanuel099/edulium/pull/49.diff","patch_url":"https://github.com/emmanuel099/edulium/pull/49.patch","issue_url":"https://api.github.com/repos/emmanuel099/edulium/issues/49","number":49,"state":"open","locked":false,"title":"Constantin/dao/sales","user":{"login":"DjConsti","id":10143245,"avatar_url":"https://avatars.githubusercontent.com/u/10143245?v=3","gravatar_id":"","url":"https://api.github.com/users/DjConsti","html_url":"https://github.com/DjConsti","followers_url":"https://api.github.com/users/DjConsti/followers","following_url":"https://api.github.com/users/DjConsti/following{/other_user}","gists_url":"https://api.github.com/users/DjConsti/gists{/gist_id}","starred_url":"https://api.github.com/users/DjConsti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DjConsti/subscriptions","organizations_url":"https://api.github.com/users/DjConsti/orgs","repos_url":"https://api.github.com/users/DjConsti/repos","events_url":"https://api.github.com/users/DjConsti/events{/privacy}","received_events_url":"https://api.github.com/users/DjConsti/received_events","type":"User","site_admin":false},"body":"Bitte reviewen!","created_at":"2015-06-17T17:09:50Z","updated_at":"2015-06-21T08:59:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9071e89eaf28b20f181d5fbe3ff2bfd83bef75cc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emmanuel099/edulium/pulls/49/commits","review_comments_url":"https://api.github.com/repos/emmanuel099/edulium/pulls/49/comments","review_comment_url":"https://api.github.com/repos/emmanuel099/edulium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emmanuel099/edulium/issues/49/comments","statuses_url":"https://api.github.com/repos/emmanuel099/edulium/statuses/2335f94f35bdaab171a729796af28c06e02ff082","head":{"label":"emmanuel099:constantin/dao/sales","ref":"constantin/dao/sales","sha":"2335f94f35bdaab171a729796af28c06e02ff082","user":{"login":"emmanuel099","id":6727923,"avatar_url":"https://avatars.githubusercontent.com/u/6727923?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuel099","html_url":"https://github.com/emmanuel099","followers_url":"https://api.github.com/users/emmanuel099/followers","following_url":"https://api.github.com/users/emmanuel099/following{/other_user}","gists_url":"https://api.github.com/users/emmanuel099/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuel099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuel099/subscriptions","organizations_url":"https://api.github.com/users/emmanuel099/orgs","repos_url":"https://api.github.com/users/emmanuel099/repos","events_url":"https://api.github.com/users/emmanuel099/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuel099/received_events","type":"User","site_admin":false},"repo":{"id":34752652,"name":"edulium","full_name":"emmanuel099/edulium","owner":{"login":"emmanuel099","id":6727923,"avatar_url":"https://avatars.githubusercontent.com/u/6727923?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuel099","html_url":"https://github.com/emmanuel099","followers_url":"https://api.github.com/users/emmanuel099/followers","following_url":"https://api.github.com/users/emmanuel099/following{/other_user}","gists_url":"https://api.github.com/users/emmanuel099/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuel099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuel099/subscriptions","organizations_url":"https://api.github.com/users/emmanuel099/orgs","repos_url":"https://api.github.com/users/emmanuel099/repos","events_url":"https://api.github.com/users/emmanuel099/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuel099/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emmanuel099/edulium","description":"","fork":false,"url":"https://api.github.com/repos/emmanuel099/edulium","forks_url":"https://api.github.com/repos/emmanuel099/edulium/forks","keys_url":"https://api.github.com/repos/emmanuel099/edulium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emmanuel099/edulium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emmanuel099/edulium/teams","hooks_url":"https://api.github.com/repos/emmanuel099/edulium/hooks","issue_events_url":"https://api.github.com/repos/emmanuel099/edulium/issues/events{/number}","events_url":"https://api.github.com/repos/emmanuel099/edulium/events","assignees_url":"https://api.github.com/repos/emmanuel099/edulium/assignees{/user}","branches_url":"https://api.github.com/repos/emmanuel099/edulium/branches{/branch}","tags_url":"https://api.github.com/repos/emmanuel099/edulium/tags","blobs_url":"https://api.github.com/repos/emmanuel099/edulium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emmanuel099/edulium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emmanuel099/edulium/git/refs{/sha}","trees_url":"https://api.github.com/repos/emmanuel099/edulium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emmanuel099/edulium/statuses/{sha}","languages_url":"https://api.github.com/repos/emmanuel099/edulium/languages","stargazers_url":"https://api.github.com/repos/emmanuel099/edulium/stargazers","contributors_url":"https://api.github.com/repos/emmanuel099/edulium/contributors","subscribers_url":"https://api.github.com/repos/emmanuel099/edulium/subscribers","subscription_url":"https://api.github.com/repos/emmanuel099/edulium/subscription","commits_url":"https://api.github.com/repos/emmanuel099/edulium/commits{/sha}","git_commits_url":"https://api.github.com/repos/emmanuel099/edulium/git/commits{/sha}","comments_url":"https://api.github.com/repos/emmanuel099/edulium/comments{/number}","issue_comment_url":"https://api.github.com/repos/emmanuel099/edulium/issues/comments{/number}","contents_url":"https://api.github.com/repos/emmanuel099/edulium/contents/{+path}","compare_url":"https://api.github.com/repos/emmanuel099/edulium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emmanuel099/edulium/merges","archive_url":"https://api.github.com/repos/emmanuel099/edulium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emmanuel099/edulium/downloads","issues_url":"https://api.github.com/repos/emmanuel099/edulium/issues{/number}","pulls_url":"https://api.github.com/repos/emmanuel099/edulium/pulls{/number}","milestones_url":"https://api.github.com/repos/emmanuel099/edulium/milestones{/number}","notifications_url":"https://api.github.com/repos/emmanuel099/edulium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emmanuel099/edulium/labels{/name}","releases_url":"https://api.github.com/repos/emmanuel099/edulium/releases{/id}","created_at":"2015-04-28T19:56:39Z","updated_at":"2015-06-03T06:18:18Z","pushed_at":"2015-06-21T07:58:58Z","git_url":"git://github.com/emmanuel099/edulium.git","ssh_url":"git@github.com:emmanuel099/edulium.git","clone_url":"https://github.com/emmanuel099/edulium.git","svn_url":"https://github.com/emmanuel099/edulium","homepage":null,"size":3763,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"emmanuel099:master","ref":"master","sha":"1cd49a570e7800edade606fbb15f909b9430d365","user":{"login":"emmanuel099","id":6727923,"avatar_url":"https://avatars.githubusercontent.com/u/6727923?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuel099","html_url":"https://github.com/emmanuel099","followers_url":"https://api.github.com/users/emmanuel099/followers","following_url":"https://api.github.com/users/emmanuel099/following{/other_user}","gists_url":"https://api.github.com/users/emmanuel099/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuel099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuel099/subscriptions","organizations_url":"https://api.github.com/users/emmanuel099/orgs","repos_url":"https://api.github.com/users/emmanuel099/repos","events_url":"https://api.github.com/users/emmanuel099/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuel099/received_events","type":"User","site_admin":false},"repo":{"id":34752652,"name":"edulium","full_name":"emmanuel099/edulium","owner":{"login":"emmanuel099","id":6727923,"avatar_url":"https://avatars.githubusercontent.com/u/6727923?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuel099","html_url":"https://github.com/emmanuel099","followers_url":"https://api.github.com/users/emmanuel099/followers","following_url":"https://api.github.com/users/emmanuel099/following{/other_user}","gists_url":"https://api.github.com/users/emmanuel099/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuel099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuel099/subscriptions","organizations_url":"https://api.github.com/users/emmanuel099/orgs","repos_url":"https://api.github.com/users/emmanuel099/repos","events_url":"https://api.github.com/users/emmanuel099/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuel099/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emmanuel099/edulium","description":"","fork":false,"url":"https://api.github.com/repos/emmanuel099/edulium","forks_url":"https://api.github.com/repos/emmanuel099/edulium/forks","keys_url":"https://api.github.com/repos/emmanuel099/edulium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emmanuel099/edulium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emmanuel099/edulium/teams","hooks_url":"https://api.github.com/repos/emmanuel099/edulium/hooks","issue_events_url":"https://api.github.com/repos/emmanuel099/edulium/issues/events{/number}","events_url":"https://api.github.com/repos/emmanuel099/edulium/events","assignees_url":"https://api.github.com/repos/emmanuel099/edulium/assignees{/user}","branches_url":"https://api.github.com/repos/emmanuel099/edulium/branches{/branch}","tags_url":"https://api.github.com/repos/emmanuel099/edulium/tags","blobs_url":"https://api.github.com/repos/emmanuel099/edulium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emmanuel099/edulium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emmanuel099/edulium/git/refs{/sha}","trees_url":"https://api.github.com/repos/emmanuel099/edulium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emmanuel099/edulium/statuses/{sha}","languages_url":"https://api.github.com/repos/emmanuel099/edulium/languages","stargazers_url":"https://api.github.com/repos/emmanuel099/edulium/stargazers","contributors_url":"https://api.github.com/repos/emmanuel099/edulium/contributors","subscribers_url":"https://api.github.com/repos/emmanuel099/edulium/subscribers","subscription_url":"https://api.github.com/repos/emmanuel099/edulium/subscription","commits_url":"https://api.github.com/repos/emmanuel099/edulium/commits{/sha}","git_commits_url":"https://api.github.com/repos/emmanuel099/edulium/git/commits{/sha}","comments_url":"https://api.github.com/repos/emmanuel099/edulium/comments{/number}","issue_comment_url":"https://api.github.com/repos/emmanuel099/edulium/issues/comments{/number}","contents_url":"https://api.github.com/repos/emmanuel099/edulium/contents/{+path}","compare_url":"https://api.github.com/repos/emmanuel099/edulium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emmanuel099/edulium/merges","archive_url":"https://api.github.com/repos/emmanuel099/edulium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emmanuel099/edulium/downloads","issues_url":"https://api.github.com/repos/emmanuel099/edulium/issues{/number}","pulls_url":"https://api.github.com/repos/emmanuel099/edulium/pulls{/number}","milestones_url":"https://api.github.com/repos/emmanuel099/edulium/milestones{/number}","notifications_url":"https://api.github.com/repos/emmanuel099/edulium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emmanuel099/edulium/labels{/name}","releases_url":"https://api.github.com/repos/emmanuel099/edulium/releases{/id}","created_at":"2015-04-28T19:56:39Z","updated_at":"2015-06-03T06:18:18Z","pushed_at":"2015-06-21T07:58:58Z","git_url":"git://github.com/emmanuel099/edulium.git","ssh_url":"git@github.com:emmanuel099/edulium.git","clone_url":"https://github.com/emmanuel099/edulium.git","svn_url":"https://github.com/emmanuel099/edulium","homepage":null,"size":3763,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emmanuel099/edulium/pulls/49"},"html":{"href":"https://github.com/emmanuel099/edulium/pull/49"},"issue":{"href":"https://api.github.com/repos/emmanuel099/edulium/issues/49"},"comments":{"href":"https://api.github.com/repos/emmanuel099/edulium/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/emmanuel099/edulium/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/emmanuel099/edulium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emmanuel099/edulium/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/emmanuel099/edulium/statuses/2335f94f35bdaab171a729796af28c06e02ff082"}}}}