package com.example.cosmosclient; import com.example.cosmosclient.entities.Feature; import com.example.cosmosclient.entities.Group; import com.example.cosmosclient.entities.Request; import com.example.cosmosclient.entities.UserJsonforRequests; import com.example.cosmosclient.services.Notification; import com.example.cosmosclient.services.NotificationDone; import java.util.Date; import java.util.List; public class NotificationDoneTestMain { public static void main(String[] args) { //以下の変数は、変更したいリクエストに合わせて変更する必要があります。 String rid = "a87c2716-0174-40bc-bb41-a1ce8b6009bb"; String rUri = "http://nitta-lab-www.is.konan-u.ac.jp/cosmos/rset/groups/909221c1-c343-405e-8b39-f0dbed60e48b/requests/a87c2716-0174-40bc-bb41-a1ce8b6009bb"; String product = "mimiz"; int location = 20501; String gid = "909221c1-c343-405e-8b39-f0dbed60e48b"; String issuerUid = "d3c73732-1287-4fa4-bb74-c9342be81fde"; NotificationDone notificationDone = new NotificationDone(); // Notification notification = new Notification(new Request(rid, rUri, product, new Date(), new Date(), location, "name", false), new Group(gid, "uri", "name", "uId"), null); Request request = new Request(rid, rUri, product, new Date(), new Date(), location, "name", true); notificationDone.doneRequest(gid, request); } }