removed test

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@69211 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2013-02-13 17:43:21 +00:00
parent b9e0cca41f
commit 7091eaa28c
3 changed files with 12 additions and 11 deletions

View File

@ -1432,17 +1432,17 @@ public class GWTWorkspaceBuilder {
List<InfoContactModel> listContactsModel = new ArrayList<InfoContactModel>(); List<InfoContactModel> listContactsModel = new ArrayList<InfoContactModel>();
for(User user: listUsers){ for(User user: listUsers){
//TODO REMOVE COMMENT
// listContactsModel.add(new InfoContactModel(user.getId(), user.getPortalLogin())); listContactsModel.add(new InfoContactModel(user.getId(), user.getPortalLogin(), user.getPortalLogin()));
} }
//THIS IS A TEST // //THIS IS A TEST
listContactsModel.add(new InfoContactModel("Federico.Test", "Federico.Test", "Federico de Faveri")); // listContactsModel.add(new InfoContactModel("Federico.Test", "Federico.Test", "Federico de Faveri"));
listContactsModel.add(new InfoContactModel("Antonio.Test", "Antonio.Test", "Antonio Gioia")); // listContactsModel.add(new InfoContactModel("Antonio.Test", "Antonio.Test", "Antonio Gioia"));
listContactsModel.add(new InfoContactModel("Fabio.Test", "Fabio.Test", "Fabio Sinibaldi")); // listContactsModel.add(new InfoContactModel("Fabio.Test", "Fabio.Test", "Fabio Sinibaldi"));
listContactsModel.add(new InfoContactModel(Util.TEST_USER, Util.TEST_USER, Util.TEST_USER)); // listContactsModel.add(new InfoContactModel(Util.TEST_USER, Util.TEST_USER, Util.TEST_USER));
listContactsModel.add(new InfoContactModel("massimiliano.assante", "massimiliano.assante", "Massimiliano Assante")); // listContactsModel.add(new InfoContactModel("massimiliano.assante", "massimiliano.assante", "Massimiliano Assante"));
return listContactsModel; return listContactsModel;
} }

View File

@ -1399,8 +1399,8 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
List<InfoContactModel> contacts = getListUserSharedByFolderSharedId(folderSharedId); List<InfoContactModel> contacts = getListUserSharedByFolderSharedId(folderSharedId);
// //TODO REMOVE THIS // //TODO REMOVE THIS
contacts = new ArrayList<InfoContactModel>(); // contacts = new ArrayList<InfoContactModel>();
contacts.add(new InfoContactModel("francesco.mangiacrapa", "francesco.mangiacrapa", "Francesco Mangiacrapa")); // contacts.add(new InfoContactModel("francesco.mangiacrapa", "francesco.mangiacrapa", "Francesco Mangiacrapa"));
np.notifyFolderUnSharing(contacts, wsFolder); np.notifyFolderUnSharing(contacts, wsFolder);

View File

@ -48,6 +48,7 @@ public class Util {
public static GCUBEClientLog defaultLogger = new GCUBEClientLog("WorkspacePortlet"); public static GCUBEClientLog defaultLogger = new GCUBEClientLog("WorkspacePortlet");
public static ASLSession getAslSession(HttpSession httpSession) public static ASLSession getAslSession(HttpSession httpSession)
{ {
String sessionID = httpSession.getId(); String sessionID = httpSession.getId();