diff --git a/src/main/java/com/example/cosmos_serversb/entities/Group.java b/src/main/java/com/example/cosmos_serversb/entities/Group.java index 7b2c965..707a8f8 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Group.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Group.java @@ -5,6 +5,12 @@ import java.util.ArrayList; import com.example.cosmos_serversb.entities.*; +//後で岸本君が作ってくれるやつへ移行 +enum DeleteResult { + SUCCESS, + FAILURE +} + public class Group { private String gId, uri, name; //private ArrayList members; @@ -50,20 +56,19 @@ // members.add(uid); //} - //delete member + //public DeleteResult deleteMember(String uid){ + // members.remove(members.indexOf(uid)); + // return null; + //} //public void addRequest(Request request){ // requests.add(request); //} - //delete request - - - - - - - + //public DeleteResult deleteMember(Request request){ + // members.remove(requests.indexOf(request)); + // return null; + //} }