{"action":"created","comment":{"url":"https://api.github.com/repos/CeON/saos/pulls/comments/33560287","id":33560287,"diff_hunk":"@@ -67,4 +78,46 @@ public void deleteJudgmentsWithoutRawSourceJudgment(Class<? extends Judgment> ju\n         }\n     }\n     \n+    @Transactional\n+    public void deleteMeansOfAppealWithoutJudgments(CourtType courtType) {","path":"saos-import/src/main/java/pl/edu/icm/saos/importer/notapi/common/JudgmentObjectDeleter.java","position":32,"original_position":32,"commit_id":"adc78a1e4e7642ef958258b5eb37222d0478aba0","original_commit_id":"adc78a1e4e7642ef958258b5eb37222d0478aba0","user":{"login":"lukdumi","id":4545956,"avatar_url":"https://avatars.githubusercontent.com/u/4545956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukdumi","html_url":"https://github.com/lukdumi","followers_url":"https://api.github.com/users/lukdumi/followers","following_url":"https://api.github.com/users/lukdumi/following{/other_user}","gists_url":"https://api.github.com/users/lukdumi/gists{/gist_id}","starred_url":"https://api.github.com/users/lukdumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukdumi/subscriptions","organizations_url":"https://api.github.com/users/lukdumi/orgs","repos_url":"https://api.github.com/users/lukdumi/repos","events_url":"https://api.github.com/users/lukdumi/events{/privacy}","received_events_url":"https://api.github.com/users/lukdumi/received_events","type":"User","site_admin":false},"body":"In my view the better idea would be to put these 2 new methods into a separate service as it has been done in the case of deleting sc objects. See: ScObjectDeleter.","created_at":"2015-06-30T10:41:48Z","updated_at":"2015-06-30T10:41:48Z","html_url":"https://github.com/CeON/saos/pull/917#discussion_r33560287","pull_request_url":"https://api.github.com/repos/CeON/saos/pulls/917","_links":{"self":{"href":"https://api.github.com/repos/CeON/saos/pulls/comments/33560287"},"html":{"href":"https://github.com/CeON/saos/pull/917#discussion_r33560287"},"pull_request":{"href":"https://api.github.com/repos/CeON/saos/pulls/917"}}},"pull_request":{"url":"https://api.github.com/repos/CeON/saos/pulls/917","id":38857668,"html_url":"https://github.com/CeON/saos/pull/917","diff_url":"https://github.com/CeON/saos/pull/917.diff","patch_url":"https://github.com/CeON/saos/pull/917.patch","issue_url":"https://api.github.com/repos/CeON/saos/issues/917","number":917,"state":"open","locked":false,"title":"#854. Deleting means of appeal and judgment results after import process job","user":{"login":"madryk","id":8190961,"avatar_url":"https://avatars.githubusercontent.com/u/8190961?v=3","gravatar_id":"","url":"https://api.github.com/users/madryk","html_url":"https://github.com/madryk","followers_url":"https://api.github.com/users/madryk/followers","following_url":"https://api.github.com/users/madryk/following{/other_user}","gists_url":"https://api.github.com/users/madryk/gists{/gist_id}","starred_url":"https://api.github.com/users/madryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madryk/subscriptions","organizations_url":"https://api.github.com/users/madryk/orgs","repos_url":"https://api.github.com/users/madryk/repos","events_url":"https://api.github.com/users/madryk/events{/privacy}","received_events_url":"https://api.github.com/users/madryk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-30T09:21:31Z","updated_at":"2015-06-30T10:41:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f1cab8f0f57ca23489d1410b70825b07c1c83e5","assignee":{"login":"lukdumi","id":4545956,"avatar_url":"https://avatars.githubusercontent.com/u/4545956?v=3","gravatar_id":"","url":"https://api.github.com/users/lukdumi","html_url":"https://github.com/lukdumi","followers_url":"https://api.github.com/users/lukdumi/followers","following_url":"https://api.github.com/users/lukdumi/following{/other_user}","gists_url":"https://api.github.com/users/lukdumi/gists{/gist_id}","starred_url":"https://api.github.com/users/lukdumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukdumi/subscriptions","organizations_url":"https://api.github.com/users/lukdumi/orgs","repos_url":"https://api.github.com/users/lukdumi/repos","events_url":"https://api.github.com/users/lukdumi/events{/privacy}","received_events_url":"https://api.github.com/users/lukdumi/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CeON/saos/pulls/917/commits","review_comments_url":"https://api.github.com/repos/CeON/saos/pulls/917/comments","review_comment_url":"https://api.github.com/repos/CeON/saos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CeON/saos/issues/917/comments","statuses_url":"https://api.github.com/repos/CeON/saos/statuses/adc78a1e4e7642ef958258b5eb37222d0478aba0","head":{"label":"CeON:madryk_854_deleting_means_of_appeal_judgment_results","ref":"madryk_854_deleting_means_of_appeal_judgment_results","sha":"adc78a1e4e7642ef958258b5eb37222d0478aba0","user":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"repo":{"id":19143929,"name":"saos","full_name":"CeON/saos","owner":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CeON/saos","description":"System Analizy Orzeczeń Sądowych /Court Judgement Analysis System/","fork":false,"url":"https://api.github.com/repos/CeON/saos","forks_url":"https://api.github.com/repos/CeON/saos/forks","keys_url":"https://api.github.com/repos/CeON/saos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CeON/saos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CeON/saos/teams","hooks_url":"https://api.github.com/repos/CeON/saos/hooks","issue_events_url":"https://api.github.com/repos/CeON/saos/issues/events{/number}","events_url":"https://api.github.com/repos/CeON/saos/events","assignees_url":"https://api.github.com/repos/CeON/saos/assignees{/user}","branches_url":"https://api.github.com/repos/CeON/saos/branches{/branch}","tags_url":"https://api.github.com/repos/CeON/saos/tags","blobs_url":"https://api.github.com/repos/CeON/saos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CeON/saos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CeON/saos/git/refs{/sha}","trees_url":"https://api.github.com/repos/CeON/saos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CeON/saos/statuses/{sha}","languages_url":"https://api.github.com/repos/CeON/saos/languages","stargazers_url":"https://api.github.com/repos/CeON/saos/stargazers","contributors_url":"https://api.github.com/repos/CeON/saos/contributors","subscribers_url":"https://api.github.com/repos/CeON/saos/subscribers","subscription_url":"https://api.github.com/repos/CeON/saos/subscription","commits_url":"https://api.github.com/repos/CeON/saos/commits{/sha}","git_commits_url":"https://api.github.com/repos/CeON/saos/git/commits{/sha}","comments_url":"https://api.github.com/repos/CeON/saos/comments{/number}","issue_comment_url":"https://api.github.com/repos/CeON/saos/issues/comments{/number}","contents_url":"https://api.github.com/repos/CeON/saos/contents/{+path}","compare_url":"https://api.github.com/repos/CeON/saos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CeON/saos/merges","archive_url":"https://api.github.com/repos/CeON/saos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CeON/saos/downloads","issues_url":"https://api.github.com/repos/CeON/saos/issues{/number}","pulls_url":"https://api.github.com/repos/CeON/saos/pulls{/number}","milestones_url":"https://api.github.com/repos/CeON/saos/milestones{/number}","notifications_url":"https://api.github.com/repos/CeON/saos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CeON/saos/labels{/name}","releases_url":"https://api.github.com/repos/CeON/saos/releases{/id}","created_at":"2014-04-25T11:33:17Z","updated_at":"2015-05-14T10:16:13Z","pushed_at":"2015-06-30T09:21:31Z","git_url":"git://github.com/CeON/saos.git","ssh_url":"git@github.com:CeON/saos.git","clone_url":"https://github.com/CeON/saos.git","svn_url":"https://github.com/CeON/saos","homepage":null,"size":19213,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":6,"default_branch":"master"}},"base":{"label":"CeON:master","ref":"master","sha":"8cc5a1f47aacb0a2e776c7b4482afba60fe2ce81","user":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"repo":{"id":19143929,"name":"saos","full_name":"CeON/saos","owner":{"login":"CeON","id":2034254,"avatar_url":"https://avatars.githubusercontent.com/u/2034254?v=3","gravatar_id":"","url":"https://api.github.com/users/CeON","html_url":"https://github.com/CeON","followers_url":"https://api.github.com/users/CeON/followers","following_url":"https://api.github.com/users/CeON/following{/other_user}","gists_url":"https://api.github.com/users/CeON/gists{/gist_id}","starred_url":"https://api.github.com/users/CeON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeON/subscriptions","organizations_url":"https://api.github.com/users/CeON/orgs","repos_url":"https://api.github.com/users/CeON/repos","events_url":"https://api.github.com/users/CeON/events{/privacy}","received_events_url":"https://api.github.com/users/CeON/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CeON/saos","description":"System Analizy Orzeczeń Sądowych /Court Judgement Analysis System/","fork":false,"url":"https://api.github.com/repos/CeON/saos","forks_url":"https://api.github.com/repos/CeON/saos/forks","keys_url":"https://api.github.com/repos/CeON/saos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CeON/saos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CeON/saos/teams","hooks_url":"https://api.github.com/repos/CeON/saos/hooks","issue_events_url":"https://api.github.com/repos/CeON/saos/issues/events{/number}","events_url":"https://api.github.com/repos/CeON/saos/events","assignees_url":"https://api.github.com/repos/CeON/saos/assignees{/user}","branches_url":"https://api.github.com/repos/CeON/saos/branches{/branch}","tags_url":"https://api.github.com/repos/CeON/saos/tags","blobs_url":"https://api.github.com/repos/CeON/saos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CeON/saos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CeON/saos/git/refs{/sha}","trees_url":"https://api.github.com/repos/CeON/saos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CeON/saos/statuses/{sha}","languages_url":"https://api.github.com/repos/CeON/saos/languages","stargazers_url":"https://api.github.com/repos/CeON/saos/stargazers","contributors_url":"https://api.github.com/repos/CeON/saos/contributors","subscribers_url":"https://api.github.com/repos/CeON/saos/subscribers","subscription_url":"https://api.github.com/repos/CeON/saos/subscription","commits_url":"https://api.github.com/repos/CeON/saos/commits{/sha}","git_commits_url":"https://api.github.com/repos/CeON/saos/git/commits{/sha}","comments_url":"https://api.github.com/repos/CeON/saos/comments{/number}","issue_comment_url":"https://api.github.com/repos/CeON/saos/issues/comments{/number}","contents_url":"https://api.github.com/repos/CeON/saos/contents/{+path}","compare_url":"https://api.github.com/repos/CeON/saos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CeON/saos/merges","archive_url":"https://api.github.com/repos/CeON/saos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CeON/saos/downloads","issues_url":"https://api.github.com/repos/CeON/saos/issues{/number}","pulls_url":"https://api.github.com/repos/CeON/saos/pulls{/number}","milestones_url":"https://api.github.com/repos/CeON/saos/milestones{/number}","notifications_url":"https://api.github.com/repos/CeON/saos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CeON/saos/labels{/name}","releases_url":"https://api.github.com/repos/CeON/saos/releases{/id}","created_at":"2014-04-25T11:33:17Z","updated_at":"2015-05-14T10:16:13Z","pushed_at":"2015-06-30T09:21:31Z","git_url":"git://github.com/CeON/saos.git","ssh_url":"git@github.com:CeON/saos.git","clone_url":"https://github.com/CeON/saos.git","svn_url":"https://github.com/CeON/saos","homepage":null,"size":19213,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CeON/saos/pulls/917"},"html":{"href":"https://github.com/CeON/saos/pull/917"},"issue":{"href":"https://api.github.com/repos/CeON/saos/issues/917"},"comments":{"href":"https://api.github.com/repos/CeON/saos/issues/917/comments"},"review_comments":{"href":"https://api.github.com/repos/CeON/saos/pulls/917/comments"},"review_comment":{"href":"https://api.github.com/repos/CeON/saos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CeON/saos/pulls/917/commits"},"statuses":{"href":"https://api.github.com/repos/CeON/saos/statuses/adc78a1e4e7642ef958258b5eb37222d0478aba0"}}}}