package com.example.cosmos_serversb.models; import java.util.*; import javax.inject.Singleton; import com.example.cosmos_serversb.entities.*; @Singleton public class Groups { private static Groups thaInstance = null; private ArrayList<Group> accounts = new ArrayList<>(); private Groups(){ } public static Groups getInstance(){ if(thaInstance == null){ thaInstance = new Groups(); } return thaInstance; } public HashMap<String, String> getGroupsListByUid(String uId){ return null; } public Group createGroup(String name, String uId){ return null; } public Group getGroupByGid(String gId){ return null; } public DeleteResult deleteGroup(String gId){ return null; } public HashMap<String, String> getMembersListByGid(String gId){ return null; } public HashMap<String, String> addMember(String gId, String uId){ return null; } public HashMap<String, String> deleteMember(String gId){ return null; } public HashMap<String, String> getRequestsListByGid(String gId){ return null; } public Request addRequests(String gId, String uId, String product, String deadline, int location){ return null; } public Request getRequestDetailByGidAndRid(String gId, String rId){ return null; } public Request updateRequest(String gId, String rId, String uId, String product, String deadline, int location, boolean done){ return null; } public DeleteResult deleteRequest(String gId, String rId){ return null; } }