{"action":"created","comment":{"url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/comments/32594255","id":32594255,"diff_hunk":"@@ -15,22 +15,23 @@\n  */\n package org.cirdles.topsoil.dataset;\n \n-import java.util.List;\n-\n /**\n+ * Each DatasetResource handles all CRUD methods for a given Dataset\n  *\n- * @author John Zeringue\n+ * @author parizotclement\n  */\n-public interface DatasetManager {\n+public interface DatasetResource {\n+\n+    public Dataset getDataset();\n \n-    public List<Dataset> getDatasets();\n+    public void delete();\n \n-    public boolean isOpen(Dataset dataset);\n+    public void save();","path":"src/main/java/org/cirdles/topsoil/dataset/DatasetResource.java","position":21,"original_position":21,"commit_id":"3fa94dcfc8058c6df4f8cd13da474a12e83409c6","original_commit_id":"3fa94dcfc8058c6df4f8cd13da474a12e83409c6","user":{"login":"johnzeringue","id":3858785,"avatar_url":"https://avatars.githubusercontent.com/u/3858785?v=3","gravatar_id":"","url":"https://api.github.com/users/johnzeringue","html_url":"https://github.com/johnzeringue","followers_url":"https://api.github.com/users/johnzeringue/followers","following_url":"https://api.github.com/users/johnzeringue/following{/other_user}","gists_url":"https://api.github.com/users/johnzeringue/gists{/gist_id}","starred_url":"https://api.github.com/users/johnzeringue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnzeringue/subscriptions","organizations_url":"https://api.github.com/users/johnzeringue/orgs","repos_url":"https://api.github.com/users/johnzeringue/repos","events_url":"https://api.github.com/users/johnzeringue/events{/privacy}","received_events_url":"https://api.github.com/users/johnzeringue/received_events","type":"User","site_admin":false},"body":"`update` might be better.","created_at":"2015-06-17T04:15:22Z","updated_at":"2015-06-17T04:15:22Z","html_url":"https://github.com/CIRDLES/Topsoil/pull/174#discussion_r32594255","pull_request_url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/comments/32594255"},"html":{"href":"https://github.com/CIRDLES/Topsoil/pull/174#discussion_r32594255"},"pull_request":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174","id":36768184,"html_url":"https://github.com/CIRDLES/Topsoil/pull/174","diff_url":"https://github.com/CIRDLES/Topsoil/pull/174.diff","patch_url":"https://github.com/CIRDLES/Topsoil/pull/174.patch","issue_url":"https://api.github.com/repos/CIRDLES/Topsoil/issues/174","number":174,"state":"open","locked":false,"title":"Save/Delete the datasets","user":{"login":"clementparizot","id":11932395,"avatar_url":"https://avatars.githubusercontent.com/u/11932395?v=3","gravatar_id":"","url":"https://api.github.com/users/clementparizot","html_url":"https://github.com/clementparizot","followers_url":"https://api.github.com/users/clementparizot/followers","following_url":"https://api.github.com/users/clementparizot/following{/other_user}","gists_url":"https://api.github.com/users/clementparizot/gists{/gist_id}","starred_url":"https://api.github.com/users/clementparizot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementparizot/subscriptions","organizations_url":"https://api.github.com/users/clementparizot/orgs","repos_url":"https://api.github.com/users/clementparizot/repos","events_url":"https://api.github.com/users/clementparizot/events{/privacy}","received_events_url":"https://api.github.com/users/clementparizot/received_events","type":"User","site_admin":false},"body":"Fixes issues #169 & #170\r\nAdded a submenu to the datasets with \"open\" and \"delete\"\r\nAdded a getName() method to the datasetManager to properly set the name\r\nAdded a delete() method\r\nAdded a confirmation and warning dialog for the delete","created_at":"2015-06-02T20:04:14Z","updated_at":"2015-06-17T04:15:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3186523de985776207c73a84352e1bf7419bec31","assignee":{"login":"johnzeringue","id":3858785,"avatar_url":"https://avatars.githubusercontent.com/u/3858785?v=3","gravatar_id":"","url":"https://api.github.com/users/johnzeringue","html_url":"https://github.com/johnzeringue","followers_url":"https://api.github.com/users/johnzeringue/followers","following_url":"https://api.github.com/users/johnzeringue/following{/other_user}","gists_url":"https://api.github.com/users/johnzeringue/gists{/gist_id}","starred_url":"https://api.github.com/users/johnzeringue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnzeringue/subscriptions","organizations_url":"https://api.github.com/users/johnzeringue/orgs","repos_url":"https://api.github.com/users/johnzeringue/repos","events_url":"https://api.github.com/users/johnzeringue/events{/privacy}","received_events_url":"https://api.github.com/users/johnzeringue/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CIRDLES/Topsoil/milestones/12","html_url":"https://github.com/CIRDLES/Topsoil/milestones/v1.0.0-alpha.1","labels_url":"https://api.github.com/repos/CIRDLES/Topsoil/milestones/12/labels","id":1140513,"number":12,"title":"v1.0.0-alpha.1","description":"","creator":{"login":"johnzeringue","id":3858785,"avatar_url":"https://avatars.githubusercontent.com/u/3858785?v=3","gravatar_id":"","url":"https://api.github.com/users/johnzeringue","html_url":"https://github.com/johnzeringue","followers_url":"https://api.github.com/users/johnzeringue/followers","following_url":"https://api.github.com/users/johnzeringue/following{/other_user}","gists_url":"https://api.github.com/users/johnzeringue/gists{/gist_id}","starred_url":"https://api.github.com/users/johnzeringue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnzeringue/subscriptions","organizations_url":"https://api.github.com/users/johnzeringue/orgs","repos_url":"https://api.github.com/users/johnzeringue/repos","events_url":"https://api.github.com/users/johnzeringue/events{/privacy}","received_events_url":"https://api.github.com/users/johnzeringue/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":13,"state":"open","created_at":"2015-05-29T18:27:01Z","updated_at":"2015-06-11T23:57:32Z","due_on":"2015-06-05T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174/commits","review_comments_url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174/comments","review_comment_url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CIRDLES/Topsoil/issues/174/comments","statuses_url":"https://api.github.com/repos/CIRDLES/Topsoil/statuses/3fa94dcfc8058c6df4f8cd13da474a12e83409c6","head":{"label":"clementparizot:issue#169","ref":"issue#169","sha":"3fa94dcfc8058c6df4f8cd13da474a12e83409c6","user":{"login":"clementparizot","id":11932395,"avatar_url":"https://avatars.githubusercontent.com/u/11932395?v=3","gravatar_id":"","url":"https://api.github.com/users/clementparizot","html_url":"https://github.com/clementparizot","followers_url":"https://api.github.com/users/clementparizot/followers","following_url":"https://api.github.com/users/clementparizot/following{/other_user}","gists_url":"https://api.github.com/users/clementparizot/gists{/gist_id}","starred_url":"https://api.github.com/users/clementparizot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementparizot/subscriptions","organizations_url":"https://api.github.com/users/clementparizot/orgs","repos_url":"https://api.github.com/users/clementparizot/repos","events_url":"https://api.github.com/users/clementparizot/events{/privacy}","received_events_url":"https://api.github.com/users/clementparizot/received_events","type":"User","site_admin":false},"repo":{"id":34068889,"name":"Topsoil","full_name":"clementparizot/Topsoil","owner":{"login":"clementparizot","id":11932395,"avatar_url":"https://avatars.githubusercontent.com/u/11932395?v=3","gravatar_id":"","url":"https://api.github.com/users/clementparizot","html_url":"https://github.com/clementparizot","followers_url":"https://api.github.com/users/clementparizot/followers","following_url":"https://api.github.com/users/clementparizot/following{/other_user}","gists_url":"https://api.github.com/users/clementparizot/gists{/gist_id}","starred_url":"https://api.github.com/users/clementparizot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clementparizot/subscriptions","organizations_url":"https://api.github.com/users/clementparizot/orgs","repos_url":"https://api.github.com/users/clementparizot/repos","events_url":"https://api.github.com/users/clementparizot/events{/privacy}","received_events_url":"https://api.github.com/users/clementparizot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clementparizot/Topsoil","description":"Community-driven replacement for Isoplot","fork":true,"url":"https://api.github.com/repos/clementparizot/Topsoil","forks_url":"https://api.github.com/repos/clementparizot/Topsoil/forks","keys_url":"https://api.github.com/repos/clementparizot/Topsoil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clementparizot/Topsoil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clementparizot/Topsoil/teams","hooks_url":"https://api.github.com/repos/clementparizot/Topsoil/hooks","issue_events_url":"https://api.github.com/repos/clementparizot/Topsoil/issues/events{/number}","events_url":"https://api.github.com/repos/clementparizot/Topsoil/events","assignees_url":"https://api.github.com/repos/clementparizot/Topsoil/assignees{/user}","branches_url":"https://api.github.com/repos/clementparizot/Topsoil/branches{/branch}","tags_url":"https://api.github.com/repos/clementparizot/Topsoil/tags","blobs_url":"https://api.github.com/repos/clementparizot/Topsoil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clementparizot/Topsoil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clementparizot/Topsoil/git/refs{/sha}","trees_url":"https://api.github.com/repos/clementparizot/Topsoil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clementparizot/Topsoil/statuses/{sha}","languages_url":"https://api.github.com/repos/clementparizot/Topsoil/languages","stargazers_url":"https://api.github.com/repos/clementparizot/Topsoil/stargazers","contributors_url":"https://api.github.com/repos/clementparizot/Topsoil/contributors","subscribers_url":"https://api.github.com/repos/clementparizot/Topsoil/subscribers","subscription_url":"https://api.github.com/repos/clementparizot/Topsoil/subscription","commits_url":"https://api.github.com/repos/clementparizot/Topsoil/commits{/sha}","git_commits_url":"https://api.github.com/repos/clementparizot/Topsoil/git/commits{/sha}","comments_url":"https://api.github.com/repos/clementparizot/Topsoil/comments{/number}","issue_comment_url":"https://api.github.com/repos/clementparizot/Topsoil/issues/comments{/number}","contents_url":"https://api.github.com/repos/clementparizot/Topsoil/contents/{+path}","compare_url":"https://api.github.com/repos/clementparizot/Topsoil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clementparizot/Topsoil/merges","archive_url":"https://api.github.com/repos/clementparizot/Topsoil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clementparizot/Topsoil/downloads","issues_url":"https://api.github.com/repos/clementparizot/Topsoil/issues{/number}","pulls_url":"https://api.github.com/repos/clementparizot/Topsoil/pulls{/number}","milestones_url":"https://api.github.com/repos/clementparizot/Topsoil/milestones{/number}","notifications_url":"https://api.github.com/repos/clementparizot/Topsoil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clementparizot/Topsoil/labels{/name}","releases_url":"https://api.github.com/repos/clementparizot/Topsoil/releases{/id}","created_at":"2015-04-16T17:03:27Z","updated_at":"2015-04-28T15:00:11Z","pushed_at":"2015-06-15T19:07:52Z","git_url":"git://github.com/clementparizot/Topsoil.git","ssh_url":"git@github.com:clementparizot/Topsoil.git","clone_url":"https://github.com/clementparizot/Topsoil.git","svn_url":"https://github.com/clementparizot/Topsoil","homepage":"","size":1543,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CIRDLES:master","ref":"master","sha":"d69f5bc21735943fd702c9af011001b812b95aed","user":{"login":"CIRDLES","id":7398763,"avatar_url":"https://avatars.githubusercontent.com/u/7398763?v=3","gravatar_id":"","url":"https://api.github.com/users/CIRDLES","html_url":"https://github.com/CIRDLES","followers_url":"https://api.github.com/users/CIRDLES/followers","following_url":"https://api.github.com/users/CIRDLES/following{/other_user}","gists_url":"https://api.github.com/users/CIRDLES/gists{/gist_id}","starred_url":"https://api.github.com/users/CIRDLES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIRDLES/subscriptions","organizations_url":"https://api.github.com/users/CIRDLES/orgs","repos_url":"https://api.github.com/users/CIRDLES/repos","events_url":"https://api.github.com/users/CIRDLES/events{/privacy}","received_events_url":"https://api.github.com/users/CIRDLES/received_events","type":"Organization","site_admin":false},"repo":{"id":19469247,"name":"Topsoil","full_name":"CIRDLES/Topsoil","owner":{"login":"CIRDLES","id":7398763,"avatar_url":"https://avatars.githubusercontent.com/u/7398763?v=3","gravatar_id":"","url":"https://api.github.com/users/CIRDLES","html_url":"https://github.com/CIRDLES","followers_url":"https://api.github.com/users/CIRDLES/followers","following_url":"https://api.github.com/users/CIRDLES/following{/other_user}","gists_url":"https://api.github.com/users/CIRDLES/gists{/gist_id}","starred_url":"https://api.github.com/users/CIRDLES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIRDLES/subscriptions","organizations_url":"https://api.github.com/users/CIRDLES/orgs","repos_url":"https://api.github.com/users/CIRDLES/repos","events_url":"https://api.github.com/users/CIRDLES/events{/privacy}","received_events_url":"https://api.github.com/users/CIRDLES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CIRDLES/Topsoil","description":"Community-driven replacement for Isoplot","fork":false,"url":"https://api.github.com/repos/CIRDLES/Topsoil","forks_url":"https://api.github.com/repos/CIRDLES/Topsoil/forks","keys_url":"https://api.github.com/repos/CIRDLES/Topsoil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CIRDLES/Topsoil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CIRDLES/Topsoil/teams","hooks_url":"https://api.github.com/repos/CIRDLES/Topsoil/hooks","issue_events_url":"https://api.github.com/repos/CIRDLES/Topsoil/issues/events{/number}","events_url":"https://api.github.com/repos/CIRDLES/Topsoil/events","assignees_url":"https://api.github.com/repos/CIRDLES/Topsoil/assignees{/user}","branches_url":"https://api.github.com/repos/CIRDLES/Topsoil/branches{/branch}","tags_url":"https://api.github.com/repos/CIRDLES/Topsoil/tags","blobs_url":"https://api.github.com/repos/CIRDLES/Topsoil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CIRDLES/Topsoil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CIRDLES/Topsoil/git/refs{/sha}","trees_url":"https://api.github.com/repos/CIRDLES/Topsoil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CIRDLES/Topsoil/statuses/{sha}","languages_url":"https://api.github.com/repos/CIRDLES/Topsoil/languages","stargazers_url":"https://api.github.com/repos/CIRDLES/Topsoil/stargazers","contributors_url":"https://api.github.com/repos/CIRDLES/Topsoil/contributors","subscribers_url":"https://api.github.com/repos/CIRDLES/Topsoil/subscribers","subscription_url":"https://api.github.com/repos/CIRDLES/Topsoil/subscription","commits_url":"https://api.github.com/repos/CIRDLES/Topsoil/commits{/sha}","git_commits_url":"https://api.github.com/repos/CIRDLES/Topsoil/git/commits{/sha}","comments_url":"https://api.github.com/repos/CIRDLES/Topsoil/comments{/number}","issue_comment_url":"https://api.github.com/repos/CIRDLES/Topsoil/issues/comments{/number}","contents_url":"https://api.github.com/repos/CIRDLES/Topsoil/contents/{+path}","compare_url":"https://api.github.com/repos/CIRDLES/Topsoil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CIRDLES/Topsoil/merges","archive_url":"https://api.github.com/repos/CIRDLES/Topsoil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CIRDLES/Topsoil/downloads","issues_url":"https://api.github.com/repos/CIRDLES/Topsoil/issues{/number}","pulls_url":"https://api.github.com/repos/CIRDLES/Topsoil/pulls{/number}","milestones_url":"https://api.github.com/repos/CIRDLES/Topsoil/milestones{/number}","notifications_url":"https://api.github.com/repos/CIRDLES/Topsoil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CIRDLES/Topsoil/labels{/name}","releases_url":"https://api.github.com/repos/CIRDLES/Topsoil/releases{/id}","created_at":"2014-05-05T19:59:43Z","updated_at":"2015-05-09T02:27:48Z","pushed_at":"2015-06-15T19:07:53Z","git_url":"git://github.com/CIRDLES/Topsoil.git","ssh_url":"git@github.com:CIRDLES/Topsoil.git","clone_url":"https://github.com/CIRDLES/Topsoil.git","svn_url":"https://github.com/CIRDLES/Topsoil","homepage":"","size":2873,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":25,"forks":18,"open_issues":25,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174"},"html":{"href":"https://github.com/CIRDLES/Topsoil/pull/174"},"issue":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/issues/174"},"comments":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/CIRDLES/Topsoil/statuses/3fa94dcfc8058c6df4f8cd13da474a12e83409c6"}}}}